<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=128060241156018&amp;ev=PageView&amp;noscript=1">
Skip to content
  • There are no suggestions because the search field is empty.

LetMeAllez Script: Full Installation Guide

Table of Contents

What is the LMA Script?

Let Me Allez (LMA) is a tiny script designed to transform all compatible (see our supported supplier list) links on your website into Stay22 affiliate links. It’s a drop-in solution, meaning you simply add it to the header or footer of your website, and it automatically optimizes your links without any extra effort.

With the Script Builder available in the Stay22 Hub, partners can effortlessly generate their unique script, ready to be added to their site. Once installed, the script handles automatic link conversion and optimization, helping you monetize your traffic seamlessly.

No coding expertise is required—The script handles everything for you.

Read more about how our script can help you.

Suppliers List

Supplier Name Categories
Booking.com

Accommodation
Car rental
Flights
Tours & Activities

Expedia Accommodation
Packages
Car rental
Flights
Tours & Activities
Hotels.com Accommodation
TripAdvisor Accommodation
VRBO Accommodation
Trivago Accommodation
Kayak Accommodation
Packages
Car rental
Flights
Activities
Transport
GetYourGuide Activities

 

How to Generate your Script from the Script Builder

Step 1: Access the Script Builder

Log in to your Stay22 account and select “Script Builder” from the left-hand menu.

Step 2: Explore Resources

Find helpful resources like documentation, how the script works, installation guides, and support links at the top.


Step 3: Create your Script

Click “Create your first script” and select your domain. To add a new domain, go to Settings under Company Information.
 

Step 4: Install Your Script

Copy the generated script and paste it into your website's header.

That’s it! Start monetizing your content with Stay22.

 

How to Add Your Custom Script to Your Website

  1. Log in to the Stay22 Hub at https://hub.stay22.com/login.
  2. Navigate to the Script Builder and generate your unique script.
  3. Copy the script and add it to the <header> or <footer> of your website.

For WordPress Users:

If you’re using WordPress, install a plugin like WPCode to easily edit your header or footer. Simply paste your script into the appropriate section and save your changes. See How 

https://video.stay22.com/page/psd-template_60ddd8c8?custom_asset_token=oEXTvp3396AxgDnQsAYnglwa8apCwG59tiicA47g3ms&hvlk=n8mXoy4lbPLz&org_tok=QpVRJrQ32ENLSjj2bAUFOQ&hvre=false&


 

For Google Tag Manager (GTM) Users:

If you don’t have GTM installed yet, watch this tutorial to set it up.

Already using GTM? Follow these steps to add your Stay22 script:

  1. In GTM, go to "Tags" and select "New".
  2. Choose "Custom HTML" as your tag type.
  3. Paste your Stay22 script into the HTML/Text area.
  4. Set the Trigger to run on all pages (in your header).
  5. Save, Preview, and Publish your changes to activate the script.

Your script is now live and optimizing your links automatically.

 
 

How to check if the the script is running on your website

  1. Clear your browser’s cache.
  2. Right-click on your website, select "Inspect," and navigate to the Console section.
  3. Look for the "Let Me Allez rainbow ➡️⬅️" confirmation message. If you see it, LMA is active.
If you don't see the rainbow, the script is not installed.
 
 
 

DeepStruct – Advanced Parameter For Your Script

DeepStruct helps ensure that hidden, shortened, or cloaked links on your website are properly converted into Stay22 affiliate links.

When to Use DeepStruct:
If your links don’t follow a standard format (e.g., they are shortened, masked, or use custom structures), you need to tell the Script what to look for.

How It Works:
You provide a keyword or pattern that appears consistently in your special links. The script then detects and converts them automatically.

For example, if your website uses:
👉 aroundtheworld.com/recommends/boutiquehotel

You should enter /recommends/  in the Script Builder. This tells the Script to recognize and convert any link containing that structure.

🔹 How to Check If It’s Working:
Once the script is installed, hover over a link on your site—at the bottom left of your screen, you should see it redirecting through Stay22 (www.stay22.com/...). If not, adjust your DeepStruct settings to match your link structure.

 

FAQ

Getting Started

What is the LMA Script Builder, and how does it work?
The LMA Script Builder allows you to generate a custom affiliate script in minutes. Once installed on your website, it automatically converts compatible links into Stay22 affiliate links, optimizing your monetization without any extra effort.

