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

Use the gtag.js analytics library by default #1177

Closed
Tracked by #1096
chalin opened this issue Aug 17, 2022 · 2 comments · Fixed by #1178 or #1252
Closed
Tracked by #1096

Use the gtag.js analytics library by default #1177

chalin opened this issue Aug 17, 2022 · 2 comments · Fixed by #1178 or #1252

Comments

@chalin
Copy link
Collaborator

chalin commented Aug 17, 2022

Universal Analytics (UA) is officially deprecated:

  • Data collection will stop on July 1st, 2023
  • Six months after that, historical data will be gone too

The sooner projects migrate to Google Analytics 4 (GA4), the better.

As a first step in supporting projects' migration from UA to GA4, Docsy should, by default, use the gtag.js analytics library -- the only library supported by GA4 -- for all site tags.

This is a proposed concrete step in support of:

@geriom
Copy link
Collaborator

geriom commented Aug 31, 2022

PR reverted after seeing some errors. #1212

I'll take a closer look and try to figure out what went wrong.

@geriom geriom reopened this Aug 31, 2022
@chalin
Copy link
Collaborator Author

chalin commented Sep 26, 2022

In #1178 (comment), @geriom wrote:

Turns out this was not the issue, it was circumstantial evidence. I noticed the problem immediately after merging this but this did not introduce that problem. Sorry @chalin

Feel free re-submit this PR.

Ok, will do as soon as I can.

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