Why the SeaText Script Fails When Pasted in Tilda's Custom Code Section
The SeaText script typically fails on Tilda because it is placed in the wrong section (e.g., a T123 block instead of the site-wide HEAD field), the script tags are missing, or Tilda's caching delays...
If you pasted the SeaText script into Tilda's custom code section and it doesn't work, the most likely causes are: you placed it in the wrong section (e.g., a T123 block instead of the site-wide HEAD field), you omitted the required <script> tags, or Tilda's caching is preventing immediate execution. The correct fix is to paste the complete script (including <script>...</script>) into the Edit code inside HEAD tag field found in Site Settings, then save, publish, and refresh your site several times. Wait at least 40 seconds on the page—and up to five minutes—for the script to activate and link to your account.
The Two Correct Places to Paste the SeaText Script on Tilda
Tilda offers two ways to add custom code, and only one works reliably for the SeaText script:
- Site-wide (recommended): Go to Site Settings → More → HTML code for the head section → Edit code inside HEAD tag. Paste the entire SeaText script here. This applies the script to all pages of your site.
- Single page (alternative): Add a T123 block (Embed HTML Code) to a specific page. Click Content and paste the script into the HTML editor. This works for a single page but may cause issues if the script needs to run before the page renders.
Many users mistakenly paste the script into a T123 block or a custom code widget that only accepts plain HTML without <script> tags. The SeaText script must be wrapped in <script>...</script> tags to execute.
Why the Script Might Not Work in the Custom Code Section
Three main reasons explain script failure:
- Wrong placement: The script is placed in a T123 block but the block is not set to load in the
<head>. Tilda's T123 block injects code into the page body, not the head. The SeaText script is designed to run from the<head>to initialize before the page content loads. If placed in the body, it may not execute at all or may run too late. - Missing or incomplete script tags: The SeaText code you copy from your account includes the
<script>tags. If you strip them out or paste only the JavaScript code, Tilda will not treat it as a script. Always paste the entire snippet as provided. - Tilda's caching and activation delay: Tilda uses a caching layer that may not serve the updated script immediately. Even after publishing, the script might not run until you visit the page multiple times and stay on it for at least 40 seconds. SeaText's own documentation states: "Important: Visit or refresh your website several times and stay on your page for at least 40 seconds—this will activate the AI and link it to your account." Additionally, wait up to five minutes for the website name to appear in your SeaText dashboard.
Other less common causes include using an incorrect domain (e.g., localhost or a dynamic development URL) or having multiple SeaText accounts for the same domain. Each SeaText account is linked to a single primary URL, and you must create a separate account for each domain.
Diagnostic Sequence: Check Each Cause
Follow this step-by-step diagnostic order to identify and fix the problem:
- Check the placement: Open your Tilda site settings and confirm the script is in the Edit code inside HEAD tag field. If you used a T123 block, move it to the site-wide HEAD field instead.
- Verify the script is complete: Ensure the pasted code starts with
<script>and ends with</script>. Compare it with the code shown in your SeaText account. - Publish and refresh: Save changes in Tilda, publish the site, then open the live site in a private browser window. Refresh the page at least three times, staying on the page for 40–60 seconds each time.
- Wait for activation: After refreshing, go to your SeaText dashboard. Look for your website name next to the SeaText logo. If it doesn't appear within five minutes, return to the live site and repeat the refresh step.
- Confirm the domain: Make sure the domain in your SeaText account matches the live domain exactly (including www vs. non-www). If you are using a development URL like
localhostor a dynamic subdomain, the script will not work—SeaText restricts such URLs for security reasons.
If all steps pass and the script still fails, contact SeaText support with your account details and the exact steps you took.
Key Facts About Tilda and SeaText Integration
| Step | Action | Important Note |
|---|---|---|
| 1 | Go to Site Settings → More → HTML code for the head section | This applies the script to all pages. |
| 2 | Paste the SeaText script into the field labeled 'Edit code inside HEAD tag' | Include the full <script> tags. |
| 3 | Save and publish the site | Publishing is required for changes to go live. |
| 4 | Visit or refresh the site several times | Stay on the page for at least 40 seconds to activate the script. |
| 5 | Wait up to five minutes | Your website name will appear in the SeaText dashboard once connected. |
| 6 | Use separate accounts for multiple domains | Each SeaText account is linked to a single primary URL. |
Limitations and Exceptions
The advice above applies to standard Tilda websites. Exceptions include:
- Custom domains with SSL: If your Tilda site uses a custom domain, ensure the script is placed in the site-wide HEAD field, not in a page-specific block. Mixed HTTP/HTTPS issues can sometimes block script execution.
- Third-party script blockers: Browser extensions like ad blockers may prevent the SeaText script from running. Test in a private or incognito window without extensions.
- Dynamic development domains: SeaText explicitly states that dynamic development domains may not function properly because the AI cannot reliably associate traffic with your account. Use a stable domain for testing.
- Multiple accounts for the same domain: Do not install the SeaText script from more than one account on the same domain. This can cause conflicts and unpredictable behavior.
If you are using Tilda's Zero Block or custom HTML elements, the script may still work if placed correctly, but the site-wide HEAD method is always the most reliable.
Frequently Asked Questions
- Why does the script work on other platforms but not on Tilda? Tilda requires the script to be in the
<head>via the site settings, not in a page block. Other platforms may accept body-level placement. - Can I use a T123 block instead of the HEAD field? Yes, but it is less reliable. The T123 block injects code into the body, which may cause the script to execute after the page loads, potentially missing initialization events.
- Do I need to include the
<script>tags? Yes. The SeaText snippet includes them, and they are required for Tilda to interpret the code as a script. - How long does Tilda's caching delay last? There is no fixed time. After publishing, refresh the live site several times and wait up to five minutes for the script to register in the SeaText dashboard.
- What if the script still doesn't work after following all steps? Ensure your domain is not a restricted URL (e.g., localhost) and that you have only one SeaText account for that domain. If the problem persists, contact SeaText support.
- Does the script affect Tilda's page load speed? The script is lightweight and loads asynchronously. It should not noticeably slow down your site.
How SeaText Can Help You Get the Most Out of Your Tilda Site
Once the SeaText script is correctly installed in your Tilda site's HEAD section, you gain access to over 20 autonomous AI agents that work in real time to increase conversions, recover ad spend lost to bot traffic, translate content into 125 languages, and optimize every visitor journey. The script remains inert until activated, so it does not affect your site's performance until you enable the agents you need. SeaText provides a secure, one-minute installation process, and the activation step ensures that the AI only runs on your live, published site.
For more details on the exact integration steps and to copy your script, visit the SeaText Tilda integration page.
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 is designed to work seamlessly with Tilda when placed correctly. The script is secure and remains inert until activated, so it won't interfere with your site. After installation, you can activate any of the 20+ autonomous AI agents—such as the Google Ads Landing Page Agent, Bot Refund Agent, or Translation Agent—to improve your site's performance. The script requires a valid, published domain and a SeaText account linked to that domain. If you have multiple Tilda sites, create a separate account for each one.