From a6a2da6b0587608e13f06237e493899cf681c750 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 28 Jan 2021 12:55:36 +0100 Subject: [PATCH] remove Google Analytics --- config.js | 1 - gatsby-config.js | 12 +----------- package-lock.json | 19 ------------------- package.json | 1 - 4 files changed, 1 insertion(+), 32 deletions(-) diff --git a/config.js b/config.js index b15db76c..4dc9cbb1 100644 --- a/config.js +++ b/config.js @@ -5,7 +5,6 @@ module.exports = { siteUrl: process.env.SITE_URL || 'https://docs.oceanprotocol.com', siteIcon: 'node_modules/@oceanprotocol/art/logo/favicon-black.png', siteCompany: 'Ocean Protocol Foundation Ltd.', - analyticsId: 'UA-60614729-11', social: { Site: 'https://oceanprotocol.com', Blog: 'https://blog.oceanprotocol.com', diff --git a/gatsby-config.js b/gatsby-config.js index aa6be8e8..5227538c 100755 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -150,16 +150,6 @@ module.exports = { } }, 'gatsby-plugin-webpack-size', - 'gatsby-plugin-offline', - { - resolve: 'gatsby-plugin-google-analytics', - options: { - trackingId: config.analyticsId, - head: false, - anonymize: true, - respectDNT: true, - cookieDomain: 'oceanprotocol.com' - } - } + 'gatsby-plugin-offline' ] } diff --git a/package-lock.json b/package-lock.json index 92ab0564..9f138e29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12215,25 +12215,6 @@ } } }, - "gatsby-plugin-google-analytics": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/gatsby-plugin-google-analytics/-/gatsby-plugin-google-analytics-2.10.0.tgz", - "integrity": "sha512-g3NjUrEPJJmjHrUxDaxgLV3rLfFXzHnGPKv4TEiqcntbuWH24rlWiZYi1btjGN+QqJMeOYGFzNILVMS8cFLxtw==", - "requires": { - "@babel/runtime": "^7.12.5", - "minimatch": "3.0.4" - }, - "dependencies": { - "@babel/runtime": { - "version": "7.12.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz", - "integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==", - "requires": { - "regenerator-runtime": "^0.13.4" - } - } - } - }, "gatsby-plugin-manifest": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.11.0.tgz", diff --git a/package.json b/package.json index fef4fd3f..0848484e 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "gatsby": "2.31.0", "gatsby-image": "^2.10.0", "gatsby-plugin-catch-links": "^2.9.0", - "gatsby-plugin-google-analytics": "^2.10.0", "gatsby-plugin-manifest": "^2.11.0", "gatsby-plugin-offline": "^3.9.0", "gatsby-plugin-react-helmet": "^3.9.0",