Leveraging Custom Event Tracking in Airlines through airTRFX and airModules dataLayers
Introduction
In today's highly competitive airline industry, understanding customer behavior is more crucial than ever. You can accomplish this by integrating custom event tracking into airTRFX and airModules via your preferred tag manager. This can be done by leveraging the standard data layers provided by EveryMundo's products, namely airTRFX and airModules, using JavaScript.
Two Data Layers
airTRFX dataLayer
The airTRFX dataLayer allows for tracking page-level information. This data layer is embedded on every airTRFX page under the name EM.dataLayer.
Accessing the airTRFX 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.
airModules dataLayer
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 - Please reference the Open Source Github Project emDataStandards for more details about the meaning of each field.
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.