Skip to content

Commit

Permalink
Updated gtag to GA4 version (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwngr authored Jul 12, 2024
1 parent 4b781da commit 4be95e1
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,16 @@
<meta name="twitter:image:src" content="https://sixdegreesofwikipedia.com/sdowSquareLogo.png" />
<meta name="twitter:image:alt" content="Six Degrees of Wikipedia Logo" />

<!-- Google Analytics -->
<!-- Firebase / Google Analytics. -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GB2H4X9YPX"></script>
<script>
window.ga =
window.ga ||
function () {
(ga.q = ga.q || []).push(arguments);
};
ga.l = +new Date();
ga('create', 'UA-114715999-1', 'auto');
ga('send', 'pageview');
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-GB2H4X9YPX');
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
</head>

<body>
Expand Down

0 comments on commit 4be95e1

Please sign in to comment.