From 9a4f5b8cd6aa10129954bcc073cede518a96bb0d Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Thu, 29 Sep 2022 22:41:39 +0200 Subject: [PATCH] removed google analytics --- content/config.json | 1 - content/pages/legal/cookies/index.md | 1 - gatsby-config.ts | 9 --------- package-lock.json | 27 --------------------------- package.json | 1 - 5 files changed, 39 deletions(-) diff --git a/content/config.json b/content/config.json index 7b39967..52032b1 100644 --- a/content/config.json +++ b/content/config.json @@ -3,7 +3,6 @@ "url": "https://rickvanlieshout.com", "subtitle": "The thoughts, discoveries and murmurings of a Software enthusiast", "copyright": "© All rights reserved.", - "googleAnalyticsId": "", "disqusShortname": "rickvanlieshoutcom", "postsLimit": 5, "pathPrefix": "/", diff --git a/content/pages/legal/cookies/index.md b/content/pages/legal/cookies/index.md index 68dfb81..4861124 100644 --- a/content/pages/legal/cookies/index.md +++ b/content/pages/legal/cookies/index.md @@ -20,7 +20,6 @@ projects which have been made by other people. Some of these include: - Disqus - A comment system for your website -- Google analytics - To track info about the website (i.e how many times each page has been seen) - Social media (twitter, facebook, etc) - To add in those shiny "like" or "tweet" buttons. Cookies like these are stored for pretty much every website you diff --git a/gatsby-config.ts b/gatsby-config.ts index b8bdfa6..75de88d 100644 --- a/gatsby-config.ts +++ b/gatsby-config.ts @@ -120,15 +120,6 @@ export default { }, "gatsby-transformer-sharp", "gatsby-plugin-sharp", - { - resolve: "gatsby-plugin-google-gtag", - options: { - trackingIds: [config.googleAnalyticsId], - pluginConfig: { - head: true, - }, - }, - }, { resolve: "gatsby-plugin-sitemap", options: { diff --git a/package-lock.json b/package-lock.json index df83741..fb9f9c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,6 @@ "gatsby-link": "^4.23.0", "gatsby-plugin-catch-links": "^4.23.0", "gatsby-plugin-feed": "^4.23.0", - "gatsby-plugin-google-gtag": "^4.23.0", "gatsby-plugin-image": "^2.23.0", "gatsby-plugin-manifest": "^4.23.0", "gatsby-plugin-offline": "^5.23.0", @@ -13981,23 +13980,6 @@ "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/gatsby-plugin-google-gtag": { - "version": "4.23.0", - "resolved": "https://registry.npmjs.org/gatsby-plugin-google-gtag/-/gatsby-plugin-google-gtag-4.23.0.tgz", - "integrity": "sha512-dh7Qi+8nFQcRFBeOYRm9UgswbLRlz5GG8MbnFAiMAKfMsuAoCtXsZ1mQ4kznAcFQoqMVZmvZd9FaakZC/60lKA==", - "dependencies": { - "@babel/runtime": "^7.15.4", - "minimatch": "^3.1.2" - }, - "engines": { - "node": ">=14.15.0" - }, - "peerDependencies": { - "gatsby": "^4.0.0-next", - "react": "^16.9.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/gatsby-plugin-image": { "version": "2.23.0", "resolved": "https://registry.npmjs.org/gatsby-plugin-image/-/gatsby-plugin-image-2.23.0.tgz", @@ -45139,15 +45121,6 @@ "rss": "^1.2.2" } }, - "gatsby-plugin-google-gtag": { - "version": "4.23.0", - "resolved": "https://registry.npmjs.org/gatsby-plugin-google-gtag/-/gatsby-plugin-google-gtag-4.23.0.tgz", - "integrity": "sha512-dh7Qi+8nFQcRFBeOYRm9UgswbLRlz5GG8MbnFAiMAKfMsuAoCtXsZ1mQ4kznAcFQoqMVZmvZd9FaakZC/60lKA==", - "requires": { - "@babel/runtime": "^7.15.4", - "minimatch": "^3.1.2" - } - }, "gatsby-plugin-image": { "version": "2.23.0", "resolved": "https://registry.npmjs.org/gatsby-plugin-image/-/gatsby-plugin-image-2.23.0.tgz", diff --git a/package.json b/package.json index fff89c0..51ff2d1 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,6 @@ "gatsby-link": "^4.23.0", "gatsby-plugin-catch-links": "^4.23.0", "gatsby-plugin-feed": "^4.23.0", - "gatsby-plugin-google-gtag": "^4.23.0", "gatsby-plugin-image": "^2.23.0", "gatsby-plugin-manifest": "^4.23.0", "gatsby-plugin-offline": "^5.23.0",