mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
[ads] add the other ezoic consent code
This commit is contained in:
parent
e3cf477762
commit
dee7801d1b
@ -84,6 +84,12 @@ export default {
|
|||||||
ezstandalone.setIsPWA();
|
ezstandalone.setIsPWA();
|
||||||
ezstandalone.setDisablePersonalizedStatistics(!this.consent);
|
ezstandalone.setDisablePersonalizedStatistics(!this.consent);
|
||||||
ezstandalone.setDisablePersonalizedAds(!this.consent);
|
ezstandalone.setDisablePersonalizedAds(!this.consent);
|
||||||
|
if (typeof ezConsentCategories === 'object' && typeof __ezconsent === 'object') {
|
||||||
|
window.ezConsentCategories.preferences = this.consent;
|
||||||
|
window.ezConsentCategories.statistics = this.consent;
|
||||||
|
window.ezConsentCategories.marketing = this.consent;
|
||||||
|
__ezconsent.setEzoicConsentSettings(window.ezConsentCategories);
|
||||||
|
}
|
||||||
ezstandalone.define(Object.values(adPlaceholders));
|
ezstandalone.define(Object.values(adPlaceholders));
|
||||||
ezstandalone.enable();
|
ezstandalone.enable();
|
||||||
ezstandalone.display();
|
ezstandalone.display();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user