Skip to content

Comments

Fix/update analytics to gtag#96

Closed
Aaradhya-07 wants to merge 2 commits intom-lab:mainfrom
Aaradhya-07:fix/update-analytics-to-gtag
Closed

Fix/update analytics to gtag#96
Aaradhya-07 wants to merge 2 commits intom-lab:mainfrom
Aaradhya-07:fix/update-analytics-to-gtag

Conversation

@Aaradhya-07
Copy link
Contributor

summary

The main index.html uses the modern Google tag (gtag.js) with measurement ID G-WV41BWS391, but all 11 language-specific pages (az, de, el, es, fa, fr, hi, id, nl, ru, zh) still use the deprecated Universal Analytics (analytics.js with UA-56251309-2).

Universal Analytics stopped processing data in July 2023, so analytics on non-English pages have been silently broken since then.

Why this change

Ensures analytics work consistently across all language versions of the site and removes dependency on a deprecated Google service.

@robertodauria
Copy link
Contributor

Thanks for the contribution. Closing this as #83 already addresses it. We aim to merge #83 next week, which will give contributors a stable, modern base to work from. We'd encourage you to review it and open any future PRs on top of that.

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