You're viewing help content for version:

As part of the integration of AEM and Adobe Target, you need to register with Adobe Target, configure the replication agent, and secure activity settings on the publish node. In addition, if you would like to use AT.js as your client library, you must install Feature Pack 11577.

Registering with Adobe Target

To integrate AEM with Adobe Target, you must have a valid Adobe Target account. This account must have approver level permissions at a minimum. When you register with Adobe Target, you receive a client code. You need the client code and your Adobe Target login name and password to connect AEM to Adobe Target.

The Client Code identifies the Adobe Target customer account when calling the Adobe Target server. 


Your account must also be enabled by the Target team in order to use the integration.

If it's not the case, please contact Adobe Target Customer Care.

Enabling the Target Replication Agent

The Test and Target replication agent must be enabled on the author instance. Note that this replication agent is not enabled by default if you used the nosamplecontent run mode for installing AEM. For more information about securing your production environment, see the Security Checklist.

  1. On the AEM home page, click or tap Tools > Operations > Replication.

  2. Click or tap Agents On Author.

  3. Click or tap the Test and Target (test and target) replication agent, and then click or tap Edit.

  4. Select the Enabled option, then click or tap OK.


    When you configure the Test and Target replication agent, in the Transport tab, the URI is set by default to tnt:///. Do not replace this URI with

    Please note that if you try to test the connection with tnt:///, it will throw an error. This is expected behavior as this URI is for internal use only and should not be used with Test Connection

Securing the Activity Settings Node

You must secure the activity settings node cq:ActivitySettings on the publish instance so that it is inaccessible to normal users. The activity settings node should only be accessible to the service handling the activity synchronization to Adobe Target.

The cq:ActivitySettings node is available in CRXDE lite under /content/campaigns/nameofbrand under the activities jcr:content node; for example /content/campaign/we-retail/master/myactivity/jcr:content/cq:ActivitySettings. This node is only created after you target a component.

The cq:ActivitySettings node under the activity's jcr:content is protected by the following ACLs:

  • Deny all for everyone
  • Allow jcr:read,rep:write for "target-activity-authors" (author is a member of this group out of the box)
  • Allow jcr:read,rep:write for "targetservice"

These settings ensure that normal users do not have access to the node properties. Use the same ACLs on author and on publish. See User Administration and Security for more information.

Configuring the AEM externalizer

When editing an activity in Adobe Target, the URL points to localhost unless you change the URL on the AEM author node.

To configure the AEM externalizer:

  1. Navigate to the OSGi web console at http://<server>:<port>/system/console/configMgr.

  2. Find Day CQ Link Externalizer and enter the domain for the author node.


Installing Feature Pack 11577

The new Target Library file, AT.JS, is a new implementation library for Adobe Target that is designed for both typical web implementations and single-page applications. 

AT.js offers several improvements over the mbox.js library:

  • Improved page load times for web implementations
  • Improved security
  • Better implementation options for single-page applications
  • AT.js contains the components that were included in target.js, so there is no longer a call to target.js
See Target release notes for more information.

AT.js is only compatible with AEM and Adobe Target Cloud Services configuration if you have Feature Pack 11577 installed. Out of the box, AEM 6.2 uses mbox.js for client-side integration. With this feature pack, you select whether to use AT.js or mbox.js for client-side integrations. This feature pack is available via PackageShare.


You must install the following on author and publish before you can install Feature Pack 11577:

1. Hotfix 12785

2. AEM 6.2 Service Pack 1

To install the feature pack:

  1. Navigate to PackageShare and download and install hotfix 12785 on both author and publish instances.

  2. Download and install AEM 6.2 Service Pack 1 on both author and publish instances.

  3. Download and install Feature Pack 11577 on both author and publish instances.