Skip to content

Commit

Permalink
Merge pull request ElemeFE#86 from QingWei-Li/feat/add-ga
Browse files Browse the repository at this point in the history
Add ga
  • Loading branch information
baiyaaaaa authored Sep 19, 2016
2 parents 6b86ca4 + d491813 commit 2921498
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,13 @@
<body>
<div id="app"></div>
</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-84335471-1', 'auto');
ga('send', 'pageview');
</script>
</html>

0 comments on commit 2921498

Please sign in to comment.