[FYI] Adobe Experience Platform Data Collection
- Deploy the Adobe Experience Platform Web SDK and send data to the Adobe Experience Platform Edge Network
Data is currently sent to Adobe Solutions and Partner Solutions Client-side with individual requests
With Adobe Experience Platform Web SDK and RTCDP Connections, these requests are consolidated into a single Client-side request and forwarded Server-side:
In this Lab you will be creating your own Datastreams and Tags to stream data to the Experience Platform Edge Network
- Navigate to Tags under Data Collection in the left hand menu.
- In the list of Tag Properties, search for [T] to find the Template for this lab.
- Check the box next to the Property [T] AEP Bootcamp Luma Retail [2024] (web).
- Select Copy from the top right of the screen.
- Prefix this new Tag Property with your name. E.g. [your name] - AEP Bootcamp Luma Retail [2024] (web)
- Click Copy.
A Datastream tells the Adobe Edge servers where to send the data after it is collected by Web SDK. For example, do you want to send the data to Adobe Experience Platform? Adobe Analytics? Adobe Audience Manager? Adobe Target?
- Navigate to Datastreams under Data Collection in the left hand menu.
- Select New Datasream.
- Name your Datastream. E.g. [your name] - AEP Bootcamp Datastream
- For the Event Schema, select Demo System - Event Schema for Website (Global v1.1) from the drop down.
- Click Save.
Now you will to add Services to your Datastream, to do this
- Select Add Service.
- Choose Adobe Experience Platform from the drop down.
- For the Event Dataset, select Demo System - Event Dataset for Website (Global v1.1) from the drop down.
- For the Profile Dataset, select Demo System - Profile Dataset for Website (Global v1.1) from the drop down.
- Leave all other settings as the default.
- Click Save.
Now let’s take a deeper look at the building blocks of Adobe Experience Platform Data Collection, to understand what is installed on your AEP Demo website. You will have a closer look at the Adobe Experience Platform Web SDK Extension, you’ll configure a Data element and a Rule and you’ll learn how to publish a library.
- In the Tags Property you created in step 1, select Extensions from the left hand menu.
- Click on the Adobe Experience Plaform Web SDK tile, a menu will appear on the right hand side.
- Click Configure.
- Scroll down to the Datastreams section.
- For each of the environments, choose the Datastream you just created from the drop downs.
- Click Save.
Return to your Tag Property.
- Select Data Elements from the left hand menu.
In Data Elements we map data relating to the page from the Data Layer on the website and store them in our Data Elements. We can then reference these in our Rules. For this lab we will not create any new Data Elements, instead you can review the existing data elements in your Tags Property.
We will now map these Data Elements to a new XDM Object Data Element, ready to be sent to Adobe Experience Platform.
- Search for the Data Element XDM - Product View
- Take a look at the mappings that have been configured on the Edit Data Element screen:
The Event schema for the Demo Website is already selected, do not change this as you will need to remap all values if removed
For example, the screenshot adove shows the mapping of the Product name to the relevany XDM field. We configure these XDM Object Data Elements for all the events we want to send to the Adobe Experience Platform from the website.
- Click Cancel to close this window.
Tags in Adobe Experience Platform follow a rule-based system. They look for user interaction and associated data. When the criteria outlined in your rules are met, the rule triggers the extension, script, or client-side code you identified.
Return to your Tag Property.
- Select Rules from the left hand menu.
- Search for the Rule Product View so we can see how the XDM Object Data Element in the last exercise is used.
The Rule consists of:
- An Event that will trigger the Action on load of the website page.
- A Condition that checks if that page is a product page. The rule will only trigger the Action on the product pages.
- An Action that sends the Product View Experience Event to the Adobe Experience Platform.
Let's take a closer look at the Action.
- Click on the Send "Product View" Experience Event Action.
Under Data you will see the XDM - Product view Data Element we looked at in the previous exercise is selected. This will send a product view event with our mappings to our Dataset in the Adobe Experience Platform.
- Click Cancel.
- Open the Demo Website.
- Sign in to the AEP Debugger.
- In the Experience Platform Web SDK configuration, select your property and embed code (dev).
- Refresh the webpage.
- Examine the payload in the AEP Web SDK tab.
You will now see your data successfully sent to the Edge.