Introduction
The EM dataLayer is a data structure with information related to the information displayed on the airTRFX page, used to create some custom dataLayer objects required by some Tag Management Systems like Tealium and Adobe.
All the available parameters of the EM dataLayer can be found in the following documentation: airTRFX.datalayer.json
How to find the EM.dataLayer in airTRFX
The EM.dataLayer can be found on any airTRFX page by simply typing ‘EM.dataLayer’ on the page:
2. Use JavaScript to map the parameters from the EM.dataLayer
3. Insert the JavaScript paths to the TMS dataLayer object
Add the JavaScript paths to the corresponding variables:
The same principles can be applied to any kind of data structure.
Once this is done, your custom dataLayer is ready to be published!