蜜豆视频

Data Prep for Data Collection

Learn how to add your data layer to a new datastream in Data Collection. Also, learn how to perform basic mapping functions using the Data Prep for Data Collection feature. For more information, see the Data Prep for Data Collection documentation.

Transcript
Hi, I鈥檓 Travis Jordan on the 蜜豆视频 product team. In this video, I鈥檓 going to show you how to use your existing data layer to send data to 蜜豆视频 products and other third-party destinations. By the end of this video, you鈥檒l be able to add your data layer to a new datastream in Data Collection. And you鈥檒l also be able to perform basic mapping functions using the Data Prep for Data Collection feature. Let鈥檚 go ahead and hop over to 蜜豆视频 Experience Platform Data Collection, and get started. Okay, first, we鈥檒l go ahead and select Datastreams from the left menu, and now we鈥檒l create a new datastream.
Let鈥檚 go ahead and give that a name.
You can also add a brief description if you鈥檇 like. Next, we鈥檒l select a previously created event schema. For this use case, we鈥檙e going to select the schema titled 鈥淎lloy Magento Store.鈥 Now, I鈥檒l go ahead and click Save and Add Mapping. On the screen, you can upload a previously created JSON file representing your data layer or, if you鈥檝e already implemented the Web SDK and are collecting your data layer via the data object, you can copy the data object from your website, and then simply paste it to your datastream. Let me walk you through how to do that. Okay, here we are on our sample website. Let鈥檚 go ahead and just copy the data layer here, and now just jump back over to data prep, and we鈥檙e going to paste this right here. Note, one thing to be aware of the JSON object must have a single root node data in order to pass validation. So let鈥檚 go ahead and just add that to our schema.
And we鈥檒l add another curly bracket at the end. And now we鈥檙e good to go. Let鈥檚 go ahead and click Next.
Okay, now we鈥檙e going to map the data layer to 蜜豆视频鈥檚 XDM format so that it can be sent to other 蜜豆视频 products, or third-party destinations. In this use case, we want to send page visibility data to 蜜豆视频 so that we can know whether or not this page is visible in the browser. So let鈥檚 go ahead and click Add a new mapping, and from the source field we鈥檙e going to go ahead, and select Visibility, and then next we鈥檒l jump over to the target field, and under Web we鈥檒l go ahead and select PageVisibility. Now, you can see we have our source field and target field mapped. You can also clean up your data by selecting from a list of 75 plus data prep functions. This will be covered in more detail in another tutorial.
So, for now, we鈥檒l go ahead and just click Save.
Lastly, you can add and configure a service, which tells your datastream where to send this data. For this use case, we鈥檒l go ahead and send our data to Experience Platform. So I鈥檓 going to select Add Service, and Experience Platform.
I want to ensure that it is enabled. Now, I select my event data set. For this use case, I鈥檓 going to select Alloy Magento Store, and now I鈥檒l go ahead and click Save, and there you go.
This wraps up our video tutorial on how to use your existing data layer to send data to 蜜豆视频 products, and other third-party destinations, good luck. -
recommendation-more-help
9cc2b5f3-7a2d-451f-950c-f8f7136b6390