January 1, 2026

Personalization in AEM 6.2 and Later with ContextHub

From AEM 6.2, personalization is built on experiences, activities and ContextHub. Here is how to set up and test a basic personalization.

The steps

  1. Add and configure ContextHub segments.
  2. Create a brand and an activity for it. Select ContextHub as the engine and create the activity's experiences from the new segments.
  3. Add targets and the relevant personalization components for each experience.
  4. Configure the targeted component to use ContextHub as its engine.

Creating a personalized component on the Geometrixx site

Open a Geometrixx Outdoors page and switch to Targeting mode. By default the brand is set to Geometrixx Outdoors.

Targeting mode

To create an activity for the selected brand, click the + symbol. In the new activity form, enter a name (for example, My Target) and select the targeting engine. ContextHub uses our own segmentation from AEM; an Adobe Target configuration can be used instead.

New activity

Once the activity is created, select it.

Select the activity

In Targeting mode, click Start Targeting. A default experience is always enabled; add a new one with + Add Experience Targeting.

Add experience targeting

Select the ContextHub segments you created. Here we have one male segment (Test Male CH) and one female segment (Test Female CH) as experiences.

ContextHub segments as experiences

Author an image component in an empty area of the page.

Author an image component

Right-click it and select Target to enable the component for targeting.

Enable targeting on the component

Right-click again and select Experiences.

Experiences

Select My Target and all configured experiences appear. Any that are not needed can be disabled.

Configured experiences

Go back to Targeting mode, start targeting, select the component and the experience to update, and click Add Offer.

Add offer

Select the image to show for that experience. Click Next through Create, Target and Goals & Settings, and save.

Save the targeting

The targeting configuration is done.

Testing the configuration

Click Preview, open the persona selector and switch between the male and female users.

Preview with personas

With the male persona selected:

Male persona

With the female persona selected:

Female persona

Personas and geolocation changes can also be tested with ClientContext on older AEM versions.