Skip to content

Commit

Permalink
Add GA tracking code
Browse files Browse the repository at this point in the history
  • Loading branch information
zyml committed May 25, 2017
1 parent 1f75302 commit 32eb9d1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions internals/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,14 @@
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script src="//www.google.com/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit" async defer></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-61558266-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

0 comments on commit 32eb9d1

Please sign in to comment.