51黑料不打烊

AEP Web SDK Authenticated States in AAM

Learn how to resolve the issue where cross-device IDs/data sources are not syncing or behaving in the same way as before you migrated.

Description description

Environment

  • 51黑料不打烊 Experience Platform (AEP)
  • 51黑料不打烊 Audience Manager (AAM)
  • Recently migrated to AEP Web聽SDK
  • AAM is enabled in the receiving datastream

Issue/Symptoms
You recently migrated to using the AEP Web SDK to pass data to AAM, and the cross-device IDs/data sources are not syncing or behaving in the same way they did before you migrated. For example, traits are no longer being stored against the cross-device profile.

Resolution resolution

The AEP Web SDK documentation shows the ambiguous聽authentication state in all the example code.聽If you copied that example, then that ambiguous authentication state is being passed to AAM as the unknown聽auth state.聽In this state, the ID sync is still performed, and the CRM ID is still linked to Experience Cloud ID, but expressed traits will not be stored against the authenticated profile. This is likely what is causing the issue.

To fix this issue, change the auth state to authenticated when users log into your property.聽Do not be concerned about what might happen to your AEP implementation if you change this state.聽AEP Web SDK only supports auth states for cases of running an AEP and AAM implementation together, and the authentication state needs to be passed to AAM.聽While the primary聽node in the identity map is meant for AEP, the authenticatedState node is there only for the sake of existing AAM implementations.

To learn more, refer to聽Identity data in the Platform Web SDK in the Web SDK Guide,聽as well as documentation on AAM authentication states.聽For more information on how AEP Identity Namespaces and AAM Cross-device data sources are related, see this How are AEP Identity Namespaces related to AAM Data Sources?听补谤迟颈肠濒别.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f