Skip to content

Commit

Permalink
feat(amsf): vanity Google Analytics code
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Nov 28, 2016
1 parent 0594582 commit 8cb6e54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _app/_includes/_amsf.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@
{% capture amsf_google_analytics %}
{% if site.google_analytics.enabled %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
(function(a,m,s,f,j,k,l){a['GoogleAnalyticsObject']=j;a[j]=a[j]||function(){
(a[j].q=a[j].q||[]).push(arguments)},a[j].l=1*new Date();k=m.createElement(s),
l=m.getElementsByTagName(s)[0];k.async=1;k.src=f;l.parentNode.insertBefore(k,l)
})(window,document,'script','{{ site.google_analytics.url }}','ga');

ga('create', '{{ site.google_analytics.id }}', 'auto');
Expand Down

0 comments on commit 8cb6e54

Please sign in to comment.