Adobe Launch to Create DataLayer JSON Object

eham06

17-10-2018

I desire to use Adobe Launch to create a DataLayer with a simple schema.

I have backend developers who will be pushing values to this DataLayer.

How can I use Adobe Launch to create a simple DataLayer?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Colorado_Phil

17-10-2018

Use the "Adobe ContextHub" Launch Extension with "Customized ContextHub Data layer" selected. Paste in your schema and save. When you create new data elements that use the Adobe ContextHub Extension you are presented a "Data Item" drop down list of the items listed in your data layer schema.

Rudi Shumper walks through it in this Launch, by Adobe - Demo (Updated) 3/1/18 - YouTube starting at 11:00.

Answers (3)

Answers (3)

Colorado_Phil

17-10-2018

Yes, completely separate from using or not using Adobe Launch, you should be able to see your data layer in the console. For example, if your data layer is located at window.digitalData you can see a formatted output of it by typing JSON.stringify(window.digitalData); in the console. For other debugging you can also use the Adobe Experience Cloud Debugger - Chrome Web Store extension for Chrome.

Good luck!

-Phil

p.s. Even though I mistyped Rudi's last name (it's Shumpert), don't forget to mark my above reply as the correct answer to your initial question.

eham06

17-10-2018

Phil,

I checked out Rudi's video.  Thanks.  Once you have this in place and deployed.  Can you inspect the data layer from a Chrome browser console?  If so, what are the steps?  Thanks...