May 9, 2020
Estimated Post Reading Time ~

Teaser Creation & Interacting with Segments in CQ5 - Campaign creation in CQ5

To implements Teasers in CQ5, we need to interact with the Segment, Campaign, Teaser.
  1. The segment can hold the condition(Rule for the teaser to be load)
  2. The campaign can hold teasers
  3. The teaser can hold the customized content 
1) First of all, need to declare the segment in http://localhost:4502/siteadmin#/etc/segmentation
Here we need to declare the segment, means rule, to be filtered our teaser on the page.

Segment creation in cq5

2) Declare the Campaign in http://localhost:4502/siteadmin#/content/campaigns
Here declare our root campaign

Campaigns in cq5

3) Finally declare teaser in http://localhost:4502/siteadmin#/content/campaigns/our-campaign/
Here our-campaign refers to the newly created campaign.
Under this need to create the teaser, and edit the teaser which is declared in section-3, add the customized content as per our requirement.



Creating a Teaser in cq5

Now include this Teaser on our page

Drag the Teaser component from the sidekick into our page. And mention fields as,
Campaign Path : /content/campaigns/our-campaign
Strategy* First or Random or Clickstream score

Then test your teaser as mentioned rule in the segment.



Now you will get the customized content based on the condition which is mentioned in the segment.


By aem4beginner

No comments:

Post a Comment

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