Skip to content

Instantly share code, notes, and snippets.

@danielpotthast
Last active March 18, 2019 09:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save danielpotthast/53380cfdd4c5be750fdafe8237755a47 to your computer and use it in GitHub Desktop.
<!-- 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-ID1234');</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment