From 5d513ac780e8aee2b648ba42d5292ecf49bed2e4 Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 24 Jan 2024 16:04:15 -0800 Subject: [PATCH] More work on this --- src/layouts/Layout.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index c2c64ee..a7d8fe8 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -22,8 +22,8 @@ const { title } = Astro.props; function gtag() { dataLayer.push(arguments); } + window.gtag = window.gtag || gtag; gtag("js", new Date()); - gtag("config", "G-0VY3ZD6W1R");