How do I get the qualifying segment for a user while in the context of the same page based on traits setup on AAM?
1) User logs in to the application
2) Page regions / sections are loaded (via MVC application)
3) Content should be personalized based on the qualifications for the user
This could be the first time the user is logging in. I have looked through AAM APIs as well as Analytics APIs but could not find how to query for segments based on a visitor ID. Which API and endpoint should I use for this scenario?
We are making async calls to the analytics. Should we be consider sync for the above scenario? If we continue to use async, would it mean that the region will reload (after a fraction of second) for the qualifying user?
Create an onboarded trait and include it in segment rule. Data onboarding allows us to ingest offline data into Audience Manager. This is possible only when an ID sync occurs upon authentication where the backend hashed CRM ID is captured online and sent to AAM. The most common data onboarding scenario deals with ingesting 1st party data but 2nd or 3rd party data can also be ingested in AAM. For information on data onboarding in audience manager, refer to doc below: