How to install your script
How to Add the Your Custom Script to Your Website
- Log in to the Stay22 Hub at https://hub.stay22.com/login.
- Navigate to the Script Builder and generate your unique script.
- 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
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:
- In GTM, go to "Tags" and select "New".
- Choose "Custom HTML" as your tag type.
- Paste your Stay22 script into the HTML/Text area.
- Set the Trigger to run on all pages (in your header).
- Save, Preview, and Publish your changes to activate the script.
Your script is now live and optimizing your links automatically.
FAQ
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 LMA Script Builder. Simply select the domain you want when creating a script.
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.