I am trying to implement simle react app (non JSS) that uses Sitecore headless services. I want to have online personalization, let's say when goal is triggered during current interaction to show the personalized content immediately.
As I experimented with Universal tracker it seems not to possible to achieve this immediate personalization. Since as I understood events from universal tracker are processed in batches with some interval, so they do not appear immediately in xDB. So they could not be used for rules immediately.
So now I am confused with the usage of Universal Tracker and
Sitecore.Analytics.Tracker and how they are positioned (what problem solve) in Sitecore in headless scenarios.
So my questions are (in headless context):
- Is Universal Tracker replacement for
Sitecore.Analytics.Trackerin headless scenarios?
- Or should they be used together but for different scenarios? Like,
Sitecore.Analytics.Trackerfor online interactions, and Universal tracker for offline interactions.