Adobe Target integrated with AEM lets you create experiences customized for a target audience. With Adobe Target, you can create A/B tests, measure user response, and generate customized web content for targeted users.
Adobe Target for AEM Forms lets you create activities that enable image content for a target audience, and measure user response.
To use Target, configure it in AEM. To configure Target in AEM, see Integrating with Adobe Target.
Targeting works when your adaptive form is rendered using a host name or IP address. It fails when your adaptive form is rendered using localhost.
In Master Area of your brand, tap Create > Create Activity.
When you create an activity, you specify its details, target, and settings.
The Details section includes name, targeting engine, and objective. When you select Adobe Target as the targeting engine, you get Target cloud configuration option enabled. Choose your Target cloud configuration, provide the objective of the activity, and tap Next.
The Target section lets you add audience experience and name it. Click Add Experience to enable the Select Audience and Name Experience options. Tap Select Audience to see a list of audiences and their source. Select an audience from the Audience Name list. Tap Add Experience to name the experience, and tap Next.
The Goals & Settings section lets you schedule and prioritize your activity. Set the start date, end date, and priority of the activity, and tap Save.
The activity is now listed in your brand page.
To enable target, edit the .jsp file to include client libraries that your adaptive forms template uses.
For example, in the out-of-the-box implemenation, click Tools > CRXDE Lite.
In the CRXDE Lite address bar, type /libs/fd/af/components/page/base/head.jsp to edit the head.jsp file.
This implementaion uses simpleEnrollment template. In this implementation, modify the head.jsp file to include the following client libraries:
<cq:include path="clientcontext_optimized" resourceType="/libs/cq/personalization/components/clientcontext_optimized"/>
<cq:include path="config" resourceType="cq/personalization/components/clientcontext_optimized/config"/>
To enable target framework for adaptive forms, navigate to your form, and open it in edit mode.
To open a form in edit mode, tap Select, and then tap Open.
Alternatively, four buttons appear when you move your pointer over the form icon without selecting it. You can tap the Open button that appears, to open the form in edit mode.
To edit the image for an experience, select the experience, right-click on it, and click Edit in the menu.
To include an experience in the Target activity, click the + button that appears when you move your pointer over the experience that you defined.
If you include an experience in the target activity, ensure that you edit its image.
Visibility expression fails with Target.
An activity used for targeting syncs with the Target server. To check if your activity is in sync with the target server, check the status of your activity in your brand page.
Ensure that the status of the activity is Synced.
To validate Target behavior:
- Use targeting with wcmmode preview in the author mode
- Use targeting with wcmmode preview and wcmmode disabled in the publish mode
To monitor targeting for image components on your form, publish your images, activities, and adaptive form.
To see Target reports, on publish instance type: http://<hostname>:<port>/libs/cq/contentinsight/content/insight.html/content/forms/af/myAF
This implementation is not showing complete reports.
Workaround: Configure analytics server and add its configuration in AEM sidekick > Page > Page Properties > Cloud Services dialog. It lets you see a report similar to the one below: