Thursday, 17 May 2018

Test the configuration for AEM 6.4 Personalization

PREVIOUS: Create a Sample Personalization in AEM 6.4

In AEM 6.4 personalization works based on;
  • Experience, 
  • Activities and 
  • ContextHub. 
Let us see how can we test a basic Personalization in AEM 6.4 by creating a sample. AEM 6.4 configuration is almost same as in AEM 6.3.  

Below are the steps to create personalization in Latest AEM.
  
How to test personalization in AEM 6.4.
In this post we are explaining about the testing of personalization. Hope you have gone through the article for creating personalization in AEM 6.4  

Open the page where targeting is enabled and Experiences are authored.

  • Go to preview mode of the page. You can see the default image which was authored is displayed. In this case user persona is anonymous.



  • Click on persona so that other users appears.



  • Select a male user and see the image is updated as per the experience defined(Male)



  • Select a female user from persona and see the experience s updated.



 This ensures that our previously configured sample personalization is working fine in AEM 6.4

Demo Video:
 
Read More:

Personalization Basics & Steps to create Personalization in AEM 6.4

Create ContextHub in AEM 6.4

Create Brands in AEM 6.4  

Create Activity in AEM 6.4

Create Offers in AEM 6.4

Steps to configure personalization from brands, activity with a sample 

Test Configured personalization

Personalization in AEM 6.4 - Basic Configurations with example

Let us create a sample personalization component in 'We.Retail' site. We.Retail is a demo site pre-configured in AEM 6.4.

Ensure you have gone through Personalization Basics & Steps to create Personalization in AEM 6.4 before starting with this tutorial

We have authored the sample component in page : http://[host]:[port]/editor.html/content/we-retail/us/en/men.html


Once we open a We.Retail page we can see the  Edit option as below.




Selecting Targeting option as above image.
By default BRAND is selected with value 'We-Retail' as shown below.




All the Activities are listed for the selected brand as shown. We can also create a new activity by clicking on the (+) icon directly.




Since we have already created a brand and activity, I am going to select and proceed with it.

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'




Next window allows to add an experience. We can either select default or click on 'Add Experience Targeting' to create new if its not already created. Since I have already created an activity(Male) for my brand, I will select that. Click Next.



I can see my already configured experience here. If required, we can edit the settings in this section.



To test personalization we need atleast two experiences. I have a male experience available already. Click on Add experience and select female audiences.



Now the target section looks as below.



Leave the next screen as it is.




On clicking save, we get a message, 'Your activity was saved'.

Now go back to edit mode , author an image component in empty area of the page.



Now go back to target mode



Click on 'Start Targeting',



Click on Target icon, we get a message that component is now targeted.



From next screen select Male and author a male image.



Now Select Female and author a female image.



Click Next and save the targeting.

We are done with our Personalization Targeting using ContextHub and experiences. Let us test it now.

NEXT: In my next post I will explain how to test it.

Demo Video:
 

Read More:

Personalization Basics & Steps to create Personalization in AEM 6.4

Create ContextHub in AEM 6.4

Create Brands in AEM 6.4  

Create Activity in AEM 6.4

Create Offers in AEM 6.4

Steps to configure personalization from brands, activity with a sample 

Test Configured personalization

Personalization in AEM 6.4 - Basic Understanding

PREVIOUS: Create Activity in AEM 6.4

Personalization in AEM 6.4 can be done through Targets or ContextHubs


In AEM 6.4 personalization works based on;
  • Experience, 
  • Activities and 
  • ContextHub. 
Let us see how can we test a basic Personalization in AEM 6.4 by creating a sample. AEM 6.4 configuration is almost same as in AEM 6.3.  

Below are the steps to create personalization in Latest AEM.
  
 Let us understand some basic terms of personalization.


Follow the 'Read More' section in order to understand the steps involved in AEM 6.4 personalization.

NEXT:Detailed steps of creating Personalization is given in this post with an example.


Watch the demo video:
 

Read More:

Personalization Basics & Steps to create Personalization in AEM 6.4

Create ContextHub in AEM 6.4

Create Brands in AEM 6.4  

Create Activity in AEM 6.4

Create Offers in AEM 6.4

Steps to configure personalization from brands, activity with a sample 

Test Configured personalization

Create Offers For Personalization in AEM 6.4

 PREVIOUS: Create Brands in AEM 6.4  

Below are the steps to create personalization in Latest AEM.
  
In This post we are going to explain the Offers creation. As mentioned in our previous post,we can create activity through Activity or Offers section of Personalization.

