<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=128060241156018&amp;ev=PageView&amp;noscript=1">

LetMeAllez guide

To help ease the transition to Stay22’s Allez product from your existing deep link integration, we’re providing a tiny script that will transform all compatible links into Stay22’s Allez links. This is a drop-in script, meaning you just drop it in your <head> or bottom of <body> and it will automatically work!



  • All the Allez features
  • Does NOT permanently change your links. This is simply running on the client after the page is loaded. In case you want to revert, kindly remove the script and recover the links :)
  • Automatically inserts helpful campaignIds for you per page
  • Supports for short links, dns links, or hidden/obfuscated links.
  • Attempts to fix your broken links and 404s using direct supplier APIs. Because every link and click counts.
  • Also supports to be installed on gTag manager

Adding letmeallez.js to your site

To install the script tag, copy the following code and paste it anywhere in the <body> or <head> tag on every page you need to transform the links (technically you should only need to install it ONCE globally in your footer or header file). You can even have it pasted through your Google tag manager.

Don’t forget to plug in your AID inside the script, in between the quotes! If you don’t have one, login or register your account: https://hub.stay22.com/

<!-- Let me Allez (letmeallez.js) - Stay22 -->
(function (s, t, a, y, twenty, two) {
s.Stay22 = s.Stay22 || {};

// Just fill out your configs here
s.Stay22.params = {

// Leave this part as-is;
twenty = t.createElement(a);
two = t.getElementsByTagName(a)[0];
twenty.async = 1;
twenty.src = y;
two.parentNode.insertBefore(twenty, two);
})(window, document, "script", "https://scripts.stay22.com/letmeallez.js");

The script above is all you need to get those links changed automatically!

If you have Allez links already set up, this won’t affect them and we recommend using Stay22’s Allez links going forth in tandem.


Advanced Parameters to customize your LetMeAllez Script

Below table lists out the advanced parameters that you can use to customize your LetMetAllez script to your needs.

Param name Value Description
deepStruct List of specific link formats for LMA script to look out for, each one wrapped in quotations. If there are more than one, separate them with a comma. Support for short links, dns/pretty links or hidden/obfuscated links.
When used, LMA will look for the specifically listed link format provided. It is recommended that if you use short linking that you activate this parameter to ensure we aren’t missing your links.
excludes List specific suppliers in quotations and if there are more than one, separate them with a comma. Forgoing suppliers
When used, LMA will ignore the listed suppliers and will not convert their links.
preserveCampaign false (default) / true Keeping Your custom campaignIDs in your supplier links
When set to true, your custom campaignID used in your original supplier links will be saved as one of the campaignIDs. NOTE: this param will only work for Booking.com links
Example of LetMetAllez Script format with advance parameters:

Advance parameters can all be used together at once or individually as needed.

// Just fill out your configs here
s.Stay22.params = {
excludes: ["vrbo", "tripadvisor"],
preserveCampaign: true,
deepStruct: [
LMA’s current supported supplier list:
  • booking
  • expedia
  • vrbo
    • incl. abritel
    • incl. fewo-direkt
    • incl. stayz
    • incl. bookabach
  • tripadvisor
  • hotelscombined
  • hotelscom
  • kayak
    • incl. momondo
    • incl. cheapflights
    • incl. swoodoo
    • incl. checkfelix
    • incl. mundi
  • trivago


Redirecting Rules

  • Hotelscombined links will be redirected to booking.com
  • Everything else will be redirected to its respective supplier’s website
  • If the link is broken, we will attempt to fix it using the supplier’s API or fallback to search results
  • We always optimize for geographical location of the user (e.g: if you’re in the UK, we’ll redirect you to the UK version of the supplier’s website even if your link is originally from the US)


Pop is specifically designed for travel content creators. We enable these popups by default to help boost your revenue. In accordance with our supplier’s terms and to ensure a seamless user experience, our popups appear only when there is user interaction and clear intent to travel. This minimizes disruption to the user experience while still providing helpful content for your visitors. We don’t recommend turning off this feature, as it is tailored to maximize both user satisfaction and affiliate revenue.
Our machine learning algorithms determine the most relevant supply to display based on factors such as the content of the page, destination, user relevance, and the specific service required (accommodation, flight, car, etc.). This ensures that the popups we display are tailored to each user’s needs and interests, further enhancing their browsing experience on your site.
All LMA suppliers mentioned above participate in our Pop product. Different devices and browsers may have different behaviors. We recommend testing it out on your site to see how it works or view our demo. If you have any questions, please don’t hesitate to reach out to us!

Feedback & Tech support

Stay22 hasn’t been too long around and we’re still learning! So we’re looking for any type of comments and feedback to improve it. Email us at  inbound@stay22.com.

For immediate assistance, use the chat bubble in the bottom right corner weekdays 9-5 ET.