mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Added google analytics tag
This commit is contained in:
8
_includes/elements/analytics.html
Normal file
8
_includes/elements/analytics.html
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WQ8Q1JV8E8"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'G-WQ8Q1JV8E8');
|
||||||
|
</script>
|
||||||
@@ -42,6 +42,8 @@ layout: compress
|
|||||||
|
|
||||||
<script src="{{ site.baseurl }}/assets/site.js"></script>
|
<script src="{{ site.baseurl }}/assets/site.js"></script>
|
||||||
<link rel="icon" href="{{ site.baseurl }}/favicon.png">
|
<link rel="icon" href="{{ site.baseurl }}/favicon.png">
|
||||||
|
|
||||||
|
{% include elements/analytics.html %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user