-
Integrating Google Tag(gtag) and Google Tag Manager
Hey, I have a GA4 system running on gtag on my website, and I want to add GTM as well. So, I was curious if it’s possible to use the same endpoint from GA4 (
https://www.googletagmanager.com/gtag/js?id=
), with the GTM tag replacing where ‘id’ is, plus GA4 and GTM again withconfig
.I dug around the docs and found this code
<script async src="https://www.googletagmanager.com/gtag/js?id=TAG_ID"></script>
, but there wasn’t anything that specifically explained how to use Google Tag alongside Google Tag Manager. Most of it was about navigating the GTM interface.I also found that GTM seems to support googletag, but the endpoint for that is
https://www.googletagmanager.com/gtm.js?
. Can you help me with this?
Log in to reply.