Skip to main content
All CollectionsInstallation
How to install the Alli snippet on a Wordpress site?
How to install the Alli snippet on a Wordpress site?
Kyle Duck avatar
Written by Kyle Duck
Updated over a week 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.

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

For the purpose of this guide, we'll consider the idea that you have installed a plugin “Header and Footer Scripts” to your Wordpress site.

  1. Login to your Wordpress site.

  2. Look for the 'Settings' menu and click on "Header and Footer Scripts".

  3. Go back to your Alli AI dashboard and copy the JavaScript code for your site.

    If you need to revisit the page to where you can copy your Alli AI JavaScript snippet, just add “/widget” to your site link and that will open the JavaScript Snippet page for your site.

    For example

  4. Paste the JavaScript code to "Header box of Header and Footer Scripts plugin", and click Save.


Note: If you are using different site-building software and need help in this process, please let us know and our team will be happy to help find the answer.

Recommended articles you may interest to read: 😊

Did this answer your question?