Avatar

Correct answer by
Employee Advisor

I think web tracking reads the acoptout cookie and if its 1 it does not* create/log records into adobe campaign, but I don't think it goes as far as deleting the cookies on the client side.

 

David__Garcia_0-1636584046211.png

 

If you want to delete all cookies if the acoptout is set to 1, you can create your own function, there are some examples on this page. https://www.codegrepper.com/code-examples/javascript/delete+all+cookies+javascript

 

Semantically it should go as following

 

If acoptout value = 1 { //js function to read acopout cookie value here
 get a list of all cookies and delete them //function to delete all cookies except acoptout
}

 

 

View solution in original post