How to Add SeaText Custom Code to Wix: Complete Step-by-Step Guide
To add SeaText to Wix, you need a paid Wix plan and a SeaText account. In your Wix dashboard, go to Settings > Custom Code (under Advanced), click Add Code in the Head section,...
Prerequisites Before You Start
Before adding SeaText code to your Wix site, confirm two requirements. First, your Wix site must be on a paid plan — free Wix plans do not allow custom code installation. This is a hard platform limitation; the Custom Code section simply will not appear on free plans. Second, you need an active SeaText AI account. If you don't have one, create it at SeaText.com before proceeding. Each SeaText account connects to a single primary domain, so plan accordingly if you manage multiple websites. The account creation process takes under a minute and gives you the JavaScript snippet you will paste into Wix.
Why These Prerequisites Matter
The paid plan requirement exists because Wix reserves custom code injection for customers on premium tiers. This protects platform stability and security. The single-domain-per-account rule in SeaText ensures accurate traffic attribution. The AI uses your domain to associate visitor behavior, conversion events, and agent activity with the correct account. If you try to use one account across two domains, the dashboard will only show data for the primary URL. The other site will appear disconnected.
Step-by-Step Installation Process
- Copy your SeaText JavaScript snippet. Log into your SeaText dashboard and copy the integration code provided in the integration section. The snippet is a single
<script>tag that loads the SeaText runtime asynchronously. Do not modify it. - Open your Wix dashboard. Access your Wix account and navigate to the specific project (site) you want to translate or optimize. If you have multiple sites, pick the correct one from the site selector.
- Go to Settings > Custom Code. In the left sidebar, click Settings, then scroll to the very bottom under Advanced to find Custom Code. This location is consistent across all standard Wix Editor sites.
- Add code to the Head section. Click "Add Code" under the Head section. A pop-up window appears. The Head placement ensures the script loads early, before page content renders, which is required for zero-flicker AI rewrites.
- Paste and configure. Paste the SeaText JavaScript into the "Paste the code snippet here" field. Under "Add Code to Pages," select "All pages" from the dropdown. Then choose "Load code on each new page" and click Apply. The "All pages" selection ensures the AI runs on every URL, including blog posts, product pages, and dynamic routes. The "Load code on each new page" option handles Wix's single-page-app navigation so the script re-initializes on route changes.
- Save and publish. Click Save, then publish your site to make the code live. The Save button stores the configuration; Publish pushes it to your live domain. Both steps are required.
Multi-Domain and Development Environment Considerations
SeaText ties each account to one primary URL. If you run a development domain (staging.example.com) and a production domain (example.com), you need separate SeaText accounts for each. Localhost and dynamic development URLs are restricted for security reasons — SeaText cannot reliably associate traffic with your account on those environments. Use a real, publicly accessible domain for testing. This means you cannot test on localhost:3000 or Wix's free *.wixsite.com subdomains. A staging subdomain on your own domain (e.g., staging.yourdomain.com) works if it resolves publicly and uses HTTPS.
Activation and Verification
After publishing, the installation isn't complete. You must visit your live site several times and stay on a page for at least 40 seconds. This activity activates the AI and links it to your SeaText account. The 40-second threshold ensures the script has time to initialize, send a heartbeat, and register the session. Then wait at least five minutes. Check your SeaText dashboard — your website name should appear next to the SeaText logo at the top of the page. If it doesn't appear after 10 minutes, contact SeaText support; this usually indicates an installation issue on the Wix side that requires assistance. Common causes: the script was placed in Body instead of Head, "All pages" was not selected, or the site was not published after saving.
Troubleshooting Common Issues
- Code not saving: Ensure you're on a paid Wix plan. Free plans block the Custom Code section entirely. Upgrade first, then retry.
- "Load code on each new page" missing: This option appears only after selecting "All pages" in the dropdown. If you choose "Specific pages," the option disappears.
- Site not connecting after 10 minutes: Clear browser cache, revisit the site for another 40+ seconds, and wait. If still unresolved, contact support with your site URL and SeaText account email.
- Multiple sites under one Wix account: Each site needs its own SeaText account and separate code installation. The Wix dashboard lets you switch sites; repeat the process for each.
- Script appears in source but dashboard stays empty: Verify the script loads in the browser dev tools Network tab. Look for a request to SeaText's CDN. If blocked by a content security policy or ad blocker, the connection will fail.
What Happens After Successful Connection
Once your site appears in the SeaText dashboard, proceed to the Main AI Hub to activate the agents you need. Click "Configuration" on any agent to adjust its parameters. The AI remains inert until you explicitly turn each one on, so your site content stays unchanged until you're ready. Key agents include:
- AI CRO Reading Analysis — analyzes visitor reading patterns and generates winning copy at scale. It measures scroll depth, dwell time, and text engagement to identify underperforming sections.
- Website Translation (125 languages) — translates your entire site with zero code and full control. You can review, edit, or lock translations per language.
- Google Ads Landing Page AI — rewrites landing pages in real time to match each campaign keyword. When a visitor clicks an ad, the page adapts headlines, offers, and CTAs to the search term.
- AI Copy A/B Testing — generates variants and automatically scales winners. It runs continuous multi-armed bandit tests on headlines, CTAs, and product copy.
- Conversion Relay (CAPI) — forwards 100% of real purchases to Meta and Google CAPI. This restores conversion signals lost to browser privacy changes.
- Bot Protection Agent — detects fraudulent clicks and prepares refund claims for Google and Meta. It identifies bot traffic patterns and exports evidence for ad platform disputes.
- AI Personalization Agent — adapts site copy in real time to visitor context such as location, referrer, device, and behavior history.
- Local AI SEO — ranks for every "near me" and neighborhood search by generating localized landing pages automatically.
Key Facts at a Glance
| Requirement | Detail |
|---|---|
| Wix plan required | Paid plan only (free plans block custom code) |
| SeaText account | One account per primary domain |
| Code placement | Head section, All pages, Load on each new page |
| Activation trigger | Visit site, stay 40+ seconds, repeat several times |
| Connection confirmation | Site name appears next to SeaText logo in dashboard (5-10 min) |
| Development domains | Localhost and dynamic dev URLs restricted; use real domains |
| Multi-site setup | Separate SeaText account per website |
Limitations and When This Guide Doesn't Apply
- Wix Editor vs. Wix Studio: These steps apply to the standard Wix Editor. Wix Studio may have a different Custom Code location or require a different workflow. Check Wix Studio documentation if you use that platform.
- Free Wix plans: Cannot install custom code at all. Upgrade first.
- Headless or React-based Wix setups: If you use Wix Headless or custom React components, the standard Custom Code method may not cover all routes. The script injects into the main document head but may not execute inside iframe-embedded apps or server-rendered paths.
- Immediate AI changes: The script loads instantly, but AI agents only run after you activate them in the SeaText dashboard. No content changes happen automatically.
- GDPR/cookie consent: SeaText loads via your Custom Code placement. If you use a consent management platform (CMP), ensure the script loads after consent or is categorized as essential/functional. Otherwise, the script may be blocked until the user accepts cookies, delaying activation.
- Single-page application navigation: Wix uses client-side routing. The "Load code on each new page" setting handles re-initialization, but custom hash-based routes or anchor links may not trigger a reload. Test key user flows after installation.
Practical Scenarios and Decision Criteria
Scenario 1: E-commerce store on Wix
You run a Shopify-level store on Wix. You want translation for 20 languages, AI A/B testing on product pages, and conversion relay to Meta CAPI. Follow the installation steps. After connection, activate Website Translation, AI Copy A/B Testing, and Conversion Relay. Configure each: select target languages, set test parameters for product titles and CTAs, and map your purchase event to the CAPI endpoint. Expect 40-second activation, then 5-10 minutes for dashboard connection.
Scenario 2: Lead generation site with Google Ads
You drive paid search traffic to a Wix landing page. You need Google Ads Landing Page AI to match headlines to keywords. Install the script. Activate Google Ads Landing Page AI. In configuration, connect your Google Ads account so the agent can read campaign keywords. The agent rewrites the page per visitor's search term. No new pages are created; the DOM updates in real time.
Scenario 3: Multi-language blog
You publish content in English and want automatic translation to Spanish, French, German. Install script. Activate Website Translation. Choose languages. The agent translates on-the-fly and caches translations. You can edit any translation in the dashboard. SEO metadata (hreflang, translated titles) is handled automatically.
Decision criteria for agent selection
- If you run paid ads → Google Ads Landing Page AI, Conversion Relay, Bot Protection.
- If you serve international visitors → Website Translation, Local AI SEO.
- If you optimize conversion rates → AI CRO Reading Analysis, AI Copy A/B Testing, AI Personalization.
- If you want AI chat → Free AI Website Chat (no extra setup).
Frequently Asked Questions
Do I need coding skills to install SeaText on Wix?
No. The process uses Wix's built-in Custom Code UI. You only copy and paste the provided JavaScript snippet — no editing required.
Can I use one SeaText account for multiple Wix sites?
No. Each SeaText account links to a single primary URL. Create a separate account for each domain.
How long until I see translation or optimization changes on my site?
After the site connects (5-10 minutes post-activation), you must enable specific agents in the SeaText dashboard. Changes appear only after you activate and configure each agent.
Will SeaText slow down my Wix site?
The script loads asynchronously. SeaText claims zero-flicker operation for split URL tests and real-time rewrites, but actual performance depends on your site's existing load and the agents you activate. Most sites see no measurable impact on Core Web Vitals.
What if I switch Wix templates or redesign the site?
The Custom Code persists across template changes because it lives in Settings, not the page design. However, always verify the code remains after major redesigns.
Can I install SeaText on a Wix site that uses a custom domain connected elsewhere?
Yes, as long as the domain points to the Wix site and you have a paid Wix plan. The domain registrar doesn't affect the Custom Code installation.
Is there a way to test SeaText on a staging site before going live?
Use a real staging domain (e.g., staging.yourdomain.com) with its own SeaText account. Localhost and Wix's free *.wixsite.com URLs may not work reliably for activation.
What happens if I cancel my SeaText subscription?
The script remains on your site but the agents deactivate. No AI changes occur. You can remove the script from Wix Custom Code at any time.
Does SeaText work with Wix's built-in SEO tools?
Yes. SeaText operates at the content layer. It does not conflict with Wix SEO patterns, meta tags, or structured data. Translated pages get proper hreflang tags automatically.
Can I exclude certain pages from SeaText?
In Wix Custom Code, you selected "All pages." To exclude pages, you would need to choose "Specific pages" and list every URL you want included. This is impractical for large sites. Instead, use SeaText dashboard configuration to disable agents on specific URL patterns.
How does SeaText handle dynamic content loaded via AJAX?
The "Load code on each new page" setting re-runs the SeaText initialization on Wix route changes. For AJAX content within a page (e.g., infinite scroll), the agent observes DOM mutations and processes new elements automatically.
What support channels exist if installation fails?
SeaText offers email support and live chat from the dashboard. Provide your site URL, SeaText account email, and a screenshot of the Wix Custom Code configuration. Most issues resolve within one business day.
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.