Skip to content

Commit

Permalink
Add google analytics to indexv2 hopefully it works
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyridel committed Jul 6, 2024
1 parent 5e18f90 commit e9c6a9f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions views/public/indexV2.ejs
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<%- contentFor('head') %>

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

<script src="https://cdn.jsdelivr.net/npm/[email protected]" defer></script>
<script defer>
document.addEventListener('DOMContentLoaded', () => {
Expand Down

0 comments on commit e9c6a9f

Please sign in to comment.