Implement Adobe Analytics using the Adobe Experience Platform Web SDK

You can use the Adobe Experience Platform Web SDK to send data to Adobe Analytics. This implementation method works by translating the Experience Data Model (XDM) into a format used by Analytics. You can send data to the Adobe Experience Platform Edge Network using the Web SDK JavaScript library or the Web SDK tag extension.

Web SDK

A high-level overview of the implementation tasks:

How to implement Adobe Analytics using Web SDK workflow, as described in this section.

Task
More Information
1
Ensure you have defined a report suite.
Report Suite Manager
2
Setup schemas. To standardize data collection for use across applications that leverage Adobe Experience Platform, Adobe has created the open and publicly documented standard, Experience Data Model (XDM).
Schemas UI overview
3
Create a data layer to manage the tracking of the data on your website.
Create a data layer
4
Install the prebuilt standalone version. You can reference the library (alloy.js) on the CDN directly on your page or download and host it on your own infrastructure. Alternatively, you can use the NPM package.
Installing the prebuilt standalone version and Using the NPM package
5
Configure a datastream. A datastream represents the server-side configuration when implementing the Adobe Experience Platform Web SDK.
Configure a datastream
6
Add an Adobe Analytics service to your datastream. That service controls whether and how data is sent to Adobe Analytics and to which report suite(s) specifically.
Add Adobe Analytics service to a datastream
7
Configure the Web SDK. Ensure the library that you installed in step 4 is properly configured with the datastream ID (formerly known as edge configuration id (edgeConfigId)), organization id (orgId), and other available options. Ensure proper mapping of variables.
Configure the Web SDK
XDM object variable mapping
8
Execute commands and/or track events. After the base code has been implemented on your webpage, you can begin executing commands and tracking events with the SDK.
Send events
9
Extend and validate your implementation before pushing it out to production.

Web SDK extension

A high-level overview of the implementation tasks:

How to implement Adobe Analytics using Web SDK extension workflow, as described in this section.

Task
More Information
1
Ensure you have defined a report suite.
Report Suite Manager
2
Setup schemas. To standardize data collection for use across applications that leverage Adobe Experience Platform, Adobe has created the open and publicly documented standard, Experience Data Model (XDM).
Schemas UI overview
3
Create a data layer to manage the tracking of the data on your website.
Create a data layer
4
Configure a datastream. A datastream represents the server-side configuration when implementing the Adobe Experience Platform Web SDK.
Configure a datastream
5
Add an Adobe Analytics service to your datastream. That service controls whether and how data is sent to Adobe Analytics and to which report suite(s) specifically.
Add Adobe Analytics service to a datastream
6
Create a tag property. Properties are overarching containers used to reference tag management data.
Create or configure a tag property for web
7
Install and configure the Web SDK extension in your tag property. Configure the Web SDK extension to send data to the datastream configured in step 4.
Adobe Experience Platform Web SDK extension overview
8
Iterate, validate, and publish to production. Embed code to include your tag property to your web site pages. Then use data elements, rules, and so on, to customize your implementation.
Embed code
Publishing overview

Additional resources

Tags can be highly customized. Learn more about how you can get the most out of Adobe Analytics by including the right data in your implementation.

recommendation-more-help
b4f6d761-4a8b-4322-b801-c85b9e3be690