Install on Wix
Add the SEO Agent script to Wix and check that it works.
This guide shows you how to add the SEO Agent script to your Wix site, step by step. You don't need to know how to code. The SEO Agent is part of Pro.
Why it helps
- One script lets outwrite.ai check your Wix pages and apply the SEO fixes you approve, such as clearer page titles and descriptions, without editing each page.
- You install it once. After that, you apply, check and undo fixes from outwrite.ai.
Before you start
- Your site is published and has a connected domain. Wix only allows custom code on sites with a connected domain, which needs a Premium plan.
- You can open your site's dashboard settings (site owner or a role with access to settings).
- Your website address in outwrite.ai Brand is your connected domain, including
wwwif your site uses it.
Step 1: Copy your script from outwrite.ai
- In outwrite.ai, open Site Optimizers → SEO Agent in the sidebar.
- Click Connect your website. If you set this up before, click Install website script at the top right instead. If you then see Create website script, click it.
- Click Copy script.
Your script is one line of code that starts with <script defer src= and ends with </script>. Copy the whole line and don't change any part of it.
Step 2: Add the script to Wix
The script goes in your site's head: a hidden section at the top of every page where settings and scripts live. Visitors never see it.
- Open your site's dashboard in Wix.
- Go to Settings.
- In the Development & integrations section, click Custom Code.
- Click + Add Custom Code at the top right.
- Paste your script into the text box.
- Give it a name you will recognize, for example "outwrite.ai SEO Agent".
- Under Add Code to Pages, choose All pages, and choose to load the code once per visit. The script follows page changes by itself.
- Under Place Code in, choose Head.
- Click Apply. The code is added to your live site.
Step 3: Check the installation
- Open your website's homepage in a new browser tab. Visiting your site tells outwrite.ai to look for the script.
- In outwrite.ai, go to Site Optimizers → SEO Agent. If the badge at the top right already says Installation verified, you're done.
- Otherwise, click Install website script, then Check installation. When it works, you see Found on your homepage.
- Your first audit starts by itself. It uses 0 credits, and you can leave the page while it runs.
How to tell it's working
| What you see in outwrite.ai | What it means |
|---|---|
| Setup needed | outwrite.ai hasn't found the script on your homepage yet |
| Installation verified | The script is on your homepage |
| Finding your website’s pages… | outwrite.ai is listing your pages. This is free |
| Running your free first audit | Your pages are being checked. This uses 0 credits |
| A number of issues and three scores | The audit is done. Review your fixes |
Wix limits
- Use Custom Code in your dashboard settings, not an Embed HTML element in the editor. An embed runs in a separate frame and can't reach your page.
- If you change your site's domain, Wix deletes your custom code. Add the script again, and make sure the website in Brand matches the new domain.
- Wix applies its own security rules to custom code. If your script is verified but fixes never show Seen on page, contact support.
- To make a fix permanent, you can also enter it in the page's SEO settings in Wix. The next scan then shows it as Fixed in website source.
If outwrite.ai can't find the script
- The code is switched off. In Settings → Custom Code, check that the toggle next to your script is on.
- It was added to some pages only. Edit the code and choose All pages.
- The script isn't in the page code. outwrite.ai reads your homepage's code directly. A script added later by a tool such as Google Tag Manager isn't found. Use Custom Code as shown above.
- Your homepage redirects. Your homepage must open at the website address saved in Brand. If it redirects (for example from
example.comtowww.example.com), outwrite.ai shows the final address. Before the script is verified, change Website under Brand → Edit business to that address and choose Check installation again; your script stays the same. Once the script is verified, contact support to move the SEO Agent to a different address. - Verified, but fixes stay at Awaiting page visit. Open the page in a normal browser window. Ad blockers, privacy extensions and cookie banners that hold back scripts can stop the script from reporting back.
How to remove the script
- In your Wix dashboard, go to Settings → Custom Code.
- Find "outwrite.ai SEO Agent" and delete it.
All SEO Agent changes stop on the next page load, and your pages go back to how they were. Your Wix content isn't affected. If you plan to reinstall later, undo any fixes you don't want first. Fixes you haven't undone apply again once the script is back.
Common questions
Will the script slow down my site?
It loads with defer, which means the browser finishes reading your page before running it.
What does the script send to outwrite.ai?
Only the page address, to load that page's fixes, and whether each fix appeared. It doesn't send page text, form entries or cookies, and it doesn't track visitors.
Is this the same as connecting Wix for publishing?
No. The script lets the SEO Agent fix your pages. Connect Wix lets outwrite.ai publish articles to your site. You can use either one, or both.