Skip to content

Commit

Permalink
add ga4 tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
trouze committed Aug 18, 2023
1 parent 911d243 commit 4726faa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
9 changes: 0 additions & 9 deletions content/post/bye-john.md

This file was deleted.

11 changes: 10 additions & 1 deletion layouts/partials/head/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,13 @@
{{ $style := resources.Get "sass/main.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ partial "head/custom.html" . }}
</head>
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RXL6BE795W"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-RXL6BE795W');
</script>

0 comments on commit 4726faa

Please sign in to comment.