Skip to content

Remove Google Analytics and Gauges - #2748

Open
simon04 wants to merge 1 commit into
mainfrom
remove-analytics
Open

simon04 wants to merge 1 commit into
mainfrom
remove-analytics

Conversation

@simon04

@simon04 simon04 commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

The Google Analytics property is a Universal Analytics one (UA-), a
kind Google has stopped processing data for. Drop both trackers, the
consent notice and setting, and the hosts from the CSP.

Users who had consented may still carry the vendors' cookies, so the
settings migration now expires them, also for the whole domain, where
Google Analytics usually sets _ga. The retired consent cookies are
expired rather than taken in as settings.

The Google Analytics property is a Universal Analytics one (UA-), a
kind Google has stopped processing data for. Drop both trackers, the
consent notice and setting, and the hosts from the CSP.

Users who had consented may still carry the vendors' cookies, so the
settings migration now expires them, also for the whole domain, where
Google Analytics usually sets _ga. The retired consent cookies are
expired rather than taken in as settings.
@simon04
simon04 requested a review from a team as a code owner October 4, 2026 14:41
@ahmaxed

ahmaxed commented Oct 5, 2026

Copy link
Copy Markdown
Member

Thanks for looking into this. The current Universal Analytics implementation is obsolete, but we do have an existing GA4 property for DevDocs.

Rather than removing analytics entirely, could you update the implementation to GA4 while preserving the existing consent behavior?

I’d prefer this PR to migrate the old analytics.js / ga(...) implementation to GA4 rather than remove tracking completely.

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

Successfully merging this pull request may close these issues.

2 participants