Implementing Anonymous Tracking for Non-Consent Users
Hi Folks,
I’ve received a requirement from the product team to implement anonymous tracking on the website pages to measure content consumption even when users deny performance cookie consent.
We plan to use an additional variable to indicate the user’s consent status. This will ensure that any hits collected without consent are only used for aggregate reporting and not for any re-engagement or personalization activities.
We’re currently exploring possible implementation approaches. One of the primary requirements from the Legal team is that no cookies should persist beyond the session for users who have not provided consent.
I tried setting s.cookieLifetime = "SESSION", which worked correctly for the AMCV_<orgid> cookie. However, I noticed that the s_ecid cookie still persists in the user’s browser. Since the s_ecid cookie is used to regenerate the same ECID upon subsequent sessions, this behavior does not meet the Legal team’s requirement of preventing cookie persistence beyond the session.
Could you please share any recommendations or best practices on how this requirement can be handled?
Thanks and regards,
Nitesh
