Skip to content

feat: remove unneeded gtm #7094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"gatsby": "^4.0.0",
"gatsby-cli": "^4.0.0",
"gatsby-plugin-algolia": "^0.11.2",
"gatsby-plugin-google-gtag": "^4.0.0",
"gatsby-plugin-mdx": "^3.0.0",
"gatsby-plugin-meta-redirect": "^1.1.1",
"gatsby-plugin-react-helmet": "^3.3.10",
Expand Down
15 changes: 0 additions & 15 deletions src/gatsby/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,6 @@ const getPlugins = () => {
'gatsby-plugin-sass',
'gatsby-plugin-zeit-now',
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-google-gtag',
options: {
// You can add multiple tracking ids and a pageview event will be fired for all of them.
trackingIds: [
'UA-30327640-1', // Sentry
],
// This object gets passed directly to the gtag config command
// This config will be shared across all trackingIds
gtagConfig: {
anonymize_ip: true,
cookie_expires: 0,
},
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
Expand Down
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8374,14 +8374,6 @@ gatsby-plugin-algolia@^0.11.2:
gatsby-cli "^1.1.58"
lodash.chunk "^4.2.0"

gatsby-plugin-google-gtag@^4.0.0:
version "4.25.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-google-gtag/-/gatsby-plugin-google-gtag-4.25.0.tgz#cfea9ab34cb9c053440757e76f2863f2aad310bf"
integrity sha512-mzhjor5JYct1qQWLKayAHuyOHGHW3TT8Ns5fgdmSlqsmAR0X6dAh7zqSfqbvetGU309PZrRXeOrL92vjmeSIdQ==
dependencies:
"@babel/runtime" "^7.15.4"
minimatch "^3.1.2"

gatsby-plugin-mdx@^3.0.0:
version "3.20.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-mdx/-/gatsby-plugin-mdx-3.20.0.tgz#0dff5bc2812fa9ed5aa4e1ecf660d9bc5bc1abfa"
Expand Down