You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incorporate Google Tag Manager into live site to set up Google Analytics
Script
head
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:‘gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=‘dataLayer’?‘&l=‘+l:‘’;j.async=true;j.src=
’https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,‘script’,‘dataLayer’,‘GTM-PS74HS2’);</script>
<!-- End Google Tag Manager -->
body
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=“https://www.googletagmanager.com/ns.html?id=GTM-PS74HS2”
height=“0" width=“0” style=“display:none;visibility:hidden”></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
The text was updated successfully, but these errors were encountered:
@entrotechI did a little quick research, you probably already know React will make it a little less straightforward to add the GTM snippet. This medium article seemed on target to me.forgot we are talking about the legacy, non-React app
Overview
Incorporate Google Tag Manager into live site to set up Google Analytics
Script
head
body
The text was updated successfully, but these errors were encountered: