Skip to content

Commit

Permalink
Google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroqh committed Mar 30, 2020
1 parent 4cdc591 commit 7ee9262
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
9 changes: 9 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,13 @@
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162145467-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-162145467-1');
</script>
</html>
10 changes: 0 additions & 10 deletions src/layout/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,3 @@
}
</style>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162145467-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-162145467-1');
</script>

0 comments on commit 7ee9262

Please sign in to comment.