mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-15 10:14:36 +00:00
feat: add google tag manager
This commit is contained in:
1 parent
052209429a
commit
02d8a1e43c
2 files changed
+11
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
<!-- Google Tag Manager (noscript) -->
|
||||||
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MCTV2KJL"
|
||||||
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
|
<!-- End Google Tag Manager (noscript) -->
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<!-- 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-MCTV2KJL');</script>
|
||||||
|
<!-- End Google Tag Manager -->
|
||||||
Reference in new issue
Block a user