ContextHub contexthub

ContextHub is a framework for storing, manipulating, and presenting context data. The client-side JavaScript API enables you to access the data for personalizing content.

NOTE
The We.Retail reference implementation implements ContextHub and can serve as a reference as you integrate ContextHub into your own project.
CAUTION
The path containing the sample ContextHub configuration that is used by the We.Retail reference implementation ( /libs/settings/cloudsettings/legacy) should only be used as a reference for creating your own configuration.
Do not use in a project as your own ContextHub configuration.

Persistence persistence

ContextHub stores persist context data on the client. The ContextHub JavaScript API enables you to access stores to create, update, and delete data as necessary. As such, ContextHub represents a data layer on your pages.

Each ContextHub store is an instance of a predefined store type:

Segmentation segmentation

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.

Presentation presentation

The ContextHub toolbar enables marketers and authors to see and manipulate store data for simulating the user experience when authoring pages. The toolbar consists of groups of UI modules that provide access to ContextHub stores.

Each ContextHub UI module is an instance of a predefined module type:

Developers need to add the ContextHub component to the page.

recommendation-more-help
19ffd973-7af2-44d0-84b5-d547b0dffee2