Expand my Community achievements bar.

SOLVED

ECID reset

Avatar

Level 1

How can I reset ECID on a certain trigger. In my case I want to reset to a new ECID after a click on a certain element in the page. I can't find any OOTB functionality for it or method that I can use within the Web SDK.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hey @cipi21 

Not sure what is the use case here ? Resetting ECID would then treat your user as a new user and your journey would be broken. If you still want to go ahead and do it, try deleting the AMCV cookie on the click of the element as AMCV cookie is the one that houses the value of ECID. Once you delete the cookie, on next page load, you should get a new AMCV cookie and hence a new ECID value.

 

Hope the above helps. If you still face issues you can post them here.

 

Cheers.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hey @cipi21 

Not sure what is the use case here ? Resetting ECID would then treat your user as a new user and your journey would be broken. If you still want to go ahead and do it, try deleting the AMCV cookie on the click of the element as AMCV cookie is the one that houses the value of ECID. Once you delete the cookie, on next page load, you should get a new AMCV cookie and hence a new ECID value.

 

Hope the above helps. If you still face issues you can post them here.

 

Cheers.