Skip to content

Commit

Permalink
add proper GTM tag
Browse files Browse the repository at this point in the history
  • Loading branch information
thostetler committed Feb 1, 2024
1 parent 82c6211 commit 06d451e
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,21 @@
</style>
</noscript>
<script src="https://www.google.com/recaptcha/api.js?render=6LcpTuUnAAAAAD6YCBdr_2-0b1AH8N6nXkYEG5G5"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X07MS2584V"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}

gtag('js', new Date());

gtag('config', 'G-X07MS2584V');
</script>
<!-- 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-NT2453N');</script>
<!-- End Google Tag Manager -->
</head>

<body>
Expand All @@ -90,8 +92,11 @@
>
</p>
</div>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NT2453N"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>


<!--items for announcement of new page, and optional skip to main content link go here (inserted by master.js)-->

<div id="app-container">
Expand Down Expand Up @@ -153,7 +158,7 @@ <h3 id="basic-html-message">
var progressBar = document.getElementById('loading-screen-progress');
var message = document.getElementById('loading-screen-message');
var progressInner = document.querySelector(
'#loading-screen-progress>span'
'#loading-screen-progress>span',
);
var progressValue = 0;

Expand Down

0 comments on commit 06d451e

Please sign in to comment.