Informatie
Beschrijving

Werken met Microsoft Invest / Xandr Universele Pixel-toestemmingsmodus

De Xandr Consent Mode is een manier om toestemming te geven aan Microsoft Invest Universal Pixel.

Xandr-toestemmingsmodus inschakelen

Om de Clarity Consent-modus in uw CMP in te schakelen, navigeert u naar Menu > CMP's > Integraties en schakel Xandr-toestemmingsmodus in:

Standaardwaarden instellen

Afhankelijk van de laadvolgorde van uw website kunt u standaardwaarden instellen. Dit doet u door de volgende regel toe te voegen aan de Xandr-scriptcode op uw website:

<script>
//Original Xandr script code, unchanged
!function(e,i){if(!e.pixie){var n=e.pixie=function(e,i,a){n.actionQueue.push({action:e,actionValue:i,params:a})};n.actionQueue=[];var a=i.createElement("script");a.async=!0,a.src="//acdn.adnxs.com/dmp/up/pixie.js";var t=i.getElementsByTagName("head")[0];t.insertBefore(a,t.firstChild)}}(window,document);

//Add this line to your Xandr code: before the "init" call:
pixie('consent', 'default', { 'ad_storage':  'denied', 'wait_for_update': 1000});  

//your normal Xandr init call
pixie('init', 'REPLACE_WITH_UP_PIXEL_ID'); //Your Pixel ID
pixie('event', 'PageView');
</script>
Terug naar boven