Hi @bestimv,
The authenticated state property indicates the level of authentication associated with a user's identity when interacting with your website or application. This helps AEP to determine how to treat the data associated with that identity.
The Three States Explained:
1. Ambiguous:
- Definition: The user's authentication is unclear and hasn't been determined , This might happen if the user hasn't logged in , or the system isn't sure if the suer is authenticated.
-Real example: A visitor browsing your website without logging in . They might have a cookie identifying them, but heir authentication status is not confirmed.
2. Authenticated:
-Definition: The user is confirmed to be logged in and authenticated. Their actions are directly associated with a known and verified identity.
- Real example: A user who has logged into your website or app . Ex: a returning customer accessing their account details after signing in.
3.Logged Out:
-Definition: The user has explicitly logged out, and their session is no longer authenticated. While their identity might still be recognised through cookies or other means , they are not considered authenticated.
-Real example: A user who has previously logged in but has now logged out. Ex: A user who signed out for their account after making a purchase.
How 'authenticatedState' affects user Profiles:
When you set the authenticatedState in the identityMap, AEP utilizes this information to adjust how data is collected and linked to the user’s profile:
Ambiguous: Data might be stored with a lower confidence level since the user's identity isn't fully confirmed.
Authenticated: Data is confidently linked to the user's profile, providing a complete and reliable view of their interactions.
Logged Out: This state might trigger processes to disassociate certain data from the authenticated profile, depending on your configuration.
Addressing the Behaviour You're Seeing:
Mentioning by your side that the authenticatedState seems to always be written to the user's profile regardless of the value. This could be by design, as AEP needs to track the state transitions of a user's identity for accurate data management. However, the way the platform processes and uses that data will differ based on the specific state.
Example: Data associated with an "Authenticated" state may be treated as high confidence, whereas data with an "Ambiguous" or "Logged Out" state might be handled more cautiously, or even excluded from certain analyses.
Finally if you are seeing unexpected behaviours review your SDK implementation or contact support.
For more info you can check here.
¡Hope this helps!
Regards,
Celia
@jpetermarias