Put the quote box on your website

Find the thing you built your website with and follow the steps. It takes about five minutes, it's one copy and paste, and you don't need a developer.

Before you start, get three things

  1. The login for your website. You need to be the owner or an admin — a page editor usually can't add code.
  2. Your widget key, from the QuoteBox dashboard under Widget. It starts with wgt_. The same page tells you whether the widget is enabled and whether your pricing is published.
  3. Your website address added to Allowed website origins, on that same dashboard page. https://www.yoursite.co.uk and https://yoursite.co.uk count as two different addresses, so add both if you're not sure which one your site uses.
The code

Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

<script
  src="https://cdn.quotebox.ai/v1/widget.js"
  data-key="wgt_your_key_here"
  data-mode="launcher"
  data-position="bottom-right"
  data-api-url="https://quotebox.ai/api/widget/bootstrap"
  defer
></script>
Copy it, swap the key, then paste it where the step says.

Every guide below pastes this same code in a different place. The version with your own key already filled in is on Dashboard → Widget.

Every snippet here is the exact code we ship, and we ran the plain HTML guide end to end. Where a builder's own admin panels weren't available to test, the click path comes from that builder's help page — linked in the section.

WordPress

Snippet tested · panel names from their docs

Most trades websites run on WordPress, so you're in the right place. There are three ways in — take the first one unless you have a reason not to.

This click path wasn't walked on a live WordPress account — the panel names come from WordPress documentation.

CarefulOnly do this on a site you can undo. If someone else built your site, send them this page — it takes them a minute.

Three things that break this install

  1. The key has to be yours. The code on this page carries a placeholder key, wgt_your_key_here, because your own key isn't public. Replace it with the key from Dashboard → Widget before you paste. Left as it is, the widget loads and then shows the "Chat is unavailable" card — the server doesn't recognise the key.
  2. One copy, at the end of the page. The code ends with defer, so the browser waits until the page has loaded before it runs. Paste it once, in the footer just before </body>, and leave the Head fields empty. In inline mode the <div id="quotebox"></div> line is what decides where the panel sits — without that box the loader makes one directly after the script, so the panel lands at the bottom of the page instead of under your heading.
  3. The site has to be allowed. If nothing appears, open your browser's developer tools (F12). The Console shows red errors; Network shows the request to /api/widget/bootstrap. A refused request usually means the key isn't recognised or that exact address isn't in Allowed website origins — often the browser reports it as a CORS error rather than a status. When a status is readable, 403 means the request arrived without a usable site address, 404 means the key or this address isn't recognised, and "Widget is not ready" means no pricing is published yet. Dashboard → Widget shows the key, the enabled switch and whether a schema version is live.

Use a snippet plugin

Every page

The easiest route. The code lives apart from your theme, so WordPress and theme updates can't wipe it out.

Your code goes in once, at the end of every page, just before the closing body tag.
  1. Log in to WordPress

    Go to yoursite.co.uk/wp-admin and sign in. You need an administrator account, not an editor one.

  2. Open the plugin screen

    PluginsAdd New Plugin

  3. Install a snippet plugin

    Search for WPCode, or Insert Headers and Footers. Click Install Now, then Activate.

  4. Paste the code into the footer

    Open the plugin's own menu item, add a new snippet, name it QuoteBox, and paste the code below into the footer area.

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.

    TipIf the plugin asks where to put it, choose Footer. That means just before the page ends, and it is the field every snippet plugin has.

  5. Save, then open your site in a new tab

    Free snippet plugins all look slightly different, but they all have one switch for where the code goes. Footer is the answer.

Add a Custom HTML block to one page

One page

Quickest route when the button only needs to be on your contact page.

Your code goes inside the one page you edited. Every other page stays as it is.
  1. Edit the page you want it on

    Click the + button where the block should go.

  2. Search for Custom HTML and add the block

    + Add blockCustom HTML

  3. Paste the code into the block

    Click Preview in the block to see it before you publish. The block sits in the page body, so the script loads after the page — that's what you want.

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.
  4. Click Update

    The button now appears on that page only. For every page, use the plugin route instead.

Edit your theme file

Every page

No plugin needed, but a theme update replaces the file you edit — so keep a copy of what you pasted.

