diff --git a/gatsby-config.ts b/gatsby-config.ts index 30561bdf..1e9643ac 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", diff --git a/package-lock.json b/package-lock.json index 20c9ff82..ebbc43b7 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 7c7f6071..9a2376b5 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",