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.

For best results, paste it on every page, or in the site template. This will only affect pages and recommendations you have pre-approved on your recommendations page.


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

  1. Click the title bar in the upper left corner to open the Tools menu, then click Global Settings.

  2. On the JavaScript tab, enter your JavaScript code.

    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 https://www.alliai.com/account/sites/0000/widget

  3. 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: 😊

Does Alli work with my CMS?

How to set your Cloudflare Firewall to work with Alli?
What’s a Focus Keyword?

How to Set Your Focus Keyword?
How is a Focus Keyword selected?
What happens when you change your Focus Keyword?

Did this answer your question?