Your code goes in once, at the end of every page, just before the closing body tag.
  1. Open the theme file editor

    AppearanceTheme File Editor

    CarefulIf that menu is missing, your host has switched file editing off. Use the plugin route instead — it is safer anyway.

  2. Open footer.php

    Most themes keep the closing </body> tag in footer.php. It's in the file list on the right.

  3. Paste the code just above </body>

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.

    CarefulA theme update puts the original file back and your code disappears. Keep a note of what you pasted, or use the plugin route so updates can't remove it.

  4. Click Update File

    Then open your site in a new tab to check it.

How to check it worked

Open your website in a normal browser tab — not the WordPress preview. Within a second or two the Get a guide price button should appear in the bottom-right corner. If you use a caching plugin, clear the cache once and reload. Still nothing? Developer tools (F12) → Network → reload, and look at the request to /api/widget/bootstrap.

The finished job: a Get a guide price button in the corner of every page. Tap it and the quote panel opens.

Wix

Snippet tested · panel names from their docs

Wix keeps site-wide code in the dashboard rather than the editor, and it only runs on your published site.

This click path wasn't walked on a live Wix account — the panel names come from Wix: embedding custom code.

CarefulWix only runs custom code on a published site with your own domain connected, which means a paid plan. On a free Wix address the code is saved but never runs.

Three things that break this install

  1. The key has to be yours. The code on this page carries a placeholder key, wgt_your_key_here, because your own key isn't public. Replace it with the key from Dashboard → Widget before you paste. Left as it is, the widget loads and then shows the "Chat is unavailable" card — the server doesn't recognise the key.
  2. One copy, at the end of the page. The code ends with defer, so the browser waits until the page has loaded before it runs. Paste it once, in the footer just before </body>, and leave the Head fields empty. In inline mode the <div id="quotebox"></div> line is what decides where the panel sits — without that box the loader makes one directly after the script, so the panel lands at the bottom of the page instead of under your heading.
  3. The site has to be allowed. If nothing appears, open your browser's developer tools (F12). The Console shows red errors; Network shows the request to /api/widget/bootstrap. A refused request usually means the key isn't recognised or that exact address isn't in Allowed website origins — often the browser reports it as a CORS error rather than a status. When a status is readable, 403 means the request arrived without a usable site address, 404 means the key or this address isn't recognised, and "Widget is not ready" means no pricing is published yet. Dashboard → Widget shows the key, the enabled switch and whether a schema version is live.

Add the code to every page

Every page

This is the route Wix built for chat buttons and analytics. One paste, every page, now and in future.

Your code goes in once, at the end of every page, just before the closing body tag.
  1. Open your site in the Wix dashboard

    Not the editor — the dashboard you land on after logging in.

  2. Open Custom Code

    SettingsCustom Code

    It sits in the Development & integrations section.

  3. Click + Add Custom Code

  4. Paste the code and name it QuoteBox

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.
  5. Choose where it runs

    Under Add Code to Pages pick All pages, then choose Load code once per visit. Under Place Code in pick Body – end.

  6. Click Apply, then publish your site

Use the Embed HTML element

Inside a box

Only if your plan doesn't show Custom Code. Wix loads this element inside its own frame.

Your code sits inside the box your builder gives it, so it covers that box rather than the whole page.
  1. Open the page in the Wix editor

    Click + Add Elements on the left.

  2. Add an embed

    Embed CodeEmbed HTML

  3. Paste the code and click Apply

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.
  4. Drag the box into a free corner, then publish

How to check it worked

Load your live site in a new tab — the Wix editor won't show it. The Get a guide price button should sit in the bottom-right corner of the window and stay there as you scroll. If it doesn't, developer tools (F12) → Network → reload and read the /api/widget/bootstrap request.

The finished job: a Get a guide price button in the corner of every page. Tap it and the quote panel opens.

Squarespace

Snippet tested · panel names from their docs

Squarespace only runs custom code on paid plans. Code Injection puts the button on every page; a Code Block puts it on one page.

This click path wasn't walked on a live Squarespace account — the panel names come from Squarespace: code injection.

