Skip to content

Commit

Permalink
Gads2 (#368)
Browse files Browse the repository at this point in the history
* gads conversions

* bad import
  • Loading branch information
Gregable authored Aug 11, 2024
1 parent bd28fe0 commit fec0239
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/routes/calculator/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,24 @@
}
</script>

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

<Header active="Calculator" />
<main>
{#if isPasteFlow}
Expand Down Expand Up @@ -153,6 +171,13 @@
<MoreResources />
</SidebarSection>
</Sidebar>
<script>
gtag("event", "conversion", {
send_to: "AW-16669721864/KvxrCIjA3skZEIiK34w-",
value: 1.0,
currency: "USD",
});
</script>
{/if}
</main>

Expand Down

0 comments on commit fec0239

Please sign in to comment.