Skip to content

Commit

Permalink
actually add the thing for really real
Browse files Browse the repository at this point in the history
Signed-off-by: Xander Grzywinski <xandergrzyw@gmail.com>
  • Loading branch information
salaxander committed May 21, 2024
1 parent 30af5ee commit 75dc869
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion site/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ export default defineConfig({
head: [
{
tag: "script",
content: "(function(w,d,s,l,i){ ... })(window,document,'script','dataLayer','G-N1XZ8ZXCWL');",
content: `(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','G-N1XZ8ZXCWL');`,
},
],
components: {
Expand Down

0 comments on commit 75dc869

Please sign in to comment.