-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
feat: google anaytics 4 and matomo for OFF #6712
Conversation
Kudos, SonarCloud Quality Gate passed! |
@@ -357,14 +357,35 @@ $page_size = 24; | |||
|
|||
$google_analytics = <<HTML | |||
<!-- Global site tag (gtag.js) - Google Analytics --> | |||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-31851927-1"></script> | |||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HQX9SYHB2P&aip=1"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not possible to keep the same id so that we have continuous stats?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is a requirement of GA4
Moreover GA4 drastically decrease retention period to 2 monthes (but we could set 4 monthes) (@teolemon you are aware of it right ?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ok, well if it retains data for only a few months anyway, then this point becomes moot.
but that means that we can't even have very aggregated metrics across years? e.g. getting a graph with monthly users and page views over a period of several years?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems it's only for exploration: if you want to slice and dice data accross users: https://support.google.com/analytics/answer/7667196?hl=fr
But the summary metrics are kept.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, anyway there's no choice, so let's go for it
Checklist