Advertisement
Guest User

Untitled

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