mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 14:32:04 -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.setDisablePersonalizedStatistics(!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.enable();
|
||||
ezstandalone.display();
|
||||
|
Loading…
x
Reference in New Issue
Block a user