AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.
To target your Adobe Campaign newsletter, you need to first set up segmentation, which is only available in the Classic UI (for client context). After that you can create targeted experiences for Adobe Campaign. Both are described in this section.
To set up segmentation, you need to use the classic UI to set up the segments. The remaining steps can be performed in the standard UI.
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:
targetData.segmentCode == "MALE"
To create a brand:
To create a campaign:
To create experiences for segments:
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.
Email samples are only available in Geometrixx. Please download sample Geometrixx content from Package Share.
To create a newsletter with targeted content:
Create a newsletter with targeted content: Below Email Campaigns in Geometrixx Outdoors, click or tap Create > Page, and select one of the Adobe Campaign Mail templates.
In the newsletter, add a Text and Personalization component.
Add text into the Text and Personalization component, such as “This is the default.”
Click the arrow next to Edit and select Targeting.
Select your brand from the Brand drop-down menu and select your Campaign. (This is the brand and campaign you created earlier).
Click Start Targeting. You see your segments appear in the Audiences area. The default experience is used if none of the defined segments match.
By default, the email samples included with AEM use Adobe Campaign as the targeting engine. For custom newsletters, you may need to select Adobe Campaign as the targeting engine. When targeting, tap or click + in the toolbar, enter a title for the new activity, and select Adobe Campaign as the targeting engine.
Click 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.