How do I generate my script in the Hub?

  1. Log in to the Stay22 Hub: hub.stay22.com.
  2. Navigate to LMA Script Builder in the left menu.

  3. Click “Create my first Script” or “Generate a Script” and select your domain. To add a new domain, go to Settings under Company Information.

  4. Click Generate
  5. Copy the generated script and paste it into your website's header.


Do I need approval to use the Script Builder?
No approval is needed! The Script Builder is available to all Stay22 partners. Just log in and generate your script instantly.

Can I use the Script Builder if I already have a script installed?
Yes! If you have additional domains, you can use the Script Builder to generate new scripts for them. However, if your script is already installed on your site, there’s nothing more to do—your existing setup is all set and doesn’t need to be recreated.

 

Installation & Setup

Where do I install the script on my website?
The script should be placed in the header or footer of your website for it to run properly.

Can I use the script on multiple domains?
Yes! You can generate and manage scripts for multiple domains from the Script Builder. Simply select the domain you want when creating a script.

How do I add the script using Google Tag Manager (GTM) or WordPress?

  • For WordPress Users: Install a plugin like WPCode to easily add the script to your site’s header or footer. See how.
  • For Google Tag Manager Users:
    1. In GTM, go to "Tags" and select "New".
    2. Choose "Custom HTML" as your tag type.
    3. Paste your Stay22 script into the HTML/Text area.
    4. Set the Trigger to run on all pages (in your header).
    5. Save, Preview, and Publish your changes.

Customization & Management

Can I edit an existing script, or do I need to generate a new one?
You don’t need to generate a new script! If you want to customize how LMA converts links on specific pages, simply add DeepStruct URLs in the Script and save the changes—your script will update automatically.

How do I manage multiple scripts if I have more than one website?
The Script Builder allows you to create and manage scripts for multiple domains. Each domain will have its own script, which you can access and modify anytime.

What if I already have a Stay22 script—do I need to replace it?
No, you don’t need to replace it. You can modify your existing script directly in the Hub, such as adding DeepStruct to exclude certain pages.

 

Performance & Tracking

How do I check if my script is working correctly?

  1. Clear your cache after installation.
  2. Right-click anywhere on your page, select Inspect, and go to the Console tab.
  3. If the Script (Let Me Allez rainbow) is active, you’ll see a confirmation message.

Where can I track my earnings and conversions?
Log into the Stay22 Hub to track revenue, monitor performance, and optimize your monetization strategy.

Will I be notified if there’s an issue with my script?
You can check your script status in the Hub, and our support team is always available if you need assistance.

Support & Troubleshooting

My script isn’t working—what should I do?

  1. Double-check that the script is installed in your header or footer.
  2. Clear your website cache.

  3. Verify that the script is active in the Stay22 Hub.

  4. If issues persist, contact our support team.

What happens if I install the script incorrectly?
Nothing will break, but your links won’t be optimized. Double-check your installation, and if needed, our team can guide you through the process.

What do "Active" and "Inactive" script statuses mean?
A script is marked as Active once it has been installed and has generated traffic. If the script has been created but hasn't been installed or hasn't generated traffic yet, it will show as Inactive.

Does the script work in AMP mode?
Accelerated Mobile Pages is deprecated in the web and should not be enabled. It does not give a SEO boost anymore. If you still insist in showcasing your mobile pages with AMP, know that LMA or any other scripts do not run inside AMP.

What redirection rules does the script follow?
Hotelscombined links will be redirected to booking.com
Everything else will be redirected to its respective supplier’s website
If the link is broken, our AI 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 the clicking user is in the UK, we’ll redirect them to the UK version of the supplier’s website (.co.uk, assuming it exists) even if your link is originally formed as US version (.com))

I've installed the Script, but I can't see it in the console, or it only works on some pages. What should I do?
If you're facing issues with the script not appearing on your website, such as on the homepage or specific destination pages, the problem is often related to caching rather than the installation itself. This issue is particularly common with sites using caching tools like WP Rocket. To resolve this, clear your site's cache in the caching plugin settings. Many experienced bloggers are familiar with this step and often perform it independently. Additionally, enabling and disabling WordPress plugins or clearing cache in WordPress Ezoic can also help address this issue.

 

 

Tech Support

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