Site Configuration and ContextHub Segments
ContextHub includes a segmentation engine that manages segments and determines which segments are resolved for the current context. Several segments are defined. You can use the Javascript API to determine resolved segments. Enable the ContextHub segments for your site under Configuration Browser.
Create Segments
Create AEM segments that act as rules for the teasers. That is, they define when content within a teaser appears on a web page. Content can then be specifically targeted to the visitor’s needs and interests, depending on the segment(s) they match.
Assigning Cloud Configuration, Segment path and ContextHub path to your site
Assigning the Cloud configuration path, segmentation path and ContextHub path to your site root node so you can create a personalized experience for your audience. Using the ContextHub, you can manipulate the context data and test your resolved segments.
You can read more about ContextHub and segmentation below: