Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Web SDK - predefined method to reset all Identities

Avatar

Level 10

Assume that the users log-out in Web SDK and we would like to reset all identities. Is there any such a method in Web SDK? 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

5 Replies

Avatar

Community Advisor

Well, you can send the authenticatedState of "loggedOut" in your identityMap XDM payload. 

You should only have to send this once upon logout with the identities to disassociate them from the current ECID for calls that happen afterwards.

Cheers from Switzerland!


Avatar

Level 10

@bjoern__koth thanks! So if I send logout then all of the events which are sent after that are assigned to separate new profile in RTCP? 

Avatar

Community Advisor

That is a good question tbh., and I had to look it up as well. This below is AI generated, but sounds reasonable.  

 

The loggedOut state marks an identity as formerly authenticated, differentiating current anonymous vs. previously known users.


Data sent with loggedOut identities can still be associated with the real-time profile, but the platform will treat these data points as lower confidence compared to those sent with authenticated state.


Events and attributes tied to a loggedOut identity will continue to merge into the existing profile, unless the schema or segmentation definitions specify conditions based on authentication state.


The system can use this state to avoid stitching new, authenticated data to a profile during non-authenticated sessions, improving accuracy in profile merging and reducing misattribution or duplicate profiles.

Cheers from Switzerland!


Avatar

Level 10

@bjoern__koth thanks!

How would you pass to IdentityMap that a user somehow logged out?

Its should be triggered by same event from the front-end however I see that in Data Elements Identity Map is somehow more 'fixed'. Could you give me any hints?

 

Avatar

Community Advisor

same as the login event, you send that logout event when it happens. The authenticated state field can only contain these three values.

 

ambiguous, authenticated, and loggedOut


https://experienceleague.adobe.com/en/docs/experience-platform/web-sdk/identity/overview

 

Cheers from Switzerland!