From 7f7c85d3da4fa2f45f7a800d9d954aeb97574847 Mon Sep 17 00:00:00 2001 From: Joshua <joshua.brigati@gmail.com> Date: Fri, 22 Mar 2024 09:16:06 -0500 Subject: [PATCH] replaced Google analytics script with Google Tab Manager --- public/index.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/public/index.html b/public/index.html index addc884..d04446b 100644 --- a/public/index.html +++ b/public/index.html @@ -1,6 +1,12 @@ <!DOCTYPE html> <html lang="en"> <head> + <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-5VWMZWL6');</script> + <meta charset="utf-8" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> @@ -24,17 +30,10 @@ Learn how to configure a non-root public URL by running `npm run build`. --> <title>Alliance</title> - - <script async src="https://www.googletagmanager.com/gtag/js?id=G-V4399LZGPP"></script> - <script> - window.dataLayer = window.dataLayer || []; - function gtag(){dataLayer.push(arguments);} - gtag('js', new Date()); - - gtag('config', 'G-V4399LZGPP'); - </script> </head> <body> + <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5VWMZWL6" + height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <noscript>You need to enable JavaScript to run this app.</noscript> <div id="root"></div> <!--