Data Layer Manager: Launch ExtensionWhat has your Data Layer done for you lately?
Welcome to Data Layer Manager:
an Adobe Launch Extension
Perhaps one of the most compelling reasons to move to Launch is the ability to improve page load time by taking advantage of the asynchronous library load and its ability to more intuitively handle Single Page Applications, which are becoming more and more common. Times are changing and evolving and that means that our Data Layer should as well.
Data Layer History
Event-Driven Data Layer
The Data Layer of new is an event-driven data layer, where data is pushed onto an array as actions on the site occur.
The Benefits of an Event-Driven Data Layer
The first benefit of this approach is that it will work with the asynchronous nature of Launch, because the events can be triggered at any time and handled by Launch. Deploying Launch asynchronously will lead to better page performance and faster page load times.
How application events, data layer events, the Data Layer Manager and Launch work together.
The second benefit of this approach occurs when working with Single Page Applications. You might have a scenario where the page loads and sections of the page are being pulled in dynamically, which means there might be a bit of a delay to when certain content appears. Because Data Layer events can be triggered at any time and handled by Launch, there is no issue with data loading later.
Data Layer Manager Launch Extension
To help with processing an event-driven Data Layer, Search Discovery has created an Extension for Launch, by Adobe called Data Layer Manager. You can install the extension from Launch or via Adobe Exchange. This extension dispatches custom events when payloads are pushed, manages payloads pushed prior to Launch Library Load, and provides a computedState object as an aggregated view of all payloads, akin to the old object style Data Layer.
The industry keeps moving forward. We have gone from hard-coded analytics implementations to tag managers using DOM-scraping to tag managers using static data layers and now to tag managers using event-driven data layers. Install the Data Layer Manager Extension today and read up on more detailed examples in our documentation. Have questions about this new methodology? Reach out to us and we would be happy to help you.