Skip to main content
All CollectionsInstallation
How to install Alli snippet to a Wix site?
How to install Alli snippet to a Wix site?
Kyle Duck avatar
Written by Kyle Duck
Updated over 3 years ago

With Alli, your entire website is optimized in minutes for search engine traffic, automatically, with one line of code.


First, add your domain or website URL, provide information about the niche of your business followed by adding keywords and approval of initial recommendations - and finally with the installation of Alli's JavaScript on your site.

Now, in order for Alli to start optimizing your website, the generated JavaScript snippet needs to be added to your website. The JavaScript code should include in the <HEAD> tag of your site right before the closing </HEAD> tag.


Here are the steps on how to add your JavaScript snippet:

Important: Before you begin, make sure that your site is published and has a connected domain.

  1. Go to Settings in your site's dashboard.

  2. Click the Custom Code tab under Advanced Settings.

  3. Click + Add Custom Code at the top right.

  4. Paste the code snippet in the text box.

  5. Enter a name for your code.
    โ€‹Tip: Give it a name that is easy to recognize so you can quickly identify it later.

  6. Select an option under Add Code to Pages:

    • All pages: This adds the code to all of your site's pages, including any new pages that you'll create in the future. Choose whether to load the code only once per visit or on each page your visitor opens.

    • Choose specific pages: Use the drop-down menu to select the relevant pages.

  7. Choose where to place your code:

    • Head

  8. Click Apply.

You can also check this article from Wix's documentation for more information.

Did this answer your question?