Skip to main content

1. Add the script

Paste this once, before the closing </body> tag on any page where you want the Builder available.
<script
  src="https://cdn.fitmyvehicle.com.au/fmv.js"
  data-public-key="FMV-XXXXXX"
  defer
></script>
Your public key: Replace FMV-XXXXXX with the key provided during onboarding. This identifies your account and is safe to include in client-side code.
Domain registration required: Your website’s exact origin (e.g. https://www.example.com.au) must be registered in FMV during onboarding. Without this, the widget will return an “Origin not allowed” error. We handle this as part of setup — just let us know if you add additional domains later.

2. Add a button

Add the data-fmv-open-widget attribute to an existing button, or create a new one. Option A — Use an existing button:
<button type="button" data-fmv-open-widget>
  Get a quote
</button>
Option B — New button targeting a specific Builder:
<button type="button" data-fmv-open-widget data-builder-id="4">
  Build my vehicle quote
</button>
Clicking the button opens the FMV Builder in an iframe overlay on your site.

3. Test it

  • Refresh the page
  • Click the button
  • Confirm the Builder opens correctly
Done! If the Builder doesn’t open, check the Troubleshooting page.