Skip to content

Commit bb25644

Browse files
author
SPRINX0\prochazka
committed
GA
1 parent 96ecb23 commit bb25644

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

layouts/partials/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
1111
{{ partialCached "head/css.html" . }}
1212
{{ partialCached "head/js.html" . }}
13+
{{ partialCached "head/analytics.html" . }}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- Google tag (gtag.js) -->
2+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RN8E36P6MZ"></script>
3+
<script>
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
8+
gtag('config', 'G-RN8E36P6MZ');
9+
</script>

0 commit comments

Comments
 (0)