The three levels
Every SDK starts at
none. Until you raise the level, nothing reaches Audience.
Change a player’s level
Call this when the player answers your prompt or changes their mind:PUT /v1/audience/tracking-consent. See Track with the HTTP API.
Browser privacy signals
If the player’s browser sends a Global Privacy Control or Do Not Track signal, the Web SDK stays atnone, whatever level you set.
Read consent from your consent manager
The tracking pixel can read consent from your site’s consent manager instead of you setting it. SetconsentMode to auto and leave out consent:
none, then reads Google Consent Mode v2 first and IAB TCF v2 second:
The pixel keeps listening, so it follows the player when they change their cookie choices. If it finds no consent manager within about 2.5 seconds, it stays at
none.
With the Web SDK, read your consent manager yourself and call setConsent with the matching level.