Home > How do I clear all SnapEngage cookies when my user logs out of my site?


(Last Updated On: January 31, 2018)

Add a call for the following SnapEngage API function whenever you would like the cookies to be deleted.


Note- place your JS Api below the line of code that reads :

/* Place your SnapEngage JS API code below */


You might have a simple Sign Out link that runs a function from the <a onclick=""> event.

<a href='#'onclick=exampleSignOut()>Sign Out</a>

Then you would just add the above-mentioned function into your exampleSignOut() function.

function exampleSignOut() {

Did you find this article helpful?

Not HelpfulNeeds WorkSo-soHelpfulVery Helpful (No Ratings Yet)
Loading ... Loading ...

Published January 12, 2012