Skip to content

Commit

Permalink
Add google analytics tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-irt committed Jun 27, 2017
1 parent a56d85e commit d93ab47
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Binary file added src/assets/images/alex-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,16 @@
<body>
<app-root></app-root>
</body>

<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-100337390-2', 'auto');
ga('send', 'pageview');

</script>

</html>

0 comments on commit d93ab47

Please sign in to comment.