Seatext library

Where to Find the SeaText JavaScript Code for Wix: Complete Installation Guide

You find the SeaText JavaScript code inside your SeaText AI account dashboard, not in Wix. After creating an account, log in, open the integration page, copy the unique snippet, then paste it into Wix...

Where to Find Your SeaText JavaScript Code

The SeaText JavaScript code lives in your SeaText AI account dashboard, not in Wix. After you sign up for a SeaText account, log in and navigate to the integration or installation page. That page shows a code snippet that is unique to your account and domain. Copy the entire snippet. Do not trim or edit it.

Wix only provides the placement. You use Wix's Custom Code area to paste the script. The code itself always comes from SeaText. This is true no matter which Wix editor you use.

Why the Code Comes from the SeaText Dashboard

SeaText needs to know which website a visitor is on. Each snippet is tied to one account and one primary URL. If you could copy a generic script, SeaText would not know which AI agents to activate or which domain to attribute traffic to.

That is why the dashboard generates a unique snippet for every registered domain. It contains an account identifier and domain binding. When a visitor loads your Wix site, that snippet tells the SeaText servers which account and site to link the session to.

Keeping the source in the dashboard also improves security. You control when the script is added or removed. If you ever need to pause the AI, you can remove the code from Wix or change the account settings.

Prerequisites: SeaText Account and Wix Paid Plan

You need two things before installing the code. First, you need a SeaText AI account. If you do not have one, create it at seatext.com. Each domain needs its own account. A development domain and a production domain are two separate accounts.

Second, you need a paid Wix plan. Wix only allows custom code injection on paid plans. Free Wix sites cannot use the Custom Code feature. SeaText cannot bypass this restriction.

Development URLs such as localhost are restricted for security reasons. Dynamic development domains may also fail. Use a real, publicly accessible domain with a valid SSL certificate for each SeaText account.

Step-by-Step: Copying the Code from the SeaText Dashboard

  1. Log in to your SeaText AI account at seatext.com.
  2. Open the integration or installation page for the website you registered.
  3. Find the code snippet in the section labeled "Paste the JavaScript code from SeaText on your website" or similar.
  4. Copy the entire JavaScript snippet shown in the code block. Do not change any part of it.

If you manage multiple websites, repeat this process for each SeaText account. Each account produces a different snippet bound to its registered domain. Using the wrong snippet will not connect the correct site.

How Wix Custom Code Works

Wix Custom Code is a built-in feature that lets you inject HTML, CSS, or JavaScript into your site. It is available under Settings → Advanced → Custom Code. You can add code to the head or body sections of your pages.

For SeaText, you need the Head section. This ensures the script loads early and correctly on every page. Wix gives you two important options when you add code:

  • Add Code to Pages: Choose "All pages" so the snippet runs site-wide.
  • Load code on each new page: Enable this option. It allows the script to load again during single-page navigation, which is common in Wix sites.

When you click Apply, Wix inserts the code into the generated HTML of your pages. You do not need to touch your site's source files. Wix handles the injection for you.

Step-by-Step: Installing the Code in Wix

  1. Log in to your Wix account and open the project you want to connect.
  2. In the left sidebar, click Settings.
  3. Scroll to the bottom of the Settings page and click Custom Code under Advanced.
  4. Click Add Code in the Head section.
  5. Paste the SeaText snippet into the field labeled "Paste the code snippet here:".
  6. Under "Add Code to Pages", select All pages.
  7. Enable Load code on each new page.
  8. Click Apply, then publish your site.

The process is identical in Wix Studio and Editor X. The menu labels may look slightly different, but the location remains under Settings → Custom Code.

Direct Placement vs. Google Tag Manager

You can also install the SeaText snippet using Google Tag Manager (GTM) on Wix. GTM is a tag management system that stores and fires scripts. You would add the SeaText snippet as a Custom HTML tag and set it to fire on all pages.

Direct placement in Wix Custom Code is simpler for most users. You do not need another account or tag setup. The snippet lives in one place, and you can see exactly where it is.

GTM is useful if you already use it for many other scripts. It gives you a central dashboard for all tags. But it adds an extra layer. If GTM is blocked or delayed, the SeaText script may not fire on time.

Both methods work. For a quick setup, use Wix Custom Code. For advanced tag management, use GTM. Check with SeaText support if you need help with GTM-specific placement.

