Advertisement
thaidt

GGT Doceye.vn

Apr 18th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. Dán mã này trong <head> của trang ở vị trí cao nhất có thể:
  2.  
  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-T369SSB');</script>
  10. <!-- End Google Tag Manager -->
  11.  
  12. Ngoài ra, hãy dán mã này ngay sau thẻ mở <body>:
  13.  
  14. <!-- Google Tag Manager (noscript) -->
  15. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T369SSB"
  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