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: deprecate feature #36920

Open
17 of 19 tasks
jeherve opened this issue Apr 16, 2024 · 0 comments
Open
17 of 19 tasks

Google Analytics: deprecate feature #36920

jeherve opened this issue Apr 16, 2024 · 0 comments

Comments

@jeherve
Copy link
Member

jeherve commented Apr 16, 2024

Let's talk about the Google Analytics feature and its future in the Jetpack plugin and in the mu-wpcom plugin.

Now

History

Set up Google Analytics without touching a line of code.

This happens via Calypso Blue only:

image

It was introduced in #5603

Current features

The feature currently lives here, and is used on WordPress.com and self-hosted:

On WordPress.com Simple, the feature is loaded differently and gated to starter plans and above:
fbhepr%2Skers%2Sjcpbz%2Sjc%2Qpbagrag%2Szh%2Qcyhtvaf%2Snanylgvpf.cuc%3Se%3Qro76o7oo-og

The feature is not enabled by default on self-hosted sites.

We ship 2 different versions of Google Analytics:

  • For folks using WooCommerce and having toggled an option in Calypso Blue, we load Jetpack_Google_Analytics_Universal. This class includes extra tracking code added to shopping events / pages.
  • For most folks, we load Jetpack_Google_Analytics_Legacy.

In the future

I do not think any of those features belong in the Jetpack plugin at this time. At a time it made sense to ship those features in Jetpack because Jetpack was a good delivery mechanism for both WordPress.com simple and WoA sites. We now have the mu-wpcom plugin for that.

With that in mind, we could aim to do the following:

Tasks


Internal references:

  • Discussion: p1HpG7-rZc-p2
  • PT: pfwV0U-4g-p2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants