We are using SDL Tridion Sites 9 with DXA 2.0 (Java).
I have a requirement where we want to display the targeted/personalized content (hero banner or teaser or any other Component) based on the registered user profile. i.e:
- if the user profile is X display x-banner
- if the user profile is Y display y-banner
- or let's say if the user is not logged in then display the teaser Component with registration link else something related to x/y content.
The user is authenticated by a 3rd party system & we persist the logged-in state in the cookie.
Can anyone help me to understand if we should use Experience Optimization or the personalization based on Target Group(Profiling/Personalization) or some custom-built solution?
Thanks in advance.