google / site-kit-wp

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
https://sitekit.withgoogle.com
Apache License 2.0
1.25k stars 291 forks source link

Remove `adsenseSetupV2` feature flag and phase out old code #4765

Closed felixarntz closed 10 months ago

felixarntz commented 2 years ago

This issue is about removing the adsenseSetupV2 feature flag at some point, later in the future once the module has been launched and rolled out to 100% of sites. This will also allow us to delete a bunch of then unused code.

This is related to the #4447 epic, but does not belong to it, since this issue can only be worked some time after launch.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Replace old V1 files with V2 files

Datastore and util functions

Test Coverage

QA Brief

Changelog entry

felixarntz commented 2 years ago

@eclarke1 @FlicHollis Just to clarify here, while this already has ACs and relates to the AdSense setup improvements epic, it should not be worked on at this point - this issue for some time after launch.

aaemnnosttv commented 1 year ago

@felixarntz I think this one can be resumed now that we've been rolled out to 100% for some time now?

felixarntz commented 1 year ago

@aaemnnosttv Yeah, was thinking about that the other day, didn't remember we already had an issue :)

aaemnnosttv commented 1 year ago

@bethanylang Let's revisit this once #5628 is done.

kuasha420 commented 1 year ago

@aaemnnosttv We can pick this one back up now. However, we need to keep some of the V1 constants and things since those are used for the migration. Cheers.

eugene-manuilov commented 12 months ago

IB ✔️

mohitwp commented 11 months ago

QA Update ✅

aaemnnosttv commented 10 months ago

Approval

There is still a reference to v2 in the AdSense component stories. This was referenced in the IB but not part of the AC. We can clean this up in a follow-up issue.

image