Skip to content

Commit

Permalink
Merge pull request #14 from terra-money/GTM
Browse files Browse the repository at this point in the history
replaced Google analytics script with Google Tab Manager
  • Loading branch information
JoshuaBrigati authored Mar 22, 2024
2 parents 8428b69 + 7f7c85d commit 5af0d60
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -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" />
Expand All @@ -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>
<!--
Expand Down

0 comments on commit 5af0d60

Please sign in to comment.