You can use the cookie whitelist code to ensure cookies that aren’t in the whitelist are set.

Use the JS Callback or API to get the cookie whitelist

  • Cookie whitelist format:
{ 
cookies:
[
{ 'name': 'cookie_name', 'provider': 'termly.io', 'type': 'http_cookie' },
{ 'name': 'cookie_name', 'provider': 'termly.io', '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.