Skip to content

Commit

Permalink
feat(analytic): ga code update
Browse files Browse the repository at this point in the history
  • Loading branch information
nnixaa committed Sep 29, 2017
1 parent 5c1c4c5 commit ad145a6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
<link rel="icon" type="image/png" href="favicon.png">
<link rel="icon" type="image/x-icon" href="favicon.ico">

<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-102084081-3"></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-102084081-3', 'auto');
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());

gtag('config', 'UA-102084081-3');
</script>

</head>
<body>
<ngx-app>Loading...</ngx-app>
Expand Down

0 comments on commit ad145a6

Please sign in to comment.