Skip to content

Commit

Permalink
Fixed ga-tag script
Browse files Browse the repository at this point in the history
  • Loading branch information
talentedunicorn committed Dec 4, 2023
1 parent 83b9f6f commit 4e58d40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
{pwaInfo?.webManifest.linkTag}
{/if}
{#if ga_tag}
<script async src="https://www.googletagmanager.com/gtag/js?id={ga_tag}">
<script async src="https://www.googletagmanager.com/gtag/js?id={ga_tag}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
Expand Down

0 comments on commit 4e58d40

Please sign in to comment.