Skip to content

Commit

Permalink
docs: update to match GTM docs page
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Sep 4, 2024
1 parent 132a165 commit 915140f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sveltekit.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ Putting it together with the previous changes, our `+layout.svelte` looks like:
{@html '<script>' + partytownSnippet() + '</script>'}
<script type="text/partytown" src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script type="text/partytown" src="https://www.googletagmanager.com/gtag/js?id=YOUR-ID-HERE"></script>
<script type="text/partytown">
window.dataLayer = window.dataLayer || [];
window.gtag = function(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'YOUR-ID-HERE');
</script>
</svelte:head>
```
Expand Down

0 comments on commit 915140f

Please sign in to comment.