Add a chatbot to a Weebly site by copying your chatbot provider’s embed snippet and inserting it either into a page’s Embed Code element (page-specific) or via Integrations → Add new code (site-wide header/body). Publish the site and verify on the live pages.
Use CustomGPT’s 7-day free trial to generate your embed snippet.
TL;DR
To add a chatbot to Weebly, copy your provider’s embed snippet and paste it either (a) into a page’s Embed Code element (shows on that page) or (b) into Integrations → Add new code (loads site-wide). Some embeds won’t render instantly in the editor, so publish and verify on the live site.Before You Start
- Access: You need edit access to the Weebly site and permission to publish changes.
- Decide placement:
- One page only: Use the Embed Code element.
- Every page: Use Integrations → Add new code (header/body injection).
- Preview caveat: Some embeds may not display instantly inside the editor; confirm on the published site.
Choose Your Install Method
- Floating Widget (Script Snippet): Best when you want a persistent “chat” entry point across pages.
- Inline Embed (iFrame): Best when you want the chatbot to appear inside a specific section of a page (and accept that refresh/navigation may reset the conversation for iframe embeds, depending on provider).
Add A Chatbot To A Single Weebly Page
Use this when you only want the chatbot on specific pages (Home, Contact, Pricing).- Open the Weebly site editor and go to the target page.
- Drag the Embed Code element onto the page.
- Click the element and choose Edit Custom HTML
- Paste your chatbot embed code exactly as provided.
- Click outside the element to save.
- Publish and verify on the live page (don’t rely only on editor preview).
Add A Chatbot Site-Wide In Weebly
Use this when you want the chatbot to load on every page without adding it page-by-page.- In Weebly, open Integrations.
- Scroll down and click Add new code.
- Name it (example: “Chatbot widget”).
- Paste the embed snippet in the Custom code field.
- Choose Header or Body based on your provider’s instructions. (If no guidance is provided, start with Body, then test, this is a heuristic, not a rule.)
- Click Save, then re-publish the site.
- Check multiple pages to confirm it loads everywhere.
How To Do It With CustomGPT.ai
This section shows how to generate CustomGPT embed code and paste it into Weebly using either method above.Get The CustomGPT Embed Snippet
- In CustomGPT, open your agent and use the three-dots menu, then select the Deploy Agent option.
- Click Make Public (this enables sharing and embedding).
- In the embed instructions, copy the HTML script snippet from the embed section.
- Optional: use the built-in preview (“Try it out!”) before touching Weebly.
- Paste the snippet into Weebly either:
- page-level via the Embed Code element, or
- site-wide via Integrations → Add new code.
Add CustomGPT Live Chat
If you want the “chat widget” style, follow the Live Chat deployment steps and paste the copied script into Weebly.Use A CustomGPT iFrame
Use iframe when you want the chatbot inside a page section.- In CustomGPT, open your agent → Deploy → Integration tab → copy the iframe code.
- In Weebly, add an Embed Code element and paste the iframe code.
- Publish and verify on the live page.
Build The Agent From Your Weebly Pages
If your goal is for the chatbot to answer from your Weebly site content:- In CustomGPT, click New Agent.
- Under Content Management System, choose Weebly.
- Enter your Weebly site URL so CustomGPT can detect pages and build the agent.
Testing Checklist
- Verify on published pages (not only the editor).
- Test at least 2–3 different pages (home + a deeper page).
- Confirm mobile behavior (launcher position, overlap with sticky bars).
- Open DevTools Console (if possible) and check for script errors.
- If site-wide, confirm the widget does not duplicate (only one instance per page).
Troubleshooting
- Not published: Publish first; some embeds won’t render reliably in-editor.
- Wrong placement: Page embed ≠ site-wide code. If you want it everywhere, use Integrations → Add new code.
- Broken layout after adding code: Remove the snippet and re-add carefully; Weebly warns custom code can break or cause compatibility issues.
- SSL / mixed content: If your site is HTTPS but the embed loads HTTP resources, browsers may warn or block parts of the embed, verify the provider snippet uses HTTPS URLs.
- iFrame “resets” conversation: Expected for CustomGPT iframe embeds; use Live Chat if you need persistence.
Example: Add A Floating Chat Widget To A Weebly Homepage
- Copy your chatbot’s script snippet (for CustomGPT: Deploy Agent → Make Public → copy script).
- In Weebly, open the Home page editor.
- Add an Embed Code element → Edit Custom HTML → paste the script.
- Publish and confirm the widget appears on the live homepage.