How to use the EM.dataLayer to create custom dataLayer objects in airTRFX
Introduction
The EM dataLayer, which contains information related to the content displayed on the airTRFX page, serves as a tool to create custom dataLayer objects needed by certain Tag Management Systems like Tealium and Adobe. How to use the EM.dataLayer to create custom dataLayer objects?
Using the EM dataLayer unlocks a realm of possibilities for precision-tailoring your digital marketing strategies. It also empowers you to leverage the full potential of advanced Tag Management Systems like Tealium and Adobe, thereby enhancing your data-driven decision-making process.
All the available parameters of the EM dataLayer can be found in the following documentation: airTRFX.datalayer.json
1. How to find the EM.dataLayer in airTRFX
You can find the EM.dataLayer 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!
In conclusion, mastering the art of harnessing the EM dataLayer can change the game for your digital marketing endeavors. Also, by creating custom dataLayer objects tailored to your specific needs, you unlock a world of opportunities to optimize your strategies and remain at the forefront of the digital landscape.