Pass digital data layer to Adobe analytics using javascript | TO THE NEW Blog

General News

Summary

In general, data is passed to Adobe Analytics on page load. Without loading a page, content can be fetched from the server side using javascript/ajax and the current page DOM can be replaced with the latest DOM fetched by making an Ajax call. If a digital data layer is available(if set on the server side) on the page DOM, extract it out and put it in the success method after step #2. If the digital data layer is not available in the fetched DOM, create and initialize values in the success method itself after step #2. Once digital data layer initialization is done, add the _satellite.track(‘ajaxPageLoad’); as a last line of the success method.

Classifications

industries
Media and Publishing
applications
Web and Content Management

AskAI Classifications

Labels
No AI classifications detected

Linked Companies