Why can't I find the embed code snippet in my Odoo website builder?
The embed code block is usually there, but it is easy to miss: in recent Odoo versions it is called Embed Code and sits under Dynamic Content in the Blocks panel. Older versions, outdated...
The short answer: the embed code block is usually there, but it is easy to miss. In recent Odoo releases the block is called Embed Code and it sits under Dynamic Content in the website builder's Blocks panel. If your Odoo version is older, your Website module is not up to date, or your user account has limited editing rights, the block can be renamed, hidden, or unavailable.
Start by putting the page in Edit mode, opening the Blocks panel, and looking for Dynamic Content. If it is still missing, use the diagnostic sequence below before you try a workaround.
Why the Embed Code block can disappear
Odoo's website builder stores reusable page pieces in a Blocks panel. The developer documentation calls these pieces building blocks or snippets. The Embed Code block is one of those snippets, and it is normally grouped under Dynamic Content.
You can miss it for several reasons:
- You are not in Edit mode. The Blocks panel does not appear until you click Edit.
- The block has a different name. Older Odoo versions and some themes call it HTML Code, Custom Code, or Code.
- The Website module is outdated. When modules are not updated, some snippets are missing or have new names.
- Your user role is limited. Some accounts can edit content but do not see advanced blocks.
- Developer mode is off. Some technical snippets only appear when Odoo runs with developer mode enabled.
- A custom theme hides it. Themes can change which blocks are available on a page.
This matters because the Embed Code block is often the safest way to add a third-party script to a page. If you cannot find it, you might paste code into the wrong place or use a workaround that breaks the page. Fix the visibility issue first.
Follow this diagnostic sequence
Work through these steps in order. They separate simple visibility mistakes from real installation problems.
- Put the page in Edit mode. If you do not see an Edit button, you probably do not have editor access. Ask your Odoo administrator to check your user role.
- Open the Blocks panel. In most themes, the panel appears after you click Edit at the top-right of the page.
- Search by name. If your version has a search box, type Embed Code or HTML.
- Look under Dynamic Content. Scroll past columns, images, and text blocks. Embed Code is usually near the end of that category.
- Check the Odoo version. Older releases may call the block HTML Code or Custom Code.
- Update the Website module. Some missing snippets are fixed by updating modules. In developer mode, use the Apps screen to update the website module.
- Turn on developer mode. Enable it from Settings, then open the Blocks panel again.
- Verify user permissions. Try the same page with an administrator account. If the block appears there, the problem is your role.
- Test on a clean page. A page template or custom theme can hide blocks. Create a new blank page and check again.
- Try a fallback. If the block is genuinely missing, use an HTML Code widget or the HTML view in a text block while you fix the root cause.
Likely causes and the fix for each
| Cause | How to confirm it | Fix |
|---|---|---|
| Not in Edit mode | No Edit button or Blocks panel appears | Click Edit on the page and look again. |
| Block renamed | Search finds no Embed Code | Look for HTML Code, Custom Code, or Code. |
| Outdated Website module | Snippets missing on more than one page | Update the website module or run an upgrade. |
| Limited user permissions | Edit button missing for your account | Ask an admin to grant Website Editor or Designer access. |
| Custom theme hides blocks | Block appears on a default theme, not your theme | Switch themes temporarily or contact the theme developer. |
| Developer mode is off | Block appears only when Odoo runs with dev parameters | Enable developer mode and check again. |
Where the Embed Code block lives in Odoo
In the Odoo website builder, blocks are grouped by purpose. Dynamic Content is the category for maps, social feeds, and custom code. The Embed Code block is normally at or near the end of that list, so scroll down.
Odoo's developer documentation groups blocks into structure blocks and inner content blocks. Structure blocks create rows and columns. Inner content blocks, like Embed Code, are placed inside those structures. If your theme hides inner content blocks, you lose the Embed Code option too.
Name changes across versions
- Recent Odoo: Embed Code.
- Older Odoo: HTML Code or Custom Code.
- Custom themes: Some themes relabel the block or move it under Advanced or Custom.
How to add an embed code block step by step
When the block is visible, the process is short.
- Log in to your Odoo account and open the Website module.
- Open the page you want to edit.
- Click Edit to open the editing panel.
- In the Blocks panel, scroll to Dynamic Content.
- Find the Embed Code block and drag it to the spot you want.
- Click Edit in the right panel.
- Paste the code in the pop-up window.
- Click Save.
- Use the Visibility options if needed, then save again.
What to do if the block still won't appear
- Use the HTML/Code widget. Some Odoo themes include a separate HTML/CSS/JS widget that accepts the same pasted code.
- Use the HTML view in a text block. Open a text block, switch to HTML view, and paste the code inside the content.
- Create a custom snippet. A developer can register a new snippet in a theme. This is more work but gives you a clean block for the code.
- Contact your administrator. They can update modules, check permissions, and test the site in developer mode.
Installing a script like SEATEXT AI: what the integration assumes
SEATEXT AI's Odoo integration uses this exact block. The flow is simple:
- Create a SEATEXT AI account.
- Copy the JavaScript code from the account area.
- Add the Embed Code block to the page and paste the script.
- Click Save.
According to the integration documentation, the AI remains inert until activated, so the page does not change until you turn the agents on. If you do not want the block itself to be visible, use the Hide on Desktop option in the Visibility section.
Domain rules matter. Each SEATEXT AI account is linked to a single primary URL. For multiple domains, create separate accounts. Use a real domain, not localhost, because development URLs are restricted and dynamic development domains may not work reliably.
Key facts: Seatext Odoo integration
| Area | What the source documentation says |
|---|---|
| Where to add the code | Website module, then page, then Edit, then Blocks panel, then Dynamic Content, then Embed Code. |
| How to edit the code | After placing the block, click Edit in the right panel and input the code in the pop-up window. |
| Required before install | You need a SEATEXT AI account before you can install the script. |
| Where the script comes from | Copy the JavaScript code from the SEATEXT AI account area. |
| Desktop visibility | Use the Hide on Desktop option in the Visibility section when needed. |
| Domain rule | Each SEATEXT AI account is linked to a single primary URL. |
| Development URLs | localhost and dynamic development domains are restricted or may not work reliably. |
Limitations and when this advice does not apply
- The Website app is not installed. If the Website module itself is missing, there is no Blocks panel. Enable the Website app first.
- Your theme removes the block. A page template or custom theme can hide Dynamic Content. Temporarily switch to a default theme to confirm.
- Your script must load in the page head. The Embed Code block places code where you put it. Scripts that need to run before the page loads may not work correctly.
- You need a site-wide script. The Embed Code block adds code to one page. For code on every page, use Odoo's head code area or a custom module.
- You are testing on localhost. A provider may block localhost or development domains, so the script may not run even after you paste it.
Terminology you will see in Odoo
- Block or snippet: a reusable piece of page content in the website builder.
- Blocks panel: the panel that lists available snippets when you click Edit.
- Dynamic Content: a category in the Blocks panel for maps, feeds, and custom code.
- Embed Code block: a block that accepts raw HTML, CSS, and JavaScript.
- Developer mode: a debugging mode that exposes more technical options.
Frequently asked questions
Why can't I see the Blocks panel at all?
You are probably not in Edit mode, or your user account does not have website editor permissions. Click Edit on the page. If no Edit button exists, ask your Odoo administrator to grant access.
Is Embed Code the same as HTML Code?
They serve the same purpose. Recent Odoo versions call the block Embed Code. Older versions and some themes call it HTML Code or Custom Code.
Can I add an embed code without the Embed Code block?
Yes. Use an HTML/Code widget if your theme has one, or use the HTML view inside a text block. For permanent or site-wide scripts, a custom module or snippet is better.
Why is my embed code not working after I save it?
Check the code, the page, and the block's visibility settings. Confirm the domain is allowed by the provider and that the script does not need to be in the page head.
Does SEATEXT AI work on localhost?
No. Development URLs such as localhost are restricted, and dynamic development domains may not work reliably. Use a valid real domain.
Do I need a separate SEATEXT AI account for each website?
Yes. Each account is linked to a single primary URL, so create one account per domain.
Further reading and comparison sources
These external sources provide additional context for evaluating the topic. Their inclusion is not an endorsement.
How Seatext can help
Seatext provides a step-by-step Odoo integration page that uses the same Embed Code block described in this article. You copy the JavaScript snippet from SEATEXT AI, place the block under Dynamic Content, click Edit, and paste the code. The AI stays inert until you activate it, so the page is not changed by the install alone.
There are two practical limits to keep in mind. You need a SEATEXT AI account before you install the script, and each account is linked to one primary URL. If you test on localhost or a dynamic development domain, the script may be restricted or may not associate traffic reliably.