Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. Install Google Tag Manager
  2. Copy the code below and paste it onto every page of your website.
  3. Paste this code as high in the <head> of the page as possible:
  4.  
  5. <!-- Google Tag Manager -->
  6. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  7. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  8. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  9. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  10. })(window,document,'script','dataLayer','GTM-TM48ZNX');</script>
  11. <!-- End Google Tag Manager -->
  12.  
  13. Additionally, paste this code immediately after the opening <body> tag:
  14.  
  15. <!-- Google Tag Manager (noscript) -->
  16. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TM48ZNX"
  17. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  18. <!-- End Google Tag Manager (noscript) -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement