and want to migrate existing Experience Cloud solutions to Web SDK, you have a few options when it comes to structuring the data you send. As discussed in blog, dobe Experience Platform (AEP) must be sent as XDM and aligned with a dedicated XDM schema. But what if you want to send data to Analytics or Target, but NOT to AEP? For that, you can use the data object, a sibling to XDM in your network call payloads. As described below, the data object has properties that allow for a smooth migration of existing Experience Cloud solutions without requiring that it be associated with an XDM schema.
The data object can be passed with the Web SDK sendEvent and maps data directly to Adobe Experience Cloud services. This allows you to continue sending Adobe Analytics, Target, and Audience Manager parameters with their original values, maintaining continuity during migration. eliminates the need for an XDM schema for Experience Cloud solutions.
The example below illustrates how XDM data is used for AEP data, while the data object supports Experience Cloud solutions. We'll cover using the data object for each solution in future blogs, but for now, it's important to understand how the solutions read from the data object. Analytics variables under the data object are passed directly to Adobe Analytics, maintaining their original structure. Audience Manager values can be omitted entirely if server-side forwarding is enabled and are only necessary for custom variables. For Target, the data object maps values directly to mbox parameters. For example, data.__adobe.target.params appears in Target as the mbox parameter "params" for audiences.

Use Cases for the Data Object
The primary use case for using the data object is migrating Experience Cloud application libraries to Web SDK. Recall that the Web SDK can replace the traditional AppMeasurement and at.js libraries. For example, if you are looking to modernize an Adobe Analytics and Target implementation without interruption, you can use the data object to seamlessly migrate your solutions.
If you’re planning to transition to Adobe Experience Platform (AEP) in the future, the data object supports existing solutions while positioning you for AEP adoption. When the time comes to move to AEP, data object values can be mapped using Data Prep for Data Collection to XDM schemas or used in a hybrid approach with XDM and Data together.
The data object is also compatible with mobile implementations. With the Mobile SDK and the Edge Bridge Extension, you can leverage the data object while continuing to use your legacy Analytics setup.
Benefits of Using Data
Here are some key benefits of this method:
- Seamless Migration: The Tags rule "Update Variable" action to populate the data object mirrors the AppMeasurement.js “Set Variables” action, streamlining migration and lowering the learning curve.
- Retain Processing Rules: Since data is available in its original format, you can leverage your existing processing rules and avoid extensive reconfiguration. This is especially helpful for existing mobile implementations.
- Schema-Free Mapping: The data object maps directly to Analytics, eliminating the need to plan, create, and maintain a schema for Experience Cloud solutions. Additionally, this means Analytics data does not need to be restructured to fit an XDM schema – this is particularly useful for the products string!
- Future-Proof for AEP: The data object supports gradual adoption of AEP by enabling hybrid implementations using both XDM and data objects and easy mapping to XDM schemas when needed.
- Simplified Validation: Data object values can be validated directly in the browser’s developer tools Network tab, avoiding any reliance on tools like the AEP Debugger or Assurance to view mapped Analytics fields.
Keep These Things in Mind
Before diving into migrating your Analytics implementation, keep these tips in mind:
- AEP Compatibility: The data object doesn’t support Adobe Experience Platform use cases directly. For AEP, you’ll still need to define and use an XDM schema.
- Data Prep Flexibility: You can map data object fields to XDM schema paths using data prep (e.g., data.__adobe.analytics.pageName -> web.webPageDetails.name). Note that the data object will take precedence over XDM if they map to the same field.
- Event Forwarding: The data object is accessible for activation in Event Forwarding using arc.event.data paths, keeping your Tags implementation light and removing the need for additional mapping.
Conclusion
The data object variable streamlines the migration from legacy Experience Cloud libraries to Web SDK, offering a schema-free data collection approach that can help to accelerate adoption of Edge Data Collection. Stay tuned for future posts, where we’ll explore how to leverage the data object for migrating legacy solutions.