Skip to content

Commit b9b6d60

Browse files
committed
moved to google analytics 4
1 parent b971ddf commit b9b6d60

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

_layouts/default.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121
ga('create', 'UA-240922-3', 'auto');
2222
ga('send', 'pageview');
2323
</script>
24+
<!-- Global site tag (gtag.js) - Google Analytics -->
25+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WPFKHJQDQW"></script>
26+
<script>
27+
window.dataLayer = window.dataLayer || [];
28+
function gtag(){dataLayer.push(arguments);}
29+
gtag('js', new Date());
30+
31+
gtag('config', 'G-WPFKHJQDQW');
32+
</script>
33+
2434
{% if page.generateToC %}
2535
<script>
2636
var generateToC = function() {

0 commit comments

Comments
 (0)