1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

remove ga (#345)

* remove ga

* remove from package
This commit is contained in:
mihaisc 2021-01-28 14:11:08 +02:00 committed by GitHub
parent 6122ad2121
commit 05035d3cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 41 deletions

View File

@ -32,8 +32,5 @@ module.exports = {
classNameDark: 'dark',
classNameLight: 'light',
storageKey: 'oceanDarkMode'
},
// Analytics
analyticsId: process.env.GATSBY_ANALYTICS_ID || 'xxx'
}
}

View File

@ -67,22 +67,6 @@ module.exports = {
}
},
'gatsby-plugin-webpack-size',
{
resolve: 'gatsby-plugin-google-analytics',
options: {
// The property ID; the tracking code won't be generated without it
trackingId: appConfig.analyticsId,
// Defines where to place the tracking script - `true` in the head and `false` in the body
head: false,
// Setting this parameter is optional
anonymize: true,
// Setting this parameter is also optional
respectDNT: true,
// Defers execution of google analytics script after page load
defer: true,
cookieDomain: 'oceanprotocol.com'
}
},
{
resolve: 'gatsby-plugin-use-dark-mode',
options: {

19
package-lock.json generated
View File

@ -19451,25 +19451,6 @@
}
}
},
"gatsby-plugin-google-analytics": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/gatsby-plugin-google-analytics/-/gatsby-plugin-google-analytics-2.9.0.tgz",
"integrity": "sha512-Zgiwn4GSJDyO0145pbpP8Ri0guAqCbJOPOxDH+jONasxVrSnEP6KCGDshxi0Cl31DkfebpVpTs+0MDRKvhQ/Qw==",
"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.10.0",
"resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.10.0.tgz",

View File

@ -49,7 +49,6 @@
"formik": "^2.2.6",
"gatsby": "^2.30.2",
"gatsby-image": "^2.9.0",
"gatsby-plugin-google-analytics": "^2.9.0",
"gatsby-plugin-manifest": "^2.10.0",
"gatsby-plugin-react-helmet": "^3.8.0",
"gatsby-plugin-remove-trailing-slashes": "^2.8.0",

View File

@ -19,7 +19,6 @@ const query = graphql`
network
marketFeeAddress
currencies
analyticsId
}
}
}