Google Ads Code incompatibility?
-
I have this code that integrates Google Ads and Google analytics in the same snippet:
<!-- Global site tag (gtag.js) - Google Ads: 693771414 --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-693771414"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-145665125-1'); gtag('config', 'AW-693771414'); </script>
As you can see I have
gtag('config', 'UA-145665125-1');
which connects Google analytics, not sure if I should remove that or is this whole code compatible with this plugin? should I remove it? but I need it for Google ads tracking!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Google Ads Code incompatibility?’ is closed to new replies.