Skip to content

Commit

Permalink
Merge pull request #113 from kyungmi/master
Browse files Browse the repository at this point in the history
[TASK] add code to gather data for google analytics on login page
  • Loading branch information
Koong Kyungmi committed Oct 15, 2015
2 parents 0a4b8b1 + fcf9e97 commit 220b517
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/server/auth/views/login.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,14 @@
<!-- Logic Script -->
<script src="/login.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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-68503782-1', 'auto');
ga('send', 'pageview');
</script>

</body>
</html>

0 comments on commit 220b517

Please sign in to comment.