March 21, 2020
Estimated Post Reading Time ~ 1 mins

Personalization in AEM 6.2 and later

In AEM 6.2 personalization works based on Experience, Activities, and ContextHub. Let us see how can we test a basic Personalization in AEM 6.2.

Below are the steps to create personalization in Latest AEM.
  • Add and configure ContextHub Segments
  • Create a Brand and related Activity, (We need to select ContextHub as Engine and create its Experiences from the new segments);
  • Add targets and relevant personalization components for each Experience.
  • Configured the targeted component to use ContextHub as Engine;
Let us create a sample personalization component in the Geometric site.
Once we open a Geometric Outdoors page we can see the Targeting option as below. By default BRAND is selected as 'Geometric Outdoors'.

Target1

To create our own activity for the selected brand, click on the '+' symbol as shown below. In the new activity, form Enter a name (For eg:'My Target') and select the target engine. (Context Hub is selected to ensure we are using our own segmentation from AEM). We can also use Adobe Target configuration to create personalization.

Target2

Once the new activity is created, select the activity as shown below.
Target3

Now in Targeting mode, click on 'Start Targeting', A default experience will be always enabled. Now add new experience by clicking on '+ Add Experience Targeting'
Target4

Select the Context Hub Segments which you have created referring to the Previous post. Basically, we have one male(Test Male CH) and one female(Test Female CH) ContextHub segments created as to experience.

Target5

Now author an image component in an empty area of the page.
Target6 
Right-click, select Target so that the component is enabled for the target. 
Target7

Now right-click and select Experiences,
Target8 

Once you select 'My Target', you can see all the configured experiences appearing. ( We can disable any of them in case they are not needed.)
Target9 

Now go back to targeting mode, start targeting, select the component and select the experience to be updated. Click on 'add offer'.
Target10
Select the new image to have appeared on the corresponding experience. Click 'Next' for 'Create', 'Target', 'Goals & Settings' and save the Targeting.
Target+Final
We are done with our targeting configuration.

Testing the configuration:
Now click on preview select the user/ Persona and change for male and female.
Target11
Once a male user is selected from PERSONA
Target+male
Once a female user is selected from PERSONA
Target+Female
We can test the persona, Geo-changes using Client context also.

aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.