On this page: Review the implementation, delivery, and reporting prerequisites required to deliver code-based experiences to your apps and web pages.
To be able to use code-based experience actions in Journey Optimizer and deliver code content payload that can be used by your applications, follow the prerequisites below:
-
To add modifications to your applications, you must have a specific implementation. Learn more
-
For the code-based experiences to be delivered correctly, make sure you define the Adobe Experience Platform settings detailed here.
-
To enable data to display in your code-based experience reports, make sure you follow these reporting prerequisites.
-
When creating a code-based experience channel configuration, make sure you enter a string/path or a surface URI that matches the one declared in your own implementation. This ensures that the content is delivered to the desired location inside the specified app or page. Otherwise, the changes cannot be delivered. Read more
Implementation prerequisites
Code-based experience supports any type of customer implementation as shown in the options below. You can use either a client-side, server-side or a hybrid implementation method for your properties:
-
Client-side only – To add modifications to your web pages or mobile apps, you need to implement either the Adobe Experience Platform Web SDK on your website or the Adobe Experience Platform Mobile SDK on your mobile apps.
-
Hybrid mode – You can use the AEP Edge Network Server API to request for personalization server-side; the response is provided to the Adobe Experience Platform Web SDK to render the modifications client-side. Learn more in the Adobe Experience Platform Edge Network Server API documentation. You can find out more about the hybrid mode and check some implementation samples in this blog post.
-
Server-side - You can use the AEP Edge Network Server API to request for personalization server-side. Your development team must handle the response and render the modifications client-side in your app implementation.
You can find samples for each of the implementation methods above in this section.
Delivery prerequisites
For the code-based experiences to be delivered correctly, the following settings must be defined:
-
In the Adobe Experience Platform Data Collection, make sure you have a datastream defined such that under the Adobe Experience Platform service you have the Adobe Journey Optimizer option enabled.
This ensures that the Journey Optimizer inbound events are correctly handled by the Adobe Experience Platform Edge. Learn more
-
In Adobe Experience Platform, make sure you have one merge policy with the Active-On-Edge Merge Policy option enabled. To do this, select a policy under the Customer > Profiles > Merge Policies Experience Platform menu. Learn more
This merge policy is used by Journey Optimizer inbound channels to correctly activate and publish inbound campaigns on the edge. Learn more
-
To troubleshoot the delivery of Journey Optimizer web experiences, you can use the Edge Delivery view within Adobe Experience Platform Assurance. This plugin enables you to inspect request calls in detail, verify whether the expected edge calls occur as anticipated, and examine profile data, including identity maps, segment memberships, and consent settings. Additionally, you can review the activities the request qualified for and identify those it did not.
Using the Edge Delivery plugin helps you gain the insights needed to understand and troubleshoot your inbound implementations effectively.
Reporting prerequisites
To enable reporting for the code-based channel, you need to make sure the dataset used in your app implementation datastream is also included in your reporting configuration.
In other words, when configuring reporting, if you add a dataset that is not present in your app datastream, app data will not display in your reports.
Learn how to add datasets for reporting in this section.
AI Knowledge Reference
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: This page lists the implementation, delivery, and reporting prerequisites to follow to use code-based experience actions in Journey Optimizer and deliver code content payload that can be used by your applications.
Intents:
- Choose a client-side only, hybrid mode or server-side implementation method for your properties.
- Define the Adobe Experience Platform settings needed for code-based experiences to be delivered correctly.
- Enable data to display in your code-based experience reports.
- Troubleshoot the delivery of Journey Optimizer web experiences with the Edge Delivery view within Adobe Experience Platform Assurance.
Glossary:
- Client-side only: An implementation method where, to add modifications to your web pages or mobile apps, you implement either the Adobe Experience Platform Web SDK on your website or the Adobe Experience Platform Mobile SDK on your mobile apps.
- Hybrid mode: An implementation method where you use the AEP Edge Network Server API to request personalization server-side, and the response is provided to the Adobe Experience Platform Web SDK to render the modifications client-side.
- Server-side: An implementation method where you use the AEP Edge Network Server API to request personalization server-side, and your development team must handle the response and render the modifications client-side in your app implementation.
- Active-On-Edge Merge Policy (product-specific): A merge policy option in Adobe Experience Platform. The merge policy with this option enabled is used by Journey Optimizer inbound channels to correctly activate and publish inbound campaigns on the edge.
- Edge Delivery view (product-specific): A view within Adobe Experience Platform Assurance that enables you to inspect request calls in detail, verify whether the expected edge calls occur as anticipated, examine profile data, including identity maps, segment memberships, and consent settings, and review the activities the request qualified for and identify those it did not.
Guardrails:
- When creating a code-based experience channel configuration, if the string/path or surface URI does not match the one declared in your own implementation, the changes cannot be delivered.
- When configuring reporting, if you add a dataset that is not present in your app datastream, app data will not display in your reports.
Prerequisites and permissions:
- To add modifications to your applications, you must have a specific implementation: client-side only, hybrid mode or server-side.
- In Adobe Experience Platform Data Collection, make sure you have a datastream defined such that, under the Adobe Experience Platform service, the Adobe Journey Optimizer option is enabled. This ensures that the Journey Optimizer inbound events are correctly handled by the Adobe Experience Platform Edge.
- In Adobe Experience Platform, make sure you have one merge policy with the Active-On-Edge Merge Policy option enabled. To do this, select a policy under the Customer > Profiles > Merge Policies Experience Platform menu.
- To enable reporting for the code-based channel, make sure the dataset used in your app implementation datastream is also included in your reporting configuration.
- When creating a code-based experience channel configuration, make sure you enter a string/path or a surface URI that matches the one declared in your own implementation. This ensures that the content is delivered to the desired location inside the specified app or page.
Terminology:
- Canonical name: Adobe Experience Platform — Acronym: AEP — variants: Experience Platform
- Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
- Canonical name: Time-to-live — Acronym: TTL — variants: Time-To-Live
- Canonical name: Edge Delivery view — variants: Edge Delivery plugin
FAQ:
- Which implementation methods does code-based experience support? Code-based experience supports any type of customer implementation: you can use either a client-side, server-side or a hybrid implementation method for your properties.
- What happens if the string/path or surface URI of the code-based experience channel configuration does not match my implementation? The changes cannot be delivered.
- When does app data not display in my code-based experience reports? When configuring reporting, if you add a dataset that is not present in your app datastream, app data will not display in your reports.
- Does the dataset used for reporting affect data collection or data ingestion? No. The dataset is used read-only by the Journey Optimizer reporting system and does not affect data collection or data ingestion.
- How can I troubleshoot the delivery of Journey Optimizer web experiences? You can use the Edge Delivery view within Adobe Experience Platform Assurance.
Best practices:
- When targeting pseudonymous profiles (unauthenticated visitors) with your code-based experiences, consider setting a Time-To-Live (TTL) for automatic profile deletion to manage your engageable profile count and associated costs.
Related pages:
- To create the channel configuration where you enter the string/path or surface URI: code-based experience channel configuration
- To read more about the string/path or surface URI that must match your implementation: Code-based surface
- To learn more about TTL for pseudonymous profiles: Journey Optimizer guardrails and limitations
- To find samples for each implementation method: Code-based implementation samples
- For the dataset used in your app implementation datastream: dataset
- To learn how to add datasets for reporting: Configure Journey Optimizer reporting for experimentation
Personas:
- admin: Can define a datastream in Adobe Experience Platform Data Collection with the Adobe Journey Optimizer option enabled under the Adobe Experience Platform service. Can enable the Active-On-Edge Merge Policy option on one merge policy from the Customer > Profiles > Merge Policies Experience Platform menu. Can use the Edge Delivery view within Adobe Experience Platform Assurance to troubleshoot the delivery of Journey Optimizer web experiences. Can include the dataset used in the app implementation datastream in the reporting configuration. The page states that if you add a dataset that is not present in your app datastream, app data will not display in your reports. Where: “Delivery prerequisites”.
Onboarding:
- Level: Experienced
- First minimal step: In Adobe Experience Platform Data Collection, define a datastream with the Adobe Journey Optimizer option enabled under the Adobe Experience Platform service.
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe Journey Optimizer Roadmap Webinar - Americas & EMEA
Preview the Adobe Journey Optimizer roadmap and ask the product team questions.
Adobe Journey Optimizer Roadmap Webinar - Americas & APAC
Preview the Adobe Journey Optimizer roadmap and ask the product team questions.