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 personas and their scores.