CarefulCode Injection needs the Core, Plus or Advanced plan, or a legacy Business or Commerce plan. On a Basic plan (or an old Personal one) the panel isn't there at all, and a Code Block won't run scripts either — it shows your code as text.

Three things that break this install

  1. The key has to be yours. The code on this page carries a placeholder key, wgt_your_key_here, because your own key isn't public. Replace it with the key from Dashboard → Widget before you paste. Left as it is, the widget loads and then shows the "Chat is unavailable" card — the server doesn't recognise the key.
  2. One copy, at the end of the page. The code ends with defer, so the browser waits until the page has loaded before it runs. Paste it once, in the footer just before </body>, and leave the Head fields empty. In inline mode the <div id="quotebox"></div> line is what decides where the panel sits — without that box the loader makes one directly after the script, so the panel lands at the bottom of the page instead of under your heading.
  3. The site has to be allowed. If nothing appears, open your browser's developer tools (F12). The Console shows red errors; Network shows the request to /api/widget/bootstrap. A refused request usually means the key isn't recognised or that exact address isn't in Allowed website origins — often the browser reports it as a CORS error rather than a status. When a status is readable, 403 means the request arrived without a usable site address, 404 means the key or this address isn't recognised, and "Widget is not ready" means no pricing is published yet. Dashboard → Widget shows the key, the enabled switch and whether a schema version is live.

Code Injection

Every page

One paste covers the whole site. This is the panel to look for.

Your code goes in once, at the end of every page, just before the closing body tag.
  1. Open your site's dashboard

    WebsiteWebsite ToolsCode Injection

    Squarespace moves this panel: some accounts show it at the bottom of the Pages panel, and older ones under Settings → Advanced. The fields inside do the same job.

  2. Scroll to the Footer box and paste the code

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.
  3. Click Save

Code Block

One page

Puts the button on one page without touching the rest of the site.

Your code goes inside the one page you edited. Every other page stays as it is.
  1. Edit the page

    Add BlockCode

  2. Paste the code and set Type to HTML

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.
  3. Click Save & Close, then save the page

    If you're logged in and can't see it, click Preview in Safe Mode. Squarespace hides some embedded code from the editor.

How to check it worked

Load your live site, look bottom-right for the Get a guide price button, then open a second page. With Code Injection it's on both. With a Code Block it only appears on the page you edited. If neither shows, developer tools (F12) → Network → reload and read the /api/widget/bootstrap request.

The finished job: a Get a guide price button in the corner of every page. Tap it and the quote panel opens.

Shopify

Snippet tested · panel names from their docs

Shopify keeps site-wide code in your theme. Duplicate the theme first, so undoing a mistake is one click.

This click path wasn't walked on a live Shopify account — the panel names come from Shopify: editing theme code.

TipIf you can't find </body>, use your browser's find-in-page inside the code editor and search for body.

Three things that break this install

  1. The key has to be yours. The code on this page carries a placeholder key, wgt_your_key_here, because your own key isn't public. Replace it with the key from Dashboard → Widget before you paste. Left as it is, the widget loads and then shows the "Chat is unavailable" card — the server doesn't recognise the key.
  2. One copy, at the end of the page. The code ends with defer, so the browser waits until the page has loaded before it runs. Paste it once, in the footer just before </body>, and leave the Head fields empty. In inline mode the <div id="quotebox"></div> line is what decides where the panel sits — without that box the loader makes one directly after the script, so the panel lands at the bottom of the page instead of under your heading.
  3. The site has to be allowed. If nothing appears, open your browser's developer tools (F12). The Console shows red errors; Network shows the request to /api/widget/bootstrap. A refused request usually means the key isn't recognised or that exact address isn't in Allowed website origins — often the browser reports it as a CORS error rather than a status. When a status is readable, 403 means the request arrived without a usable site address, 404 means the key or this address isn't recognised, and "Widget is not ready" means no pricing is published yet. Dashboard → Widget shows the key, the enabled switch and whether a schema version is live.

Add the code to your theme

Every page

One paste in layout/theme.liquid covers every page of the store.

