<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.

Stay22 Script: Full Installation Guide

Table of Contents

 

Quick Summary

Stay22 Script (previously known as Let Me Allez) is a drop-in script you add to your website’s header or footer. Once installed, it automatically optimizes supported supplier links helps recover broken or outdated links, and enables Stay22 features such as Nova and Spark.

  1. Log in to the Stay22 Hub.
  2. Select Script Builder from the left-hand menu.
  3. Select Create Script.
  4. Choose your domain from the dropdown menu.
  5. Click Generate.
  6. Copy the script.
 Untitled design (28)

Generate Your Stay22 Script

Step 1: Login to the Stay22 Hub 

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

 


Step 2: Create your Script

Click “Create Script”.

Select your domain from the drop down. 


To add a new domain, click your profile from the top right corner, choose Settings under Company Information. Click Edit and paste your domain in the Domain section. 

Note: Accommodation providers are enabled by default. Spark and Nova are also enabled by default.

Screenshot 2026-09-02 at 12.12.54 PM

Step 4: Copy your Script 

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

Untitled design (27)


 

Add Your Custom Script to Your Website

Add your script to the <header> or <footer> of your website.

For WordPress Users:

Watch the tutorial 

If you’re using Wordpress and you don’t already have a plugin to edit the Header, please install and activate the WPCode plugin (you can use another code editor plugin of your choice if you prefer).

  1. The plugin will appear on the left hand side of the Wordpress menu under Code Snippets. Hover over it and click on Header and Footer

  2. Copy the script above and paste it into the Header

  3.  

    Press save

  4.  

    Clear your cache

 

For Google Tag Manager (GTM) Users:

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

If you have GTM installed, follow these steps to add your Stay22 script:

    1. Open your Google Tag Manager dashboard
    2. Click “Add a New Tag”
    3. Choose “Custom HTML” as the tag type
    4. Paste your Stay22 script into the Custom HTML box
    5. Set the Trigger to All Pages (or wherever you want the script to run)
    6. Save the tag and Publish your changes

     

    For Wix Users:

    Before you begin, make sure that:

    • Your Wix website is published
    • Your domain is connected
    • You have your Stay22 script ready

    Add the Stay22 script to Wix

    1. Log in to your Wix account and open your website dashboard.
    2. Go to Settings.
    3. Under Development & Integrations, select Custom Code.
    4. Click + Add Custom Code in the top right corner.
    5. Paste your Stay22 script into the code box.
    6. Add a name for your code (for example: Stay22 Script).
    7. Under Add Code to Pages, select All pages
      1. This ensures the Stay22 script is active across your entire website, including any future pages you create. If asked, make sure to load on each page your visitor opens.
    8. Under Place Code in, select: Head
    9. Click Apply.
    10. Publish your Wix website to make sure the changes go live. 

     

    For Shopify Users:

    Make sure you have:

    • A Shopify store
    • Access to your Shopify admin
    • Your Stay22 script ready from the Script Builder
    1. Log in to your Shopify admin.
    2. Go to Online Store → Themes.
    3. Find the theme you want to edit and click the ⋯ (three dots) menu.
    4. Select Edit code.
    5. In the Layout section, open:
      theme.liquid
    6. Find the closing </head> tag in the code.
    7. Paste your Stay22 script immediately before the </head> tag.
    8. Click Save.

     

    Check if 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, the Script 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

    Add /recommends/ as the DeepStruct pattern in Script Builder. LMA will use that pattern to identify and convert matching links.

    You do not need to generate a new script when updating DeepStruct. Modify the existing script in the Hub and save it.

    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

    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, your existing setup is all set and doesn’t need to be recreated.

     

    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.

     

    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 your script 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.

     

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

     

    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.

     

    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 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.

     

    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, reach out to our Support team through the chat bubble on our website or Stay22 Hub and we can guide you through the process.

     

    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.

     

    I installed the Stay22 script on my WordPress site, but I don’t see it. What should I do?
    Caching plugins like WP Rocket and Object Cache Pro can sometimes delay updates or prevent recent changes from showing right away.

    If you’ve installed or updated your Stay22 script and don’t see the changes:

    1. Clear your cache in WP Rocket
    2. Purge Object Cache Pro (or restart cache from your hosting dashboard)
    3. Hard refresh your browser (CTRL + Shift + R)
    Use Chrome DevTools → Console to confirm the script is present

     

    Tech Support

    Reach out to our Support Team at support@stay22.com or reach out to us from the chat bubble on our website or the Hub.