django-google-analytics icon indicating copy to clipboard operation
django-google-analytics copied to clipboard

doesn't work with google analytics 4

Open robertsmd opened this issue 4 years ago • 5 comments

Google analytics tracking IDs of the format G-XXXXXXXXXX don't work

robertsmd avatar Nov 29 '20 03:11 robertsmd

@robertsmd I was curious about this too — any specific errors you're seeing with this or it's just not sending any data to your GA 4 dashboard?

mdublin avatar Dec 03 '20 21:12 mdublin

Correct. No errors, just no views/data showing.

El dic. 3, 2020, a la(s) 16:44, mdublin [email protected] escribió:

 I was curious about this too — any specific errors you're seeing with this or it's just not sending any data to your GA 4 dashboard?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

robertsmd avatar Dec 03 '20 22:12 robertsmd

This library uses Google's Measurement Protocol API. Support for GA 4 on that API is still in Alpha https://developers.google.com/analytics/devguides/collection/protocol/ga4/sending-events We'll update the library when the API support is more stable. In the mean time you can follow the steps at the bottom this page to find/create a Universal Analytics tracking ID for your account and use that https://support.google.com/analytics/answer/9539598?hl=en

KaitCrawford avatar Dec 14 '20 12:12 KaitCrawford

Any plans about supporting GA4, now that the end of life for Universal Analytics has been communicated?

alpae avatar May 18 '22 08:05 alpae

GA4 is out of Alpha, but still in Beta. They do claim that they don't expect Alpha to have any breaking changes, so I think that's a positive sign that anything we develop now won't break (or won't break too badly).

We'll have to find a way to support both concurrently until the actual switchover on 1 July 2023

rudigiesler avatar May 18 '22 08:05 rudigiesler