How to block first party cookies

How to use the cookie whitelist to ensure cookies which aren’t in the whitelist are set.

Use the JS Callback or API to get the cookie whitelist

  • Cookie whitelist format:

{ 'name': 'cookie_name', 'provider': '', 'type': 'http_cookie' },
{ 'name': 'cookie_name', 'provider': '', 'type': 'http_cookie' }

  •  Modify your code such that prior to cookies being set, a check is performed to confirm the cookie is in the whitelist.

See API Documentation for more information.