What do you need before you install it?
Your embed code
From the Embed tab in your CoatFlow account. It is one line, and it already carries your key.
Your web addresses
Every address your site answers on: with www, without it, and any staging address you check pages on.
Your quote page
Where Get a quote should send homeowners: a form on your site, or your booking page in Housecall Pro, Jobber or any other CRM. Set it under Quote page in the Visualizer tab.
A place for it
The visualizer fills one screen, so give it a full-width section. A page of its own, such as /visualizer, linked from your menu, works well.
Step 1: Copy your embed code
In your account, open the Embed tab and copy the line under Embed on your website. It looks like this:
<script src="https://coatflow.io/widget.js" data-widget="visualizer" data-key="YOUR_EMBED_KEY" async></script>YOUR_EMBED_KEY stands in for your own key. Copy the real line from your account rather than typing this one.
Step 3: Add it in WordPress, Wix, Squarespace or Webflow
Find your builder below. Each takes a few minutes.
WordPress: Custom HTML block
- Open the page in the block editor.
- Add a Custom HTML block where the visualizer should appear.
- Paste your embed code, then click Update or Publish.
- Page builders such as Elementor and Divi have an HTML or Code module that works the same way.
- On WordPress.com, scripts only run on plans that allow plugins, with hosting features turned on.
Wix: Custom Element
- In the editor, click Add, then Embed Code, then Custom Element.
- Choose Server URL as the source and enter https://coatflow.io/element.js.
- Set the tag name to coatflow-visualizer.
- Set two attributes: data-widget with the value visualizer, and data-key with your embed key.
- Place the element where the visualizer should appear, publish, and check the published page.
- Wix only allows custom elements on sites with a Premium plan and a connected domain.
- Wix sandboxes custom elements in the editor and in preview, so the visualizer looks broken there and works on the published site.
- Use Custom Element, not Embed HTML. Embed HTML runs pasted code inside a frame of its own, where the visualizer cannot share or copy links.
Squarespace: Code block
- Edit the page and add a Code block where the visualizer should appear.
- Paste your embed code and leave Display Source off.
- Save, then check the published page: scripts do not run while you edit.
- Squarespace runs JavaScript in code blocks on its Core, Plus and Advanced plans, not on Basic.
Webflow: Code Embed element
- In the Designer, drag a Code Embed element where the visualizer should appear.
- Paste your embed code, then Save and Close.
- Publish, then check the live page: scripts do not run in the Designer.
- Code Embed needs a paid Site plan or a paid Workspace plan.
- Authorize your webflow.io staging address as well if you check pages there first.
Plain HTML, or any other builder
- Paste the line inside the page body, where the visualizer should appear.
- Keep it out of the head and out of site-wide header code, which puts it on every page.
- Upload or publish, then open the page.
- Any builder with an HTML or code block that runs scripts works the same way.
Step 4: Check it on the live page
Open the published page in a private window, the way a homeowner sees it. The visualizer should fill the screen. Run one preview on a floor photo: if it renders, your site is authorized and you are done. Then tap Get a quote and make sure it lands on your quote page.
Do you need a WordPress plugin for a floor visualizer?
No. Searching for a floor visualizer plugin for WordPress? You can skip it. The visualizer is one script tag, and WordPress runs it in a Custom HTML block, so there is nothing to install or keep updated. Elementor and Divi have an HTML or Code module that does the same job. On WordPress.com, scripts need a plan that allows plugins.