Skip to content

Commit c0ca0f3

Browse files
authored
add google analytics
1 parent 366d78f commit c0ca0f3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

themes/thingweb/layouts/partials/head.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
<head>
2+
<!-- Google tag (gtag.js) -->
3+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FTBPVB8Z65"></script>
4+
<script>
5+
window.dataLayer = window.dataLayer || [];
6+
function gtag(){dataLayer.push(arguments);}
7+
gtag('js', new Date());
8+
9+
gtag('config', 'G-FTBPVB8Z65');
10+
</script>
211
<meta charset="utf-8" />
312
<!--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">-->
413

@@ -27,4 +36,4 @@
2736
<!-- Google Site Verification -->
2837
<meta name="google-site-verification" content="086kyR2UJR794fn8Z97o9QMEJLOqCoVhPIqxYtZBSA4" />
2938

30-
</head>
39+
</head>

0 commit comments

Comments
 (0)