I currently have an implementation of GA4 using gtag in my website and I would like to add GTM too. I was wondering if I can use the same endpoint from GA4 (https://www.googletagmanager.com/gtag/js?id=
) and insert the GTM tag where id is and GA4 and GTM again with config
.
I found this for the documentation
<script async src="https://www.googletagmanager.com/gtag/js?id=TAG_ID"></script>
but nothing that specifically talks about using Google Tag with Google Tag Manager. Almost all of it is about using the GTM interface.
I found that GTM supports googletag but the endpoint uses https://www.googletagmanager.com/gtm.js?