Skip to content

Commit

Permalink
Merge pull request #1 from opentechinstitute/collina-patch-1
Browse files Browse the repository at this point in the history
Add Google Analytics to page.
  • Loading branch information
collina authored Jul 12, 2016
2 parents 63918d7 + bde89cb commit eef4540
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@
<script src="services/gaugeService.js"></script>
<script src="services/mlabService.js"></script>
<script src="app.js"></script>
<script>
(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-56251309-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
9 changes: 9 additions & 0 deletions app/nl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,14 @@
<script src="/services/mlabService.js"></script>
<script src="/app.js"></script>

<script>
(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-56251309-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

0 comments on commit eef4540

Please sign in to comment.