You've already forked AstralRinth
forked from didirus/AstralRinth
Switch ads provider, and switch the analytics system to Ariadne (#214)
* Switch ads provider, and switch the analytics system to Ariadne * Fix CI error * Remove debug messages and errors * Updated nuxtjs
This commit is contained in:
@@ -30,6 +30,7 @@ export default async function (ctx, inject) {
|
||||
const collapseEmptyDivs =
|
||||
config.collapseEmptyDivs ??
|
||||
'<%= options.collapseEmptyDivs || false %>' === 'true'
|
||||
const ethicalAds = config.ethicalAds === 'true'
|
||||
const GeoEdgeId = config.GeoEdgeId ?? '<%= options.geoEdgeId %>'
|
||||
const networkCode = config.networkCode ?? '<%= options.networkCode %>'
|
||||
const GPT_LIB_SCRIPT_ID = '<%= options.GPT_LIB_SCRIPT_ID %>'
|
||||
@@ -53,6 +54,12 @@ export default async function (ctx, inject) {
|
||||
ctx.app.head.script.push(script)
|
||||
}
|
||||
}
|
||||
Vue.component('GptAd', {})
|
||||
|
||||
if (ethicalAds) {
|
||||
return
|
||||
}
|
||||
|
||||
const noConsent = !isPersonalizedAdsOn(ctx)
|
||||
|
||||
// GeoEdge support
|
||||
|
||||
Reference in New Issue
Block a user