Leveraging Custom Event Tracking in Airlines through airTRFX and airModules dataLayers
Two Data Layers
The airTRFX dataLayer allows for tracking page-level information. This data layer is embedded on every airTRFX page under the name EM.dataLayer.
To find the airTRFX dataLayer, follow these simple steps:
- Navigate to any airTRFX page.
- Open the browser’s developer console.
- Type EM.dataLayer in the Console and press Enter.
By doing this, you will get access to the airTRFX dataLayer file, which will provide you with valuable information for your custom event tracking setup.
Unlike the airTRFX dataLayer, which focuses on page-level information, the airModules dataLayer is more dynamic. It also tracks viewable impressions and updates as users interact with modules on the site.
Accessing the airModules dataLayer is straightforward:
- Interact with any airModule on the airTRFX page.
- Open developer tools.
Type dataLayer in the Console and press Enter.
The list of events by vertical can be found in the section “List of Event Actions” after selecting a specific vertical here.
All in all, these events offer a comprehensive view of user interactions, which you can leverage for more effective marketing and user experience strategies.