Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Вставьте этот код как можно выше в <head> страницы:
  2.  
  3. <!-- Google Tag Manager -->
  4. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  5. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  6. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  7. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  8. })(window,document,'script','dataLayer','GTM-W4GBH3');</script>
  9. <!-- End Google Tag Manager -->
  10.  
  11. Вставьте этот код сразу после открытия тега <body>:
  12.  
  13. <!-- Google Tag Manager (noscript) -->
  14. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W4GBH3"
  15. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  16. <!-- End Google Tag Manager (noscript) -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement