Skip to content

Commit 5a393e1

Browse files
authored
Add google analytics to homepage
1 parent 5b5d9eb commit 5a393e1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

_includes/head.html

+10-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,13 @@
1313
<link href="/css/plugins/plugins.css" rel="stylesheet">
1414
<link href="/css/style.css" rel="stylesheet">
1515

16-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
16+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
17+
<!-- Global site tag (gtag.js) - Google Analytics -->
18+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-160688113-2"></script>
19+
<script>
20+
window.dataLayer = window.dataLayer || [];
21+
function gtag(){dataLayer.push(arguments);}
22+
gtag('js', new Date());
23+
24+
gtag('config', 'UA-160688113-2', { 'anonymize_ip': true });
25+
</script>

0 commit comments

Comments
 (0)