Seatext library

Can I Test SeaText AI on a Staging Domain Without Affecting My Live Site?

Yes, you can test SeaText AI on a staging domain without impacting your live site. Each domain requires its own SeaText AI account, and the systems operate independently. Localhost and dynamic development URLs are...

Yes, you can test SeaText AI on a staging domain without affecting your live site. Each SeaText AI account is linked to a single primary URL, so you must create a separate account for your staging domain. The two accounts operate independently — changes, variants, and AI activity on staging never touch your production site.

There are important restrictions: localhost and dynamic development domains (like temporary preview URLs) are blocked for security reasons. You need a valid, real domain name for the staging environment. Once you have that, you install the JavaScript snippet on the staging site, create a new SeaText account for that domain, and activate the AI. The process takes a few minutes and the systems stay completely isolated.

How SeaText Handles Multiple Domains

SeaText AI ties each account to one primary URL. If you want to run SeaText on both a staging domain and a production domain, you need two accounts. The documentation states this clearly: "If you need to use SEATEXT AI on multiple domains (e.g., a development domain and a production domain), you must create separate accounts for each domain. Each SEATEXT AI account is linked to a single primary URL."

This design prevents cross-contamination. The AI on your staging domain only sees traffic, content, and variants from that domain. It cannot read or rewrite pages on your live site. Conversely, your production account ignores staging traffic entirely.

Setting Up a Staging Domain Account

Follow these steps to get SeaText running on a staging domain:

  1. Register a real domain for staging. Use a proper domain like staging.example.com or dev.example.com. Temporary or dynamic URLs (e.g., Netlify preview links, Vercel deployment URLs) may not work reliably.
  2. Create a new SeaText AI account. Sign up at SeaText using the staging domain as the primary URL.
  3. Install the JavaScript snippet. Copy the code from your new staging account and add it to every page of the staging site. If you use WP Engine, install the WP Engine plugin that allows custom JavaScript.
  4. Visit and activate. Load the staging site, stay on a page for at least 40 seconds, and refresh a few times. This activates the AI and links it to the account.
  5. Wait for connection confirmation. After about five minutes, check the SeaText dashboard — your staging domain name should appear next to the SeaText logo. If it doesn't appear after 10 minutes, contact support.
  6. Configure agents. Go to the Main AI Hub and activate the agents you want to test (e.g., Conversion Agent, Translation Agent, Google Ads Agent).

Domain Requirements and Restrictions

Not every development URL works. The source pack lists two hard restrictions:

  • Localhost is blocked. You cannot use http://localhost, http://127.0.0.1, or any local loopback address.
  • Dynamic development domains may fail. URLs that change per deployment (common with preview deployments on platforms like Vercel, Netlify, or GitHub Pages) can prevent SeaText from reliably associating traffic with your account.

Use a stable, DNS-resolvable domain. A subdomain of your main domain (e.g., staging.yoursite.com) is ideal. It satisfies the "valid, real domain" requirement and keeps your staging environment recognizable.

Activation Process for Staging Sites

Activation is the same on staging as on production, but it's worth understanding the steps so you can verify isolation:

  1. Script load. The SeaText JavaScript loads on each page view.
  2. Session detection. The script detects a visitor session and begins recording behavior.
  3. Account linking. After ~40 seconds of dwell time and a few page views, the system links the domain to the account.
  4. Dashboard confirmation. The domain name appears next to the SeaText logo in the dashboard.
  5. Agent activation. You choose which AI agents run. None are active by default.

Because each account is separate, the activation on staging has zero effect on your production account's data, variants, or AI models.

Common Configuration Mistakes

MistakeResultFix
Using the same account for staging and productionStaging traffic pollutes production data; variants mix across environmentsCreate a separate account per domain
Testing on localhostScript fails to initialize; no data collectedUse a real domain (e.g., staging.example.com)
Using a dynamic preview URLUnreliable account linking; AI may not activatePoint a stable subdomain to the staging environment
Skipping the 40-second visit stepAccount stays unlinked; dashboard shows no domainVisit the staging site, stay on a page, refresh a few times
Not waiting for dashboard confirmationProceeding to configuration before the domain is linkedWait 5–10 minutes; contact support if domain doesn't appear

Limitations and When This Advice Doesn't Apply

  • Single-page apps with client-side routing. If your staging site is an SPA, ensure the SeaText script loads on every route change. The documentation assumes traditional page loads.
  • Password-protected staging. If your staging site requires HTTP Basic Auth or a VPN, SeaText's crawlers and AI may not access pages. The AI needs to render and analyze content.
  • Shared staging across teams. If multiple teams share one staging domain, their SeaText accounts would conflict. Each team needs its own staging subdomain.
  • Enterprise or multi-tenant setups. Large organizations managing dozens of sites should contact SeaText sales — the standard one-account-per-domain model may not scale efficiently.

Key Facts

FactDetailSource
Account-to-domain ratioOne SeaText AI account per primary URLS1
Staging domain supportSupported with separate accountS1
Localhost allowedNo — restricted for securityS1
Dynamic preview URLsMay not function properlyS1
Activation dwell timeAt least 40 seconds on pageS1
Dashboard confirmationDomain appears next to logo within 5–10 minutesS1
WP Engine integrationRequires WP Engine plugin for custom JSS1
Cross-domain isolationAccounts operate independently; no data sharingS1

FAQ

Can I copy my production account's variants to staging?

Not automatically. Each account manages its own variants. You would need to recreate or manually copy variant content in the staging account's Variants Edit panel.

Will staging AI training affect production AI models?

No. Models are trained per account. Staging traffic, conversions, and variant performance stay in the staging account.

Do I pay for two accounts?

Yes. Each account is billed separately. Check SeaText pricing for multi-account discounts.

Can I use a subdirectory (example.com/staging) instead of a subdomain?

The documentation specifies "primary URL" per account. A subdirectory on the same domain would likely be treated as the same primary URL. Use a subdomain or separate domain.

What if my staging domain changes?

If the primary URL changes, you need a new account. SeaText links the account to the specific domain you registered.

Can I test the Bot Refund Agent on staging?

Only if your staging site receives real paid traffic (Google Ads, Meta Ads). The agent analyzes ad clicks — without paid traffic, there's nothing to analyze.

How do I know the AI is actually working on staging?

After activation, go to Variants Edit in the dashboard. You'll see automatic translations and variants generated for your staging pages. You can also check the Main AI Hub for active agent status.

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.