Building airTRFX URLs using Variables: A Comprehensive Guide
Airlines with complex online marketing needs are increasingly adopting automation solutions like airTRFX to manage their web traffic and campaigns. One essential feature is the ability to create bulk URLs that automatically redirect users to the appropriate landing page.
Explore how to build airTRFX URLs using variables and template redirects efficiently.
How do airTRFX URLs with Variables Work?
In airTRFX, airlines can set up a template redirect URL. This URL will automatically redirect users to the relevant landing page, allowing the bulk URL generation process for online marketing campaigns.
For example, a URL like:
Will automatically redirect to:
For the airTRFX Redirect Rule to work correctly, the Reverse Proxy Rule (/redirect*) at the CDN level must be in place. Failing to do so will result in a 404 error.
It's worth noting that this method of URL redirection is not ideal for SEO interlinking. However, these variable-based URLs are perfect for campaign URLs from paid media channels.
How Does the Redirect URL Work?
The Redirect URL is constructed using four essential parameters:
|Site Edition (language-market ISO Codes)
|Case sensitive. Should align airTRFX site edition structure
|en-us, en-US, en (if only global editions are used) or en_us in some cases
- The Redirect URL structure must contain all four parameters, regardless of the page template.
- Both the origin and destination IATA codes should be valid and exist in the airTRFX route list.
Creating URLs in Bulk
The airTRFX system allows you to build URLs in bulk using these redirect rules.
The example will resolve in the following URL following the variables for each parameter:
- Site Edition: en-gb (edition=en-gb)
- Origin Airport Code: not used
- Destination Airport Code: &dest=EWR
- Template to City: tc=ci
Note: Because the variable used for the template example is tc=ci the final URL is a to-city page, and the origin is not used.
However, the parameter orig=XXX, regardless of the page template, must still be part of the redirect URL from a valid route in airTRFX .
airTRFX Template URL Parameter Guide
Examples with different templates
|Example – showcasing a subdirectory URL
- The URL will automatically redirect to the corresponding airTRFX page, assuming the route and landing page are active in the airTRFX system.
- If the route or airport codes haven't been yet or have already been deleted, the URL will redirect to the global site edition's hub page.
- If you see any additional parameters in your final URLs, please note that an additional “?” is not necessary.
- For adding UTM parameters, simply use the "&" symbol followed by the UTM parameter:
will redirect to:
- If airTRFX is hosted in a subfolder, the redirect rule starts after this subdirectory. Example: www.airline.com/deals/?edition=en-gb&orig=LHR&dest=EWR&tc=ci
The airTRFX system offers an incredibly efficient way to manage URLs for airline marketing campaigns. By understanding the nuances of the redirect rules, variables, and template codes, you can craft URLs that seamlessly funnel web traffic to the appropriate destination. However, keep in mind the SEO limitations and make sure that your CDN settings are configured correctly to avoid issues.