Closed angel-tnc closed 1 year ago
✅ Linked to Task TNT-181 · Disable Universal Analytics Custom Integrations and replace with basic GA4 integration on TinyCMS
➡️ Part of Epic TNT-15 · Move to GA4
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
staging-tiny-news-sites | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 14, 2023 4:46pm |
Why
We need to enable GA4 integration to ensure continuity because Universal Analytics data collection is about to be disabled. This PR addresses TNT-181
What
This follow-up to #1334 that cleans-up the code and enables data collection using all current member's GA4 measurement ids.
How to verify
Once this is merged and deployed to staging, the staging site accessed at https://next-tinynewsdemo.tinynewsco.dev/ will be wired for Google Analytics 4.
The measurement ID dashboard this code is sending data to is located at https://analytics.google.com/analytics/web/#/p377884938/reports/intelligenthome
In order to test, you should be able to see the traffic you have just generated being sent there, the best way to see it is the Realtime View at https://analytics.google.com/analytics/web/#/p377884938/realtime/overview
You can also see the traffic in the browser by looking under the Network tab on developer tools. GA4 page view endpoint looks like
collect?
, similar to the UA one.