function OptanonWrapper() { var consentSettings=_satellite.getVar("consent_target") if(consentSettings.target===true){ adobe.optIn.approve([adobe.OptInCategories.TARGET], true); }else{adobe.optIn.deny([adobe.OptInCategories.TARGET], true);} adobe.optIn.complete(); }