Skip to content

Commit

Permalink
Merge pull request #9 from BlakvGhost/BlakvGhost-patch-1
Browse files Browse the repository at this point in the history
Added Google Analytic key for platform tracking
  • Loading branch information
BlakvGhost committed Jul 27, 2023
2 parents fade1c4 + afb7896 commit 49c8695
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions template/base/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,15 @@
<!-- beging:: Adding custom js files -->
<script src="{% static 'js/app.js' %}" async></script>
<!-- end:: Adding customjs files -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QCL5WT9MM1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-QCL5WT9MM1');
</script>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register("{% static 'js/service-worker.js' %}")
Expand Down

0 comments on commit 49c8695

Please sign in to comment.