Your code goes in once, at the end of every page, just before the closing body tag.
  1. Go to your themes

    Online StoreThemes

  2. Duplicate the theme you're using

    Open the ... menu next to the live theme, choose Duplicate, and name the copy 'Before QuoteBox'. That copy is your undo button.

  3. Open the code editor

    ...Edit code

    On the live theme, open the ... menu and choose Edit code.

  4. Open Layout → theme.liquid

    Scroll to the bottom of the file until you reach </body>.

  5. Paste the code just above </body>

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.
  6. Click Save, then open your store in a new tab

How to check it worked

Open your storefront in a new tab. If the button doesn't appear, check you edited the theme marked Live in Online Store → Themes — not the duplicate you just made — then read the /api/widget/bootstrap request in developer tools (F12) → Network.

The finished job: a Get a guide price button in the corner of every page. Tap it and the quote panel opens.

GoDaddy

Snippet tested · panel names from their docs

GoDaddy's Website Builder has no site-wide code box. You add an HTML section to a page instead.

This click path wasn't walked on a live GoDaddy account — the panel names come from GoDaddy help.

CarefulGoDaddy runs an HTML section inside its own frame, so the floating button can stay trapped in the section. That's the frame, not the code. Email us and we'll give you the inline version instead.

Three things that break this install

  1. The key has to be yours. The code on this page carries a placeholder key, wgt_your_key_here, because your own key isn't public. Replace it with the key from Dashboard → Widget before you paste. Left as it is, the widget loads and then shows the "Chat is unavailable" card — the server doesn't recognise the key.
  2. One copy, at the end of the page. The code ends with defer, so the browser waits until the page has loaded before it runs. Paste it once, in the footer just before </body>, and leave the Head fields empty. In inline mode the <div id="quotebox"></div> line is what decides where the panel sits — without that box the loader makes one directly after the script, so the panel lands at the bottom of the page instead of under your heading.
  3. The site has to be allowed. If nothing appears, open your browser's developer tools (F12). The Console shows red errors; Network shows the request to /api/widget/bootstrap. A refused request usually means the key isn't recognised or that exact address isn't in Allowed website origins — often the browser reports it as a CORS error rather than a status. When a status is readable, 403 means the request arrived without a usable site address, 404 means the key or this address isn't recognised, and "Widget is not ready" means no pricing is published yet. Dashboard → Widget shows the key, the enabled switch and whether a schema version is live.

Add an HTML section

Inside a box

GoDaddy's HTML section takes HTML, CSS and JavaScript on one page.

Your code sits inside the box your builder gives it, so it covers that box rather than the whole page.
  1. Open your site in GoDaddy

    Go to your product page, open Websites + Marketing, and click Manage next to your site.

  2. Add a section on the page you want it

    Search for HTML and click Add.

  3. Paste the code into Custom Code

    Leave Forced Height blank so the section sizes itself. Changes save as you go.

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.
  4. Click Preview, then Publish

How to check it worked

Click Preview, then open the published page in a new tab. If the button ends up inside the section rather than floating over the page, GoDaddy has framed that section — email hello@quotebox.ai with your site address and we'll set it up another way. If nothing appears at all, developer tools (F12) → Network → reload and read the /api/widget/bootstrap request.

The finished job: a Get a guide price button in the corner of every page. Tap it and the quote panel opens.

Webflow

Snippet tested · panel names from their docs

Webflow takes site-wide code from Site settings, and only on the published site — the Designer preview always looks empty.

This click path wasn't walked on a live Webflow account — the panel names come from Webflow: custom code in head and body.

CarefulCustom code needs a paid Webflow site plan, or a paid Workspace plan on a free Starter site. Without one, the fields won't run your code.

Three things that break this install

  1. The key has to be yours. The code on this page carries a placeholder key, wgt_your_key_here, because your own key isn't public. Replace it with the key from Dashboard → Widget before you paste. Left as it is, the widget loads and then shows the "Chat is unavailable" card — the server doesn't recognise the key.
  2. One copy, at the end of the page. The code ends with defer, so the browser waits until the page has loaded before it runs. Paste it once, in the footer just before </body>, and leave the Head fields empty. In inline mode the <div id="quotebox"></div> line is what decides where the panel sits — without that box the loader makes one directly after the script, so the panel lands at the bottom of the page instead of under your heading.
  3. The site has to be allowed. If nothing appears, open your browser's developer tools (F12). The Console shows red errors; Network shows the request to /api/widget/bootstrap. A refused request usually means the key isn't recognised or that exact address isn't in Allowed website origins — often the browser reports it as a CORS error rather than a status. When a status is readable, 403 means the request arrived without a usable site address, 404 means the key or this address isn't recognised, and "Widget is not ready" means no pricing is published yet. Dashboard → Widget shows the key, the enabled switch and whether a schema version is live.

