Adobe Target · updated
Using Adobe Target with AEM: Experience Fragments and Edge Delivery
AEM as a Cloud Service connects to Target in two parts: a Target configuration in AEM, which needs an IMS configuration, and the Target extension in Adobe's tag manager for the page libraries. With that in place authors can export Experience Fragments to Target as offers. On Edge Delivery Services, Adobe documents a Web SDK set-up in scripts.js and a legacy at.js one.
In plain words
Content authors build a reusable piece of a page in AEM, called an Experience Fragment. Exporting it sends it to Target, where a marketer can use it as one of the versions in a test or a personalised experience. The fragment stays managed in AEM. On Edge Delivery sites the connection is made in the site's code rather than in AEM settings.
AEM as a Cloud Service: what the integration needs
- A Target configuration made in the Touch UI under Tools > Cloud Services > Adobe Target. Adobe says an IMS configuration is required and that IMS integrations are now configured with server-to-server OAuth, as JWT credentials are being deprecated.
- Adobe Target added as an extension in Adobe's tag manager (Adobe's page calls it Launch). Adobe says Target libraries are only rendered by using it.
- For Experience Fragment export, a legacy cloud configuration as well. Adobe calls adding one a special case that is supported only for this export.
- The AEM Link Externalizer configured on the author instance, because fragments are exported from author and their references must work on the web.
Adobe notes that for most customers the Target tenant ID and client code are the same. Back-end calls to Target use the tenant ID; client-side calls use the client code.
Export formats
| Format | What Adobe says it supports |
|---|---|
| HTML (default) | Web and hybrid content delivery |
| JSON | Headless content delivery |
| HTML & JSON | Both |
Fragments are exported into the default workspace of Target, or into a user-defined workspace. Adobe explains that workspaces are defined in Adobe IMS and chosen through Adobe Developer Console; with Target Standard only the default workspace is available, and with Target Premium all workspaces are listed.
Two things that catch teams out
- Only a reference to media assets is exported. The image itself stays in AEM Assets and is delivered from the AEM publish instance, so Adobe says the fragment and its assets must be published before export.
- Only a web variation of an Experience Fragment can be exported.
Edge Delivery Services
The aem.live documentation supports two ways to integrate Target and recommends the Web SDK; at.js is described as legacy. Target changes the page after the blocks have been decorated, the call to Target happens in the eager phase and affects Largest Contentful Paint, and Adobe recommends switching the integration on only for pages that are tested or personalised, for example with a page metadata entry such as Target: on. The same page points to Edge Delivery's own experimentation features as something to check first.
In the Web SDK set-up, alloy.js is added to the site's repository, scripts.js configures it with the datastream ID and the organisation ID, asks for decisions with renderDecisions set to false, applies them with applyPropositions once blocks are decorated, and then reports the display.
How to export an Experience Fragment to Target
- Integrate AEM with Target: the Target configuration with IMS, and the Target extension in the tag property.
- Add the legacy Target cloud configuration that the export needs.
- In the Experience Fragments console, open Page Properties for the folder or fragment, choose the Cloud Services tab and select Adobe Target, then the configuration, the format, the workspace and, if needed, the externalizer domain.
- Publish the fragment and its assets.
- Select the fragment, a web variation, and choose Export to Adobe Target. If it was exported before, the button reads Update in Adobe Target.
- In Target, use the fragment as an offer in an activity.
Related tools and pages on this site
- Adobe tag, Web SDK and consent scan (finds at.js and its version on a live site)
- Edge Delivery Services how-tos
- Web SDK snippet builder (configure, sendEvent and an XDM skeleton)
- Target Delivery API request builder (free, runs in your browser)
Questions
Where do exported fragments appear in Target?
In the default workspace unless you chose another workspace in the fragment's or folder's cloud configuration.
Are images copied to Target?
No. Adobe says only a reference is exported; the asset stays in AEM Assets and is delivered from the publish instance.
Do I set the configuration on every fragment?
No. Adobe says a configuration added to the parent folder is inherited by all children, and one added to a fragment is inherited by all its variations.
Does Edge Delivery need at.js for Target?
No. aem.live recommends the Web SDK and keeps at.js as a legacy option.
Are you an Adobe partner for this work?
No. We are not an Adobe partner and are not affiliated with Adobe. This page summarises Adobe's public documentation.
Sources
- Adobe: Integrating with Adobe Target (AEM as a Cloud Service) (checked 13 Nov 2026)
- Adobe: Exporting Experience Fragments to Adobe Target (AEM as a Cloud Service) (checked 13 Nov 2026)
- aem.live: Configuring Adobe Target integration (Edge Delivery Services) (checked 13 Nov 2026)
Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.
Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.