Skip to content

Commit

Permalink
upgrade google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
mrosack committed Jun 3, 2023
1 parent 9e8faba commit 4f2e112
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,15 @@ <h1 style="position: fixed; width: 100%; text-align: center; top: 45%; margin: 0
</pydt-app>
<noscript>Please enable JavaScript to continue using this application.</noscript>
</body>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HQV970K9QR"></script>
<script>
(function (i, s, o, g, r, a, m) {
i["GoogleAnalyticsObject"] = r;
(i[r] =
i[r] ||
function () {
(i[r].q = i[r].q || []).push(arguments);
}),
(i[r].l = 1 * new Date());
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
})(window, document, "script", "https://www.google-analytics.com/analytics.js", "ga");
ga("create", "UA-88598537-1", "auto");
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-HQV970K9QR");
</script>
</html>

0 comments on commit 4f2e112

Please sign in to comment.