From a461f932f9aba7716b11d93fffc5af1372dfe7e0 Mon Sep 17 00:00:00 2001 From: Angelo Date: Fri, 24 Nov 2023 18:06:46 +0900 Subject: [PATCH 1/2] =?UTF-8?q?update(package,=20package-lock):=20gatsby-p?= =?UTF-8?q?lugin-gtag=20=ED=8C=A8=ED=82=A4=EC=A7=80=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 5 +++++ package.json | 1 + 2 files changed, 6 insertions(+) diff --git a/package-lock.json b/package-lock.json index 20c9ff82b..ebbc43b72 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17586,6 +17586,11 @@ } } }, + "gatsby-plugin-gtag": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/gatsby-plugin-gtag/-/gatsby-plugin-gtag-1.0.13.tgz", + "integrity": "sha512-Oul6O67klajrEjkkF1diD228SmyUWsAwTq/1tYq41vBwmyNiPk4dhk8K93rrNQ5d5zesSv+awBeGBa503tQqGw==" + }, "gatsby-plugin-image": { "version": "2.13.0", "resolved": "https://registry.npmjs.org/gatsby-plugin-image/-/gatsby-plugin-image-2.13.0.tgz", diff --git a/package.json b/package.json index 7c7f60714..9a2376b58 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "babel-plugin-styled-components": "^2.0.7", "gatsby": "^4.13.0", "gatsby-plugin-google-analytics": "^4.13.0", + "gatsby-plugin-gtag": "^1.0.13", "gatsby-plugin-image": "^2.13.0", "gatsby-plugin-manifest": "^4.17.0", "gatsby-plugin-mdx": "^3.13.0", From c9ee24cbb86633fb7798316817c9b7c1e2a8eb1c Mon Sep 17 00:00:00 2001 From: Angelo Date: Fri, 24 Nov 2023 18:08:01 +0900 Subject: [PATCH 2/2] =?UTF-8?q?update(gatsby-config):=20GA4=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gatsby-config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gatsby-config.ts b/gatsby-config.ts index 30561bdfb..1e9643acc 100644 --- a/gatsby-config.ts +++ b/gatsby-config.ts @@ -22,9 +22,9 @@ const config: GatsbyConfig = { }, "gatsby-plugin-styled-components", { - resolve: "gatsby-plugin-google-analytics", + resolve: `gatsby-plugin-gtag`, options: { - trackingId: "UA-86912367-1", + trackingId: `G-MEZ555L9B0`, }, }, "gatsby-plugin-image",