From b0d42c01c3462527fef77c598cd9ef3623131923 Mon Sep 17 00:00:00 2001 From: onursenture <woof.uyelik@gmail.com> Date: Thu, 17 Oct 2019 11:04:33 +0300 Subject: [PATCH] Add Google Tag Manager script --- public/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index f0704bd0ed..89b368172d 100644 --- a/public/index.html +++ b/public/index.html @@ -22,6 +22,7 @@ </script> <script async src="https://www.google-analytics.com/analytics.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/autotrack/2.4.1/autotrack.js"></script> + <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-P2KMD7W');</script> </head> <body> @@ -58,5 +59,5 @@ </div> </noscript> </body> - +<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P2KMD7W"height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> </html> \ No newline at end of file