Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Adobe Launch to build & manage a Data Layer?

eham06
Level 4
Level 4

We have Adobe Analytics and will be deploying Adobe Launch.  We are not using Adobe Experience Manager and don't have plans to ever use it.  We want to use Adobe Launch to deploy and manage our data layer.  I heard that the Adobe ContextHub extension in Adobe Launch can be used to build/manage our data layer.  In general, what's the best way to leverage Adobe Launch to build and manage a data layer?

1 Accepted Solution
aseelund
Correct answer by
Level 3
Level 3

On a dynamic SPA site that I'm working with right now, we have no server generated data layer. however, I've added two sequential scripts that first: defined window.digitalData and some assumed static properties.

The second uses Object.assign() to merge a new object with actual data into the existing digitalData structure.

This enabled a semi-dynamic data layer, that was created at pageload, but before the initial pageBottom trigger was fired.

View solution in original post

3 Replies
aseelund
Correct answer by
Level 3
Level 3

On a dynamic SPA site that I'm working with right now, we have no server generated data layer. however, I've added two sequential scripts that first: defined window.digitalData and some assumed static properties.

The second uses Object.assign() to merge a new object with actual data into the existing digitalData structure.

This enabled a semi-dynamic data layer, that was created at pageload, but before the initial pageBottom trigger was fired.

View solution in original post

EHAM06-EYgGqp
Level 1
Level 1

Thanks... Do you have sample code that you can share for this?

Thanks

eham06
Level 4
Level 4

Thanks for the reply.  Do you have sample code for this that you can share?  Thanks...