Removes google ads from codebase, fix analytics (#403)

This commit is contained in:
Geometrically
2022-03-07 19:01:38 -07:00
committed by GitHub
parent 91b79b703c
commit e87d85b088
12 changed files with 10 additions and 607 deletions

View File

@@ -202,9 +202,6 @@ export default {
'@nuxtjs/style-resources',
'@nuxtjs/markdownit',
'cookie-universal-nuxt',
'~/modules/gpt-ads',
// The analytics module is disabled, as we are using our own solution embedded in the middleware.
// '~/modules/analytics',
],
ads: {
// Module options
@@ -286,9 +283,6 @@ export default {
browserBaseURL: process.env.BROWSER_BASE_URL,
},
ads: {
ghostMode: process.env.ENABLE_ADS == null,
GeoEdgeId: process.env.GEOEDGE_ID,
networkCode: process.env.GAM_ID,
ethicalAds: process.env.ETHICAL_ADS,
},
analytics: {