GA4 on AMP (Google Analytics 4)
-
Will GA4 work on AMP with gtag?
So add another type = gtag and then:
{
“vars”: {
“gtag_id”: “G-[your id]”,
“config”: {
“G-[your id]”: { “groups”: “default” }
}
},
“extraUrlParams”: {
“cd1”: “{author_name}”,
“cd2”: “{category}”,
“cd3”: “{published_at}”,
“cd5”: “{tags}”,
“cd6”: “amperage”
},
“triggers”: {
“trackPageview”: {
“on”: “visible”,
“request”: “pageview”
}
}
}
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘GA4 on AMP (Google Analytics 4)’ is closed to new replies.