segmentio/consent-manager

Recreate cookie if user has trail linked to their ID on Segment

rafaelluz-f opened this issue · 3 comments

Hey everyone,

If a user deletes their cookies but has a trail linked to their ID on Segment, can the consent manager recreate the cookie?

Hi @rafaelluz-f, It is not possible because Consent-manager reads the cookie to load the previous preferences, if isn't exist create a new one with a random ID.

Thanks for your answer @edsonjab, could this be added?

Hi @rafaelluz-f. This is not a feature from Consent Manager: it's related to analytics.js, that deals with local storage/cookies.

When a cookie is deleted, we lose the audit reference entirely. Therefore the user will need to consent the cookie preferences again.