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

How to install your script

 

How to Add the 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. 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. Check the box:
      Support document.write

      Why this matters:
      This script requires a specific technical feature to operate correctly. Enabling this setting ensures your tag works properly on your website. Without it, the script will not be able to install and function as expected.

    6. Set the Trigger to All Pages (or wherever you want the script to run)
    7. Save the tag and Publish your changes

    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.

     

    Tech Support

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