GTM ID format change?
-
Hi there,
I’m trying to set up the gtm4wp plugin with a newly created GTM ID but this ID has the format G-XXXXXXXXXX instead of GTM-XXXXX. Hence the plugin doesn’t support the G-XXXXXXXXXX format. Did the format change or did I set up GTM incorrectly?
GTM suggests to embed with the following snippet:
<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XXXXXXXXXX'); </script>Thanks a lot in advance!
Tobi
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘GTM ID format change?’ is closed to new replies.