Skip to content

Commit

Permalink
加ga
Browse files Browse the repository at this point in the history
  • Loading branch information
sih4sing5hong5 committed Jun 3, 2016
1 parent edb2e1f commit f502c73
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 前端/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,14 @@
<body>
<div id="app"></div>
<script src="/bundle.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-78757122-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

0 comments on commit f502c73

Please sign in to comment.