Leveraging Custom Event Tracking in Airlines through airTRFX and airModules dataLayers

Katharina Warzel
|
September 15, 2023
|
1 min read

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 

  1. 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. 
Screenshot 2023-09-15 at 8.21.25 AM.png

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. 

 

  1. 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. 
Screenshot 2023-09-15 at 8.23.10 AM.png
  •  Open developer tools. 
Screenshot 2023-09-15 at 8.23.55 AM.png
  • Type dataLayer in the Console and press Enter. 

Screenshot 2023-09-15 at 8.24.43 AM.png

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. 

 
 

 

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