Wix
How to add the Otto chat code to a Wix site with Custom Code, what you need for it, and why the chat does not show in the editor.
On this page
Wix is a website and online store builder. You add the chat code as custom code in your site settings, which takes about 5 minutes.
What you need
- An Otto account. You find the chat code in the panel under Overview, on the Installation & integrations card, on the Wix tile.
- A site with a paid plan (Premium or Studio) and your own domain connected. Without them, Wix does not run custom code.
- A published site.
Chat code
On the Wix tile, click Copy code. You get one line with your company’s public key:
<script async src="https://ottoai.sk/widget.js" data-otto-key="pk_vas_kluc"></script>pk_vas_kluc instead of a key, the tile gives you the code with your own key. The key is not a password, you do not need to hide it. Add the code once, it covers the whole site.Adding the code
- In your site dashboard, open Settings.
- In the Development & integrations section, click Custom Code.
- At the top right, click + Add Custom Code, paste the chat code and give it a name, for example Otto chat.
- Under Add Code to Pages, choose All pages and keep the default of loading the code once per visit.
- Under Place Code in, choose Body - end and click Apply.
You can also follow the official Wix help.
Checking it works
- Open your website in a new browser window and reload. A chat bubble should pop up in the bottom right.
- Send the chat a test question. Otto answers within a few seconds.
- In the panel, under Settings, Connections, the Your website row shows the domain the chat runs on.
Product catalogue
If you sell on Wix, you find the Google format feed in your site dashboard under Google Catalog: click Get Catalog Link and copy the address with Copy.
Paste the feed address in the panel under Settings, Catalogue, and click Check feed. The panel tells you how many products it found, and Otto keeps the feed up to date on its own. More in Product catalogue.
Troubleshooting
I cannot use Custom Code
The site has no paid plan, no connected domain, or is not published. Wix runs custom code only when all three are in place.
The chat only shows after cookie consent
Wix treats custom code as Essential by default and loads it right away. If you picked another category on the Code Type tab, the code loads only after the visitor consents.
The chat disappeared after a domain change
When a different domain is assigned, Wix deletes added code, so add it again. The chat is tied to the original domain, so write to us about the new one.
Also check
- Reload the page without cache with Ctrl+F5, or open it in a private window.
- The code should be on the page only once, a second copy is ignored.
- A cookie consent bar can block scripts until the visitor agrees. If the chat only shows up after consent, see Cookie consent.
- If your site sends a Content-Security-Policy header, allow
https://ottoai.skin it, as shown in Content-Security-Policy. - In the browser console (F12), look for messages starting with
[Otto]. They tell you what the chat is missing. - Still nothing? Write to us at podpora@ottoai.sk and include your website address.
Removing the chat
In Settings, Custom Code, delete the chat code. To turn it off only for a while, use the toggle next to it.

