TrenoxaHQ
Guides · Cleaning businesses · Updated 2026-11-17

How to add a cleaning price calculator to your website

An instant price calculator lets visitors see what their clean will cost before they call. Adding one is usually a copy-and-paste job, but each website builder has its own place for code, and some plans don't allow it. Here's how to do it on WordPress, Wix, Squarespace, Shopify and a plain HTML site.

Short answer: copy the two lines of code your calculator gives you, then paste them into your site builder's HTML or code block: a Custom HTML block on WordPress, an Embed HTML element on Wix, a Code block on Squarespace, or a Custom Liquid section on Shopify. Check your plan first: WordPress.com and Squarespace only run scripts on certain plans.

Before you start: the two lines

A calculator like Trenoxa Quote gives you a snippet like this (yours has its own ID):

<div data-calculator="calc_xxxxxxxx"></div>
<script src="https://quote.trenoxahq.com/w.js" async></script>

The first line marks where the calculator appears; the second loads it. In Trenoxa Quote you find it under Add to your site, with a Copy code button. Set your prices and press Publish first, so visitors see your real prices.

Which plans allow it

Website builder Where code goes Plan needed
WordPress (self-hosted, wordpress.org) Custom HTML block Any; you need to be an administrator
WordPress.com Custom HTML block A paid plan with hosting features active (plugin-enabled)
Wix Embed HTML element Not stated by Wix; code runs in a frame
Squarespace Code block (HTML mode) Core, Plus or Advanced
Shopify Custom Liquid section (most themes) Any plan
Plain HTML site Anywhere in the page Any

Plan rules from each builder's help pages, November 2026. WordPress.com: "a paid plan with hosting features activated" for scripts. Squarespace: "To add JavaScript or an iframe to a code block, your site needs to be on the Core, Plus, or Advanced plan."

WordPress

  1. Edit the page where the calculator should go (for example your Prices or Book page).
  2. Click + (Add block), search for Custom HTML and add it.
  3. Paste the two lines and click Update.
  4. Open the page as a visitor to check it.

On self-hosted WordPress this works for administrators; we tested it with a Custom HTML block. On WordPress.com, scripts only run on a paid plan with hosting features active (WordPress.com says you activate them by installing a plugin); on other plans the script is removed and nothing shows.

Wix

  1. In the Wix Editor, click Add Elements, then Embed Code, then Popular Embeds.
  2. Choose Embed HTML and place it on the page.
  3. Click it, choose Enter Code, paste the two lines and click Apply.
  4. Drag the box tall enough for the calculator: about 1,100 px, so the contact details fit after "Get this quote".

Wix shows embedded code inside a frame, which doesn't resize itself to the content, so the height you set is the height visitors get. The frame also runs from a Wix address rather than your own domain: if your calculator can be limited to your website (Trenoxa Quote: Settings → Your website), leave that empty on Wix, or the calculator won't load.

Squarespace

  1. Edit the page, hover where you want it and click Add block (or +), then Code.
  2. Click the pencil icon to open the block, set Mode to HTML and paste the two lines.
  3. Save, then check the page logged out or with Preview in Safe Mode: Squarespace sometimes hides custom code while you're logged in.

Scripts in code blocks need the Core, Plus or Advanced plan.

Shopify

  1. In Shopify admin, go to Online Store → Themes → Customize.
  2. Open the page you want (for example a "Cleaning prices" page) and click Add section.
  3. Choose Custom Liquid (available in most Online Store 2.0 themes, such as Dawn), paste the two lines and Save.

Shopify's help notes that whether a Custom Liquid section is available depends on your theme.

Any other website

Paste the two lines into the page's HTML where the calculator should appear. It loads only when a visitor scrolls near it, keeps its own styles so your theme can't break it, and works on phones.

After it's on your site

  • Send yourself a test quote from the live page, and check the request arrives by email.
  • Check it on your phone.
  • Change prices any time in your dashboard and press Publish; your site picks them up within a minute, with no need to touch the code again.

FAQ

Can I add a price calculator to a free website plan? On a plain HTML site, self-hosted WordPress or Shopify, yes. On WordPress.com you need a paid plan with hosting features active, and on Squarespace the Core, Plus or Advanced plan. Wix doesn't state a plan requirement for Embed HTML in its help page.

Will a calculator slow down my website? A small script that loads only when a visitor scrolls near it has little effect on how fast the page opens. Trenoxa Quote's script is about 13 KB.

Why doesn't the calculator show while I'm editing? Some builders (Squarespace in particular) hide custom code while you're logged in. Check the page logged out or in a private browser window.

Do I need a developer? No: it's a copy and paste. If you'd rather not, send us your prices and we'll set the calculator up for you.

Get your calculator code

Sign up with your email, set your prices, and copy your two lines from Add to your site. Free plan, no card.

More guides on this topic

All guides on this topic →