-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I am very clueless on how to get the page id setup, I see from documentation it has to be around &_p but do not how to use it. can you please help?
the default snippet of "vars" works. Just that I want to track the % page views completed.
<amp-analytics type="gtag" data-credentials="include">
<script type="application/json">
{
"vars": {
"GA4_MEASUREMENT_ID": "G-XXXX",
"GA4_ENDPOINT_HOSTNAME": "www.google-analytics.com",
"DEFAULT_PAGEVIEW_ENABLED": true,
"GOOGLE_CONSENT_ENABLED": false,
"WEBVITALS_TRACKING": false,
"PERFORMANCE_TIMING_TRACKING": false,
"SEND_DOUBLECLICK_BEACON": false
}
</script>
Also GA4 and AMP is a mess, thanks a lot for this work man :)
Metadata
Metadata
Assignees
Labels
No labels