Skip to content

Commit 4b3cae3

Browse files
committed
Add Google Analytics code
1 parent 23fe780 commit 4b3cae3

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

Diff for: _includes/analytics.html

+8-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
<!-- Google Analytics: http://www.google.com/analytics/
2-
Replace 'UA-XXXXXXXX-X' with your property ID
3-
======================================================= -->
41
<script>
5-
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
6-
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
7-
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
8-
e.src='//www.google-analytics.com/analytics.js';
9-
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
10-
ga('create','UA-XXXXXXXX-X');ga('send','pageview');
11-
</script>
2+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
6+
7+
ga('create', 'UA-62596913-1', 'auto');
8+
ga('send', 'pageview');
129

13-
<!-- Place your gaug.es analytics below this line:
14-
http://get.gaug.es/documentation/
15-
======================================================= -->
10+
</script>

0 commit comments

Comments
 (0)