Skip to content

Commit 8460fd7

Browse files
committed
Implemented: Adds google analytics.
1 parent 7282fcf commit 8460fd7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

_layouts/default.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,15 @@
2424

2525
{% include footer.html %}
2626
</div>
27+
<script>
28+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
29+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
30+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
31+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
32+
33+
ga('create', 'UA-45299596-1', 'php-vcr.github.io');
34+
ga('send', 'pageview');
35+
36+
</script>
2737
</body>
2838
</html>

0 commit comments

Comments
 (0)