Adobe Launch to Create DataLayer JSON Object | Community
Skip to main content
Level 3
Oct 17, 2018 4:13 PM UTC
Solved

Adobe Launch to Create DataLayer JSON Object

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
philschmidt
philschmidtAccepted solution
Level 2
Oct 17, 2018 4:30 PM UTC

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.

4 replies

philschmidt
Level 2
Oct 17, 2018 7:16 PM UTC

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.

Translate
eham1906Author
Level 3
Oct 17, 2018 5:54 PM UTC

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...

Translate
eham1906Author
Level 3
Oct 17, 2018 4:50 PM UTC

Thanks for the quick response, Phil...

Translate
philschmidt
philschmidtAccepted solution
Level 2
Oct 17, 2018 4:30 PM UTC

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.

Translate