This guide will take you through the different how to setup the Adobe Experience Platform Web SDK in Launch. To be able to use this feature you need to be whitelisted. If you would like to get on the waiting list please reach out to you CSM.
- Have a 1st-party domain (CNAME) enabled. If you already have a CNAME for Analytics, you should use that one. Testing in development will work without a CNAME but you will need one before you go to production
- Be entitled to Adobe Experience Platform Data Platform. If you have not purchased Platform we will provision you with Experience Platform Data Services Foundation for use in a limited fashion with the SDK at no extra charge.
- Be using the latest version of the Visitor ID service
Create an configuration ID
You can create a configuration ID using the edge configuration tool in launch. This will allow you to enable the Edge Network to send data to the various solutions. Details for how to find each option are found in the Edge Configuration Tool Page.
Your organization must be whitelisted for the feature. Please contact your CSM to get put on the list for eventual whitelisting.
Prepare a Schema
The Experience Platform Edge Network takes data as XDM. XDM is a data format that lets you define schemas. The schema defines how the Edge Network expects the data to be formatted. To send data you will need to define your schema.
- Add the Adobe Experience Platform Web SDK mixin to the schema you created
Install the SDK in Launch
Log in to Launch and install the AEP Web SDK extension. As part of installing the SDK, you will be prompted to configure the extension. Enter the Config ID you requested above. The extension automatically fills in your Organization ID.
For more details on different configuration options, see Configuring the SDK .
Create a Data Element Base on Your Schema
In launch create a Data Element that references the schema by changing the extension to AEP Web SDK and setting the type to XDM Object. This will load up your schema and allow you to map data elements into different parts of the schema.
Send an event
After the extension is installed, start sending events by adding a "sendEvent" action from the AEP Web SDK extension to a rule. Be sure to add the data element you just created to the event as the XDM data. We recommend that you send at least one event every time a page is loaded.
For more details on how to track events, see Tracking Events .