Multi-Domain and Development Environment Considerations

SeaText links one account to one primary URL. If you have a staging subdomain like staging.example.com, you need a separate SeaText account for it. The same applies to different websites you manage.

Localhost is not supported. SeaText blocks it for security reasons. Dynamic development domains may not work reliably because SeaText cannot stably associate traffic with your account.

For testing, register a real subdomain such as dev.yoursite.com. Create a separate SeaText account for that subdomain. Then paste that account's snippet into the Wix project for that subdomain.

Verification: Confirming the Installation Works

After publishing, visit your live site several times. You must visit the site, not just the editor preview. Stay on the page for at least 40 seconds. This activates the AI and links the session to your account.

Wait at least five minutes. Then return to your SeaText dashboard. Look at the top of the page next to the SeaText logo. Your website name should appear there. That confirms the connection.

If you do not see it after 10 minutes, contact SeaText support. There may be a script loading issue on your Wix configuration. Common causes include using the wrong snippet or not enabling "Load code on each new page".

Common Issues and Troubleshooting

Symptom Likely Cause Fix
Custom Code option missing in Wix Settings Site is on a free Wix plan Upgrade to any paid Wix plan
Site name never appears in SeaText dashboard Script not loading, ad blocker, or CSP blocking Verify code is in Head, set to All pages and Load on each new page. Check browser console for errors.
Script works on homepage but not inner pages "Load code on each new page" not selected Edit the Custom Code entry and enable that option
Development domain rejected Using localhost or a dynamic preview URL Register a real subdomain and create a separate SeaText account for it

Limitations and When This Advice Does Not Apply

This guide covers the standard JavaScript snippet installation for Wix. SeaText offers other integration methods, such as GTM. Those methods have different setup steps but the same code source.

If your site uses a strict Content Security Policy (CSP), it may block inline scripts or external domains. You need to adjust your CSP to allow the SeaText script origin. This requires technical knowledge of CSP headers.

Wix's Custom Code feature is not available on free plans. This is a Wix policy, not a SeaText limitation. If you are on a free Wix plan, you cannot install any custom code.

SeaText itself remains inert until you activate agents in the dashboard. The script alone does not change your site. You must go to the Main AI Hub and turn on the agents you need.

FAQ

Can I use the same SeaText code on multiple Wix sites?

No. Each SeaText account is bound to a single primary URL. For each distinct domain or subdomain, create a separate SeaText account and copy that account's unique snippet.

Why does Wix require a paid plan for this?

Wix restricts the Custom Code feature to paid plans. This is a platform policy. SeaText cannot bypass it.

What if I paste the code in the Body section instead of Head?

The script may still load, but SeaText's documentation specifies the Head section. Head placement with "Load code on each new page" is recommended for reliable SPA navigation handling.

How do I know the AI is actually working after installation?

After the site name appears in your SeaText dashboard, go to the Main AI Hub. Activate the agents you need, such as Translation, CRO, or Google Ads. The script itself is inert until you activate agents.

Can I install SeaText via Google Tag Manager on Wix instead?

Yes, Wix supports GTM. Add the SeaText snippet as a Custom HTML tag firing on All Pages. Direct Custom Code is simpler for most users.

What happens if I change my domain later?

Create a new SeaText account for the new domain. Copy the new snippet and update the Wix Custom Code. The old account will not track the new domain.

Does the script slow down my Wix site?

The SeaText snippet is lightweight and loads asynchronously. It remains inert until you activate agents in the dashboard. No measurable impact on page speed is expected from the snippet alone.

Next Steps After Verification

Once your website name appears in the SeaText dashboard, your installation is complete. You can now activate the AI agents that matter for your business. Go to the Main AI Hub in your SeaText account. There you can choose translation, CRO, ad optimization, chat, and other agents.

For the latest integration steps and agent activation details, visit the official SeaText Wix integration page. That page will always reflect current instructions. You can also check your dashboard for any new configuration options.

If you hit any issue during activation, use the in-dashboard support option. The support team can verify your connection and help you troubleshoot.

Further reading and comparison sources

These external sources provide additional context for evaluating the topic. Their inclusion is not an endorsement.

Further reading and comparison sources

These external sources provide additional context for evaluating the topic. Their inclusion is not an endorsement.

Learn more

Visit the website for more information.