> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rankai.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Wix technical SEO & AEO integration guide

> Step-by-step guide to add the RankAI technical SEO & AEO script to your Wix site using the Custom Code settings.

This guide shows you how to add RankAI's technical SEO & AEO script to your Wix site. The script runs in the background on your site and helps search engines understand your pages better. You don't need any coding experience. We'll add one block of code in Wix's Custom Code area and apply it. Custom Code is available on a Premium Wix plan.

## Where to get your code

In your RankAI project, go to **Technical SEO** and look for the **Apply Changes** button at the top right and Click it. Select **Wix** as the provider. snippet of code that looks like the one below. Copy the whole thing. Your version will have your own project ID in it.

```html theme={null}
<script src="https://rankai.ai/apply.js" data-rankai-id="YOUR_PROJECT_ID" crossorigin="anonymous" defer></script>
```

<img src="https://mintcdn.com/rank-ai/Y6IIR1ZQMun_fptm/resources/wordpress-integration/technical-seo/apply-changes.png?fit=max&auto=format&n=Y6IIR1ZQMun_fptm&q=85&s=3ddd5e612f8a96716c1a7d354dd01f82" alt="Apply Changes button" width="1877" height="857" data-path="resources/wordpress-integration/technical-seo/apply-changes.png" />

<img src="https://mintcdn.com/rank-ai/Y6IIR1ZQMun_fptm/resources/wix-integration/technical-seo/get-code.png?fit=max&auto=format&n=Y6IIR1ZQMun_fptm&q=85&s=5ef3e1c01f01b51911fb5239715ac85b" alt="Get Code button" width="798" height="697" data-path="resources/wix-integration/technical-seo/get-code.png" />

*Copy the code on the 5th step.*

Keep that code handy. In the next steps we'll add it to your Wix site so it loads on every page.

## Step 1: Log in to your Wix account

Open your browser and go to **wix.com**. Click **Log In** in the top right. Enter the email and password you use for your Wix account.

After you log in, you'll see your dashboard with your sites. That's the screen where you can open or manage your sites. Find the site you want to add the RankAI script to.

## Step 2: Open your site editor

On the dashboard, Hover over the site you want to edit and click the **Select Site** button. The Wix Editor will open.

We need to open Settings next. You'll find it near the bottom of the left side of the sidebar.

<img src="https://mintcdn.com/rank-ai/Y6IIR1ZQMun_fptm/resources/wix-integration/technical-seo/home.png?fit=max&auto=format&n=Y6IIR1ZQMun_fptm&q=85&s=f4da47dbbf9386f074f19fb9af736a09" alt="Select Site button" width="1473" height="855" data-path="resources/wix-integration/technical-seo/home.png" />

## Step 3: Open Settings

In the Wix Editor, look at the left side. Near the bottom you'll see **Settings** (often with a gear icon). Click **Settings**.

A panel or menu will open with options like General, SEO, and more. We need **Custom Code** in the next step.

<img src="https://mintcdn.com/rank-ai/Y6IIR1ZQMun_fptm/resources/wix-integration/technical-seo/settings.png?fit=max&auto=format&n=Y6IIR1ZQMun_fptm&q=85&s=252553b6b31747d9a47b774267d69b1c" alt="Settings button" width="1266" height="866" data-path="resources/wix-integration/technical-seo/settings.png" />

## Step 4: Open Custom Code

In the Settings panel, look for **Custom Code** and click it. If you don't see it, Custom Code is only available on a **Premium** Wix plan (or similar paid plan). You may need to upgrade to use this feature.

You'll see a button **+ Add Custom Code** where you can add code to site. We'll paste the RankAI script there in the next step.

<img src="https://mintcdn.com/rank-ai/Y6IIR1ZQMun_fptm/resources/wix-integration/technical-seo/cc-btn.png?fit=max&auto=format&n=Y6IIR1ZQMun_fptm&q=85&s=d93804bf4935d436ec47253b4f7d8cf1" alt="Add Custom Code button" width="1018" height="746" data-path="resources/wix-integration/technical-seo/cc-btn.png" />

## Step 5: Add the script to the Head section

In the Custom Code screen, enter the code snippet you copied from RankAI, Give it a Name and set **Place code in:** to **Head**. Other options default.

Make sure you paste the **entire** line, from `<script` to `</script>`. Don't change or remove any part of it. Give the code a name if Wix asks (for example "RankAI").

<img src="https://mintcdn.com/rank-ai/Y6IIR1ZQMun_fptm/resources/wix-integration/technical-seo/cc-options.png?fit=max&auto=format&n=Y6IIR1ZQMun_fptm&q=85&s=087c7ce8c39783012fa202a512dfd1cd" alt="Add Code button" width="843" height="830" data-path="resources/wix-integration/technical-seo/cc-options.png" />

## Step 6: Verify the script is installed correctly

Now go to RankAI tab again and click **Check Script Connection**. If you see a text in green saying **Script detected on your site**, the script is connected correctly.

<img src="https://mintcdn.com/rank-ai/Y6IIR1ZQMun_fptm/resources/wix-integration/technical-seo/check-connection.png?fit=max&auto=format&n=Y6IIR1ZQMun_fptm&q=85&s=a42b98e35813cb466713e5bf00f50835" alt="Check Script Connection in RankAI" width="792" height="731" data-path="resources/wix-integration/technical-seo/check-connection.png" />

## Quick checklist

* Logged in to your Wix account
* Clicked Edit Site from the dashboard
* Clicked Settings (near the bottom left)
* Clicked Custom Code (Premium plan required)
* Pasted the full script into the Head section
* Selected "Load code on each new page" and clicked Apply
* Checked script connection in RankAI (Check Script Connection)

## FAQ

### I don't see Custom Code in Settings. Why?

Custom Code is only available on a Premium (or other paid) Wix plan. If you're on a free plan, you'll need to upgrade to add custom code to your site. Check Wix's current plans to see which one includes Custom Code.

### Should the script go in the Head or the body/footer?

Use the **Head** section. That way the script loads at the top of the page as intended. Wix may also offer a "Body - end" or similar option; for RankAI, use Head.

### How do I know if it's working?

After applying, open your live site in a new tab (publish first if you haven't). You can use your browser's "View page source" option (usually right-click then View Page Source) and search for "rankai" or "apply.js". If you see the script in the source code, it's loaded correctly.

### Where can I get more support?

Contact your RankAI account team or check the help section in your dashboard.

## Related setup

For article publishing, use the [original CMS integration guide](/integrations/wix). Script detection confirms the installation; inspect the affected public pages to verify changes.

***

*Last reviewed: October 12, 2026.*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.