Add Google Analytics Script

This commit is contained in:
Dominik Prodinger 2018-10-03 09:27:20 +02:00 committed by GitHub
parent bf99797d33
commit 4eac3f45c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

6
_includes/analytics.html Normal file
View File

@ -0,0 +1,6 @@
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>