Skip to content

Commit

Permalink
feat: update gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
woliveiras committed Nov 20, 2023
1 parent 9efca8c commit 73df197
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 8 additions & 0 deletions src/_includes/partials/global/meta-info.njk
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,11 @@
<meta property="og:image:alt" content="Page image for {{ site.name }}" />
<meta name="twitter:image:alt" content="Page image for {{ site.name }}" />
{% endif %}

<script async src="https://www.googletagmanager.com/gtag/js?id=G-F30HMRBDPZ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-F30HMRBDPZ');
</script>
7 changes: 0 additions & 7 deletions src/_includes/partials/global/site-foot.njk
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,3 @@
{% endif %}
</div>
</footer>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F30HMRBDPZ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-F30HMRBDPZ');
</script>

0 comments on commit 73df197

Please sign in to comment.