Developer Resources
Integrate Chainwright's property widget into your website and enable your customers to save and track your properties as part of their search.
Chainwright Widget
The Chainwright widget allows your customers to save properties to their Chainwright account with a single click. It's designed to be lightweight, responsive, and easy to integrate into any property listing website, and shows how many people have saved the property.
Widget Demo
Installation
Add the following code to your website where you want the widget to appear:
<!-- Chainwright Widget -->
<div class="chainwright-widget-container"></div>
<script src="https://www.chainwright.co.uk/js/chainwright-widget.js" async defer></script>
<!-- End Chainwright Widget -->
Custom Placement
You can place the widget in multiple locations by adding the class chainwright-widget-container
to any element.
Custom Initialization
You can also specify a custom selector using the data-selector
attribute on the script tag:
<!-- Chainwright Widget with custom selector -->
<div class="my-custom-selector"></div>
<script
src="https://www.chainwright.co.uk/js/chainwright-widget.js"
data-selector=".my-custom-selector" async defer
></script>
Support
If you need help integrating the Chainwright widget or have any questions, please get in touch at [email protected]