Skip to content

Commit 34c152e

Browse files
Analitics
1 parent 0fb2601 commit 34c152e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

_includes/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-NS9JFVVY3Z"></script>
3+
<script>
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
8+
gtag('config', 'G-NS9JFVVY3Z');
9+
</script>

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
{% include head.html %}
5-
5+
{% include analytics.html %}
66
<body>
77
<div id="wrap">
88

0 commit comments

Comments
 (0)