This article covers a Bloomreach Experience Manager version 12. There's an updated version available that covers our most recent release.

Using the visitor profile

When a request comes in to the HST, before passing control over to the main HST processing valves, the Relevance Module is invoked to first update the visitor data and then to create a profile using the updated data. This profile is used internally by the Relevance Module to show relevant content to the visitor but it is also available to the application for custom processing.

You can get a hold of the visitor profile using the static method

TargetingProfile profile = TargetingStateProvider.get().getProfile();

From the profile you can obtain both the raw visitor data as collected by the different collectors as well as the matching segments and their scores.

 

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?