Seatext library

How to Update SeaText in Your Odoo Instance

SeaText runs in Odoo as a JavaScript snippet embedded via the Website builder's Embed Code block. To update it, sign in to your SeaText account, copy the current integration code, and replace the existing...

Quick answer

SeaText is not an Odoo module you update from the Apps menu. It is a JavaScript snippet you paste into an Embed Code block inside the Odoo Website editor. Updating means replacing that snippet with the latest version from your SeaText dashboard.

Why updating matters

SeaText adds AI agents that rewrite copy, translate content, and protect ad spend. New agents and improvements are released regularly. The snippet loads the latest agent logic from SeaText's CDN. If the integration code itself changes, you must replace the snippet to get the new features. Keeping the snippet current ensures you benefit from the latest conversion optimizations, translation updates, and bot protection.

Prerequisites

  • Admin access to your Odoo instance.
  • Access to the SeaText account that owns the domain you are updating.
  • The Odoo page where the Embed Code block was originally placed.

Step-by-step update process

  1. Get the latest snippet. Log in to seatext.com, open the project for the domain running on Odoo, and copy the JavaScript integration code shown in the setup section.
  2. Open the Odoo Website editor. In Odoo, go to WebsitePages, select the page that contains the SeaText embed, and click Edit.
  3. Locate the Embed Code block. In the left Blocks panel, scroll to Dynamic Content and find the Embed Code block you placed during initial setup. Click it to open the right-side settings panel.
  4. Replace the code. Click the Edit button in the right panel, delete the old snippet, paste the new one you copied from SeaText, and click Save.
  5. Keep the block hidden on desktop (if configured). In the Visibility section of the block settings, ensure Hide on Desktop remains checked if you originally hid the block. Click Save again.
  6. Publish the page. Click Save in the top-right corner of the editor, then Publish to push the updated snippet live.

How the snippet works

The snippet is a small JavaScript file that loads from SeaText's CDN. It does not contain the AI logic itself. Instead, it fetches the current agent configuration and runs in the visitor's browser. This means most updates happen automatically on SeaText's side. You only need to replace the snippet when SeaText changes the integration code structure, which is rare.

How to verify the update worked

Visit the published page in a private browser window. Open the browser developer tools (F12), go to the Console tab, and look for a log line that includes SEATEXT or seatext. You can also check the Network tab for a request to seatext.com or cdn.seatext.com. If the new snippet loads without errors, the update is live.

Why the Apps menu won't show SeaText

Odoo's Apps → Update Apps flow only manages server-side modules installed from the Odoo App Store or custom addons. SeaText runs entirely client-side via the Embed Code block, so it never appears in the Apps list. The update path is always "replace the snippet in the Website editor."

When you might need a new snippet

  • SeaText releases a new feature that requires a change to the integration code (e.g., additional AI agents, updated translation logic).
  • You change the primary domain in your SeaText account (each account is tied to one primary URL).
  • You migrate from a development domain to production — development URLs such as localhost are restricted for security reasons.

Common mistake: editing the wrong page

If you placed the Embed Code block on a specific landing page instead of a global layout (header/footer), you must update that exact page. Check Website → Configuration → Settings → Layout to see whether your theme uses a global header/footer snippet area; if so, update there once instead of on every page.

Decision criteria: update vs. wait

Update when SeaText notifies you by email that the integration code has changed. Update when you switch domains. Do not update if you only want new AI agent behavior — the snippet loads that automatically. Check the setup page in your SeaText dashboard to see if the code displayed differs from what you have in Odoo.

Practical scenarios

Staging to production

You built a staging site on a temporary domain. When you move to the real domain, create a new SeaText account for the production domain. Copy the new snippet and replace the staging snippet in Odoo. The old staging account can be deleted.

Multiple regional sites

Each regional domain needs its own SeaText account. You will have separate Embed Code blocks for each Odoo website or each page if you run multiple sites in one Odoo instance. Manage each snippet independently.

Team collaboration

Store the working snippet in a shared document or repository. If someone accidentally overwrites the block, you can restore the known good version quickly.

Limitations

  • Each SeaText account supports one primary domain. Multiple domains (staging, production, regional sites) require separate SeaText accounts and separate Embed Code blocks.
  • Dynamic development domains (e.g., *.ngrok.io, *.loca.lt) may not function reliably because SeaText cannot stably associate traffic with your account.
  • The Embed Code block approach means you cannot version-control the snippet inside Odoo; keep a copy of the working snippet in your own notes or repository.
  • If you paste the snippet into a regular HTML block instead of Embed Code, the script may be stripped or not execute. Always use the Embed Code block under Dynamic Content.

Key facts

ItemDetail
Integration methodJavaScript snippet in Odoo Website Embed Code block (Dynamic Content)
Update mechanismManual snippet replacement in the Website editor
Visibility control"Hide on Desktop" option in block Visibility settings
Domain policyOne SeaText account per primary domain; localhost and dynamic dev domains restricted
SourceSeaText Odoo Integration guide (S1)

FAQ

Do I need to restart Odoo after updating the snippet?

No. The snippet runs in the visitor's browser. Saving and publishing the page is sufficient.

Can I update SeaText via the Odoo Apps menu?

No. SeaText is not an Odoo server-side module; it does not appear in Apps.

What if I lost the page that contains the Embed Code block?

Go to Website → Pages, search for "Embed Code" in the page list, or check the theme's global header/footer under Website → Configuration → Settings → Layout.

Does the snippet change when SeaText adds new AI agents?

Usually not. The snippet loads the latest agent logic from SeaText's CDN. You only need a new snippet if the integration code itself changes (rare).

Can I use the same SeaText account for staging and production Odoo instances?

No. Each account is linked to a single primary URL. Create a separate SeaText account for each domain.

How do I know a new snippet is available?

SeaText notifies account owners by email when the integration code changes. You can also check the setup page in your SeaText dashboard.

What happens if I paste the snippet into a regular HTML block instead of Embed Code?

The script may be stripped or not execute. Always use the Embed Code block under Dynamic Content.

Can I automate snippet updates?

Not within Odoo. The snippet is static text in the Embed Code block. You could use an external script to push updates via Odoo's API, but that is custom development.

Does updating the snippet affect existing translations or A/B tests?

No. Translations and tests are stored in your SeaText account. The snippet only loads them. Replacing the snippet does not reset those settings.

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.