Real time information on qualifying segments
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?
I am relatively new to AAM and maybe a basic question when integrating with Experience cloud ID service