Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit 7f8e13d

Browse files
authored
Merge pull request #105 from gvwilson/analytics
Adding Google Analytics code
2 parents 9788e51 + 284a94b commit 7f8e13d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_includes/javascript.html

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
<script src="{{ page.root }}/assets/js/jquery.min.js"></script>
22
<script src="{{ page.root }}/assets/js/bootstrap.min.js"></script>
33
<script src="{{ page.root }}/assets/js/lesson.js"></script>
4+
<script>
5+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
6+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
7+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
8+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
9+
ga('create', 'UA-37305346-2', 'auto');
10+
ga('send', 'pageview');
11+
</script>

0 commit comments

Comments
 (0)