Page settings (one page only)

One page

Use this when only one page needs the button.

Your code goes inside the one page you edited. Every other page stays as it is.
  1. Open the page's settings in the Designer

  2. Paste the code into Before </body> tag

    Page settingsCustom codeBefore </body> tag

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.
  3. Save and publish

How to check it worked

Open the published site, or your .webflow.io address. The Designer canvas will never show the button, so don't use it to test. If the published site is empty too, read the /api/widget/bootstrap request in developer tools (F12) → Network.

The finished job: a Get a guide price button in the corner of every page. Tap it and the quote panel opens.

Plain HTML

Tested end to end

If you — or your web person — can edit the site's files, this is the whole job. This is the guide we ran end to end.

Reference: MDN: the script element.

Three things that break this install

  1. The key has to be yours. The code on this page carries a placeholder key, wgt_your_key_here, because your own key isn't public. Replace it with the key from Dashboard → Widget before you paste. Left as it is, the widget loads and then shows the "Chat is unavailable" card — the server doesn't recognise the key.
  2. One copy, at the end of the page. The code ends with defer, so the browser waits until the page has loaded before it runs. Paste it once, in the footer just before </body>, and leave the Head fields empty. In inline mode the <div id="quotebox"></div> line is what decides where the panel sits — without that box the loader makes one directly after the script, so the panel lands at the bottom of the page instead of under your heading.
  3. The site has to be allowed. If nothing appears, open your browser's developer tools (F12). The Console shows red errors; Network shows the request to /api/widget/bootstrap. A refused request usually means the key isn't recognised or that exact address isn't in Allowed website origins — often the browser reports it as a CORS error rather than a status. When a status is readable, 403 means the request arrived without a usable site address, 404 means the key or this address isn't recognised, and "Widget is not ready" means no pricing is published yet. Dashboard → Widget shows the key, the enabled switch and whether a schema version is live.

Paste it before </body>

Every page

Open the file or template every page ends with: footer.php, footer.liquid, layout.html, a footer include, or your theme's footer template.

Your code goes in once, at the end of every page, just before the closing body tag.
  1. Find the end of every page

    That's the file containing the closing </body> tag. In most templates it's the footer.

  2. Paste the code on its own line, just before </body>

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.
  3. Save the file and load any page

How to check it worked

Open your website in a new tab and wait a second. A dark Get a guide price button with a yellow speech-bubble icon should appear in the bottom-right corner, on top of your page, and stay there while you scroll. Tap it: the quote panel should open with your greeting. If it doesn't, open developer tools (F12) → Console for red errors and Network for the /api/widget/bootstrap request — the three checks above say what each answer means.

The finished job: a Get a guide price button in the corner of every page. Tap it and the quote panel opens.

Something else

Snippet tested · panel names from their docs

Any other builder can still run the quote box, because the rule is always the same two lines.

This click path wasn't walked on a live Something else account — the panel names come from MDN: the script element.

Three things that break this install

  1. The key has to be yours. The code on this page carries a placeholder key, wgt_your_key_here, because your own key isn't public. Replace it with the key from Dashboard → Widget before you paste. Left as it is, the widget loads and then shows the "Chat is unavailable" card — the server doesn't recognise the key.
  2. One copy, at the end of the page. The code ends with defer, so the browser waits until the page has loaded before it runs. Paste it once, in the footer just before </body>, and leave the Head fields empty. In inline mode the <div id="quotebox"></div> line is what decides where the panel sits — without that box the loader makes one directly after the script, so the panel lands at the bottom of the page instead of under your heading.
  3. The site has to be allowed. If nothing appears, open your browser's developer tools (F12). The Console shows red errors; Network shows the request to /api/widget/bootstrap. A refused request usually means the key isn't recognised or that exact address isn't in Allowed website origins — often the browser reports it as a CORS error rather than a status. When a status is readable, 403 means the request arrived without a usable site address, 404 means the key or this address isn't recognised, and "Widget is not ready" means no pricing is published yet. Dashboard → Widget shows the key, the enabled switch and whether a schema version is live.