Steps to create an Offer.
  • Traverse through Personalization > Offers






  • Select already created brand and click on create > Folder or Offer



  • Select Offer Page template under section 'Template' then click next.



  • Enter a title for the offer in properties section. Click on create.



  • Click on Open the page



  • The page will be opened with a basic templates


 

  • Sample components are authored as shown; (sample text and image).




This offers can now be authored/configured for personalization.

NEXT: Steps to configure personalization from brands, activity with a sample  

Video Demo: Offer Creation
 

Read More:

Personalization Basics & Steps to create Personalization in AEM 6.4

Create ContextHub in AEM 6.4

Create Brands in AEM 6.4  

Create Activity in AEM 6.4

Create Offers in AEM 6.4

Steps to configure personalization from brands, activity with a sample 

Test Configured personalization

Create Activity For Personalization in AEM 6.4

PREVIOUS: Create Brands in AEM 6.4  

Below are the steps to create personalization in Latest AEM.
   
In This post we are going to explain the Activity creation. As mentioned in the previous post,we can create activity through Activity or offers section of Personalization.

Steps to create an activity.

  • Go to the previously created brand, click on create > Create Activity.


  • In Details page fill out the details. Ensure ContextHub is selected as a target engine. We have 'client side AEM rules' and 'Adobe Target' as additional options.


  • In Target section, click on add experience and select an experience as per your needs.




  • (We have selected male)



  • Click on 'Add Experience' and provide an Experience Name and click OK.



  • Now the target section looks like this.



  • In Goals & Settings section update the duration and priority if required. Click on Save.



  • Now the newly created activity is listed below.



  • We also have edit options on selecting the created activity.




Read More:

Personalization Basics & Steps to create Personalization in AEM 6.4

Create ContextHub in AEM 6.4

Create Brands in AEM 6.4  

Create Activity in AEM 6.4

Create Offers in AEM 6.4

Steps to configure personalization from brands, activity with a sample 

Test Configured personalization

Wednesday, 16 May 2018

AEM 6.4 Content Fragment Basics


AEM 6.4 Supports Content Fragments to deliver content as a service.
Experience Fragments enables Experience-as-a-Service, where the CMS controls partial-page rendering, or Hybrid CMS, solutions that let you push your content to any channel — just as headless systems do — using a delivery tier that connects all those channels and shares data between them.

Content Fragments helps to project AEM as a headless CMS.

What is a content fragment?

  • Contains one or more Content Elements,
  • Content can have one or more  Variations.
  • Content fragment can be created based on templates which define the structure.
  • Content fragments are a type of new assets.
  • Content Fragment use existing Assets functionality & fully integrated with assets.
  • Content Fragments are well tied with Translation workflows, metadata schema.
        
A content fragment groups renditions, related items, associated items, metadata, model, elements, variations etc in a single Content.



Can we add a Content Fragment to a page?

Yes it can be added to a page using default content fragment component as other components.

Which is the API service for Content Fragments?
Latest AEM provides server side API com.adobe.cq.dam.cfm to programmatically interact with Content Fragments.



Related Posts

AEM Leading to head less CMS?
AEM Content Fragment output as JSON
AEM 6.3 Content Fragments Basics
How to create a Content Fragment? step by step tutorial
Create & Access the content fragment programmatically

YouTube demo videos for Content Fragments:
         AEM 6.3 Content Fragments Basics
         Content Fragments AEM
         View Content fragment output in aem





Create Brands in AEM 6.4 for Personalization

PREVIOUS: Create ContextHub in AEM 6.4

Through this post we are talking about AEM 6.4 Brands and method of creation of brands. In case if you are interested in 6.3 version of Brands follow this page.

Brands in AEM 6.4
To work with personalization, we need to create brands.

The personalization configuration page can be opened by clicking on Adobe Experience Manager link as below.

  • Login to AEM 6.4

  • Traverse through Navigation> Personalization> Activities>





Remember you can create Brand in both 'Activities' or 'Offers'

  • Click on Create Brand


  • Then in next screen(Template) select the Brand , click on Next

  • In 'Properties' screen enter title and select any tags if required. Then click on 'create'.

  • You will get a message that page is created and it will be listed under activities section

Note: The newly created brand will be listed under both Activity & Offers

If we are under Activity Section;
Under the new brand we have options to create Activity, Area, Area As Live Copy.





If we are under Offers Section;
Under the new brand we have options to create Folder or offer, Area, Area As Live Copy.




Based on the requirement we can now create any levels of various personalized content utilizing this brands.

NEXT: Create Activity in AEM 6.4

Read More:

Personalization Basics & Steps to create Personalization in AEM 6.4

Create ContextHub in AEM 6.4

Create Brands in AEM 6.4  

Create Activity in AEM 6.4

Create Offers in AEM 6.4

Steps to configure personalization from brands, activity with a sample 

Test Configured personalization