Embeddable insurance quote widget for partner websites.
Add the script tag and custom element to your page:
<!-- Load the widget -->
<script src="https://insurancehub-widget.gotosoft.net/insurance-widget.iife.js"></script>
<!-- Place the widget (hidden by default) -->
<insurance-widget id="my-widget"></insurance-widget>
<!-- Open it from your own button -->
<button onclick="document.getElementById('my-widget').open()">
Get a Quote
</button>
| Attribute | Values | Description |
|---|---|---|
open | present / absent | Shows the modal when present |
variant | multi-step (default) | single-page | Form layout style |
| Method | Description |
|---|---|
.open() | Opens the modal |
.close() | Closes the modal |
Click the button below to try the widget: