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.
- Log in to the Stay22 Hub.
- Select Script Builder from the left-hand menu.
- Select Create Script.
- Choose your domain from the dropdown menu.
- Click Generate.
- Copy the script.
.png?width=670&height=365&name=Untitled%20design%20(28).png)
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.

Step 4: Copy your Script
Copy the generated script and paste it into your website's header.
.png?width=670&height=365&name=Untitled%20design%20(27).png)
Add Your Custom Script to Your Website
Add your script to the <header> or <footer> of your website.For WordPress Users:
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).
-
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
-
Copy the script above and paste it into the Header
-
Press save
-
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:
- Open your Google Tag Manager dashboard
- Click “Add a New Tag”
- Choose “Custom HTML” as the tag type
- Paste your Stay22 script into the Custom HTML box
- Set the Trigger to All Pages (or wherever you want the script to run)
- 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
- Log in to your Wix account and open your website dashboard.
- Go to Settings.
- Under Development & Integrations, select Custom Code.
- Click + Add Custom Code in the top right corner.
- Paste your Stay22 script into the code box.
- Add a name for your code (for example: Stay22 Script).
- Under Add Code to Pages, select All pages
- 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.
- Under Place Code in, select: Head
- Click Apply.
- 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
- Log in to your Shopify admin.
- Go to Online Store → Themes.
- Find the theme you want to edit and click the ⋯ (three dots) menu.
- Select Edit code.
- In the Layout section, open:
theme.liquid - Find the closing </head> tag in the code.
- Paste your Stay22 script immediately before the </head> tag.
- Click Save.
Check if the script is running on your website
- Clear your browser’s cache.
- Right-click on your website, select "Inspect," and navigate to the Console section.
- Look for the "Let Me Allez rainbow ➡️
⬅️" confirmation message. If you see it, the Script is active.
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?
- Clear your cache after installation.
- Right-click anywhere on your page, select Inspect, and go to the Console tab.
- If the Script (Let Me Allez rainbow) is active, you’ll see a confirmation message.
My script isn’t working, what should I do?
- Double-check that the script is installed in your header or footer.
-
Clear your website cache.
-
Verify that the script is active in the Stay22 Hub.
-
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:
- Clear your cache in WP Rocket
- Purge Object Cache Pro (or restart cache from your hosting dashboard)
- Hard refresh your browser (CTRL + Shift + R)
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.