The only rule

Every page

Find where your builder lets you add code to every page, and paste this one script once, site-wide, just before the closing </body> tag.

Your code goes in once, at the end of every page, just before the closing body tag.
  1. Look for custom code, custom HTML, embed, or code injection

    Every builder calls it something different. The right one says it runs on all pages or in the footer, not just in one box on one page.

  2. Paste the script once, before </body>, and save

    Your code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="launcher"
      data-position="bottom-right"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.

    CarefulIf the only option is a box you drag onto a page, the button can be trapped inside that box. Email hello@quotebox.ai with your site address and we'll tell you which route works.

How to check it worked

Open your website in a new tab and wait a second. A dark Get a guide price button with a yellow speech-bubble icon should appear in the bottom-right corner, on top of your page, and stay there while you scroll. Tap it: the quote panel should open with your greeting. If it doesn't, open developer tools (F12) → Console for red errors and Network for the /api/widget/bootstrap request — the three checks above say what each answer means.

The finished job: a Get a guide price button in the corner of every page. Tap it and the quote panel opens.

Panel in the page, not the corner

Some businesses want the quote panel sitting in the page — under the headline, or on the contact page — instead of floating. It's the same script with two differences: the mode, and a box for it to fill.

  1. Paste the box, then the script, in that order

    Inline code

    Before you paste: replace wgt_your_key_here with your own key from Dashboard → Widget. Pasted as it is, the box loads and then says the chat is unavailable.

    <div id="quotebox"></div>
    <script
      src="https://cdn.quotebox.ai/v1/widget.js"
      data-key="wgt_your_key_here"
      data-mode="inline"
      data-target="#quotebox"
      data-api-url="https://quotebox.ai/api/widget/bootstrap"
      defer
    ></script>
    Copy it, swap the key, then paste it where the step says.

    The first line is the marker — <div id="quotebox"></div> — and it goes in the page body exactly where the panel should sit. The script comes second. If the marker is missing the panel still runs, but it lands wherever the script is (usually the bottom of the page), because the loader makes a box for it there.

  2. Match the id if you already have a container

    An element with data-quotebox works as the marker too. If your template already has a container, put its id in data-target instead of #quotebox — the selector and the element have to match exactly, including the #.

  3. Check the page on a phone

    The panel fills whatever width it's given and reserves 520 pixels of height, so the page doesn't jump when it loads. If it looks cramped, it's in a narrow column — give it a wider one.

It didn't work

Work through these in order. Nine times out of ten it's the exact website address.

Nothing appears at all

Open Dashboard → Widget and check the exact address you're testing is in Allowed website origins, the widget is enabled, and a schema version is published. https://www.yoursite.co.uk and https://yoursite.co.uk are different entries. Add both, save, then reload the page.

It shows a card asking the customer to get in touch

That's the widget's safety net, which means the browser asked for the quote box and was refused. Either the key is wrong, the site address isn't allowed, or your pricing isn't published yet — Dashboard → Widget shows whether a schema version is live.

It works on one page but not others

The code went into a page-level block or section instead of the site-wide footer. Move it to the site-wide route at the top of your platform's section.

The panel is at the bottom of the page, not where you wanted it

The script couldn't find your marker, so the loader made its own box directly after the script. Put the <div id="quotebox"></div> line where the panel should go. If your template already has a container, put its id in data-target exactly, including the #.

The button is behind your cookie banner

Some consent tools hold scripts back until the visitor accepts. The button appears as soon as they do — that's the tool working as intended, not the widget failing.

Still nothing

Email hello@quotebox.ai with your website address, the request to /api/widget/bootstrap from your browser's Network tab, and a screenshot of where you pasted the code. We'll look at it with you.

Want a hand?

Email hello@quotebox.ai with your website address and a screenshot of the screen where you pasted the code. We'll tell you exactly where it goes — no developer needed, and never send us a password.

Get QuoteBox on my site