Skip to content

Commit db803ee

Browse files
committed
Add google analytics
1 parent 201d675 commit db803ee

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

yard-template/default/layout/html/footer.erb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
</div>
66

77
<script>
8-
// (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
9-
// (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
10-
// m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
11-
// })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
12-
//
13-
// ga('create', 'UA-4005004-8', 'pitr.ch');
14-
// ga('send', 'pageview');
8+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
9+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
10+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
11+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
12+
13+
ga('create', 'UA-57940973-1', 'auto');
14+
ga('send', 'pageview');
15+
1516
</script>

0 commit comments

Comments
 (0)