How to use the EM.dataLayer to create custom dataLayer objects in airTRFX

Katharina Warzel
|
September 15, 2023
|
1 min read

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:

image-20220920-162643.png

2. Use JavaScript to map the parameters from the EM.dataLayer

Screen-Shot-2022-09-28-at-10.56.11-AM.png

3. Insert the JavaScript paths to the TMS dataLayer object

Add the JavaScript paths to the corresponding variables:

Screen-Shot-2022-09-28-at-10.57.28-AM.png

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.

Related Products
Related Articles
Stay connected with our newsletter
Be the first to receive exciting news and updates delivered right to your inbox