Google Analytics: deprecate feature #36920
Labels
Epic
Formerly "Primary Issue", or "Master Issue"
[Feature] Google Analytics
[Focus] Jetstream
[Pri] Normal
[Type] Janitorial
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:
It was introduced in #5603
Current features
The feature currently lives here, and is used on WordPress.com and self-hosted:
jetpack/projects/plugins/jetpack/modules/google-analytics.php
Line 1 in 6438a55
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:
Jetpack_Google_Analytics_Universal
. This class includes extra tracking code added to shopping events / pages.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:
The text was updated successfully, but these errors were encountered: