Skip to content

Commit

Permalink
Add GA script
Browse files Browse the repository at this point in the history
  • Loading branch information
bernacodesido committed Oct 7, 2016
1 parent 042b76c commit 1a81e39
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion src-lite/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,12 @@
moment.relativeTimeThreshold('d', 28);
moment.relativeTimeThreshold('M', 12);

})();
})();

(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)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-85399009-1', 'auto');
ga('send', 'pageview');
10 changes: 9 additions & 1 deletion src/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,12 @@
moment.relativeTimeThreshold('d', 28);
moment.relativeTimeThreshold('M', 12);

})();
})();

(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)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-85399009-1', 'auto');
ga('send', 'pageview');

0 comments on commit 1a81e39

Please sign in to comment.