Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google analytics 4: opt-out of forced migration for already-migrated projects #170

Closed
Tracked by #166
chalin opened this issue Feb 15, 2023 · 1 comment
Closed
Tracked by #166
Assignees

Comments

@chalin
Copy link
Collaborator

chalin commented Feb 15, 2023

The top 15 CNCF projects have been migrated to GA4:

But recently, Google has decided that they'll force migrate projects (emphasis mine):

On July 1, 2023, this property will stop processing data. Starting in March 2023, for continued website measurement, you should create a new Google Analytics 4 (GA4) property, or one will be created for you based on your original property and reusing existing site tags.

Their Learn more link opens on the following page: [UA→GA4] About automatically created Google Analytics 4 properties.

Why is this a problem? Because we've migrated many projects already, and in many situations (for technical reasons given in the note below), Google can't detect that we've done so. If Google is allowed to proceed, then we'll end up with duplicate GA4 accounts, which we don't want.

Google will be able to detect that we've created a GA4 site tag if we've connected it to the UA site tag. But in many cases, because the UA and GA4 site tags are not part of the same org, we can't connect them, so Google doesn't know about projects that we've migrated in such cases.

Even if we were able to connect the UA to the GA4 site tags of a migrated CNCF project, Google says that it may still force the migration of selected UA settings. But GA4 is very different from UA. E.g., a lot of manual event creation and configuration used to be required for UA, but with GA4, it comes "for free".

So, we'll need to make a pass over the 60+ migrated sites and opt out of the force migration. @chalin will be leading this, and handling UA accounts to which he has access and the rest of the tech docs team doesn't (rather than going through another cycle of requesting permissions for an account that will be going away soon).


It might be worth asking whether it was worth migrating CNCF projects to GA4 manually if Google isn't going to force migration. IMHO, Google's forced migration is a stop-gap measure, probably because few UA accounts have been migrated. But, as I mentioned above, GA4 is very different from UA. A lot of manual event creation and configuration used to be required for UA, but with GA4, it comes "for free".

More importantly, GA4 organizations call for a different setup than UA organizations. For example, GA4 has a fine-grained notion of a data stream. A property can have multiple data streams, allowing support for, e.g., cross-site tracking, which helps provide more accurate analytics data.

The best approach is to assess the needs of any given project and manually setting up a GA4 org based on the project's particularities. (The best analogy I can think of is the following: suppose you had a program written in C and someone offered to automatically migrate it to C++. In doing so you'd probably end up with C encoded in C++. It would be better to "start from scratch", from an OO pov, in migrating your program to C++.)

@chalin
Copy link
Collaborator Author

chalin commented Mar 1, 2023

Status update: all done but the following projects have been "opted-out"!

I'm going to close this now since Envoy.io is being tracked separately. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant