To target your Adobe Campaign newsletter, you need to first set up segmentation, which is only available in the Classic UI. After that you can create targeted experiences for Adobe Campaign. Both are described in this section.
Targeting your Adobe Campaign
To set up segmentation, you need to use the classic UI to set up the segments. The remaining steps can be performed in the touch-optimized UI as well.
Setting up segmentation includes creating segments, a brand, campaign, and experiences.
Segment ID needs to be mapped to the one on the Adobe Campaign side.
To create segments:
Create a new page and enter a title - for example, AC Segments - and select the Segment template.
Select the created page in the tree view on the left-hand side.
Create a segment, for example targeting male users, by creating a new page under the segment you created called Male and select the Segment (Adobe Campaign) template.
Open the created segment page and drag and drop a Segment ID from the sidekick onto the page.
Double-click the trait, enter the ID representing in this case, the male segment defined in Adobe Campaign - for example, MALE - and click OK. The following message should appear: targetData.segmentCode == "MALE"
Repeat the steps for another segment, for example, a segment targeting female users.
To create a brand:
In Sites, navigate to the Campaigns folder (for example in Geometrixx Outdoors).
Click Create Page and enter a title for the page, for example Geometrixx Brand and select the Brand template.
To create a campaign:
Open the Brand page you just created.
Click Create Page and enter a title for your page, for example, Geometrixx Campaign, and select the Campaign template.
To create experiences for segments:
Open the Campaign page you just created.
Create experiences for your segments by clicking Create Page and entering a title for your page, for example, Male as you are creating an experience for the Male segment, and select the Experience template.
Open the created Experience page
Click Edit, then below Segments click Add Item.
Enter the path to the male segment, for example /etc/segmentation/ac-segments/male and click OK. The following message should appear: Experience is targeted at: Male
Repeat the previous steps to create an experience for all segments, for example the female target.
After you have created segments, a brand, a campaign, and an experience, you can create a newsletter with targeted content. After creating the experience, you link experiences to your segments.
You can create the newsletter with targeted content in both the touch-optimized and classic user interface. This document describes the procedure for the touch-optimized ui.
To use the touch-optimized UI, you must have Feature Pack 6576 installed. Contact Customer Support for information on how to obtain this feature pack.
To create a newsletter with targeted content:
Create a newsletter with targeted content: Below Email Campaigns in Geometrixx Outdoors, click or tap Create > Create Page, and select one of the Adobe Campaign Mail template.s
In the newsletter, add a Text and Personalization component. Click the arrow next to Edit and select Targeting.
Add text into the Text and Personalization component, such as "This is the default."
Select Test Brand from the Brand drop-down menu and select the Test Campaign. (This is the brand and campaign you created in step 1).
Click Start Targeting. You see your segments appear under Activity. The default experience is used if none of the defined segments match.
Click on default and then the Text and Personalization component you added and you see the Bullseye with an arrow in it. Click the icon to target this component.
Navigate to another segment (Male), and click Add offer and click the plus icon +. Then edit the offer.
Navigate to another segment (Female) and click Add offer and the plus icon +. Then edit this offer.
Click Next to see Mapping, then click Next to see Settings, which does not apply to Adobe Campaign, and click Save.
AEM automatically generates the correct targeting code for Adobe Campaign when the content is used in a delivery inside Adobe Campaign
In Adobe Campaign, create your delivery - select Email delivery with AEM content and select the local AEM account, as appropriate and confirm your changes.
In the HTML view, the different experiences of targeted components are enclosed in Adobe Campaign targeting code.
If you also set the segments up in Adobe Campaign, clicking Preview will show you the experiences for each segment.