Quickstart
Put the assistant on a property's website with one script tag, then check it works.
Before you start#
You need two things from us for each property:
- Its property ID, which goes in
data-destination. - Its slug, a short name for the property, which goes in
data-slug.
We also add the website's address to the property's allowed websites. The assistant won't start on a website that isn't on the list.
Add the script tag#
Paste this just before </body> on every page where the assistant should appear, with the property's ID and slug.
<script src="https://chat.nogeek.org/loader.js" async
data-destination="YOUR_PROPERTY_ID"
data-slug="your-property"
data-primary-color="#1f4d3a"
data-white-label="true"></script>That's the whole integration. The script has no dependencies and works with any website builder that lets you add a script tag.
Check it works#
- Open the page. A round chat button appears in the bottom-right corner.
- Click it. The chat opens with a greeting and quick replies such as Check dates and prices.
- Ask a question about the property, then ask for dates. The assistant reads live availability and shows a price.
If it doesn't appear#
| What you see | Cause and fix |
|---|---|
No chat button, and [hfx] loader: data-destination is required in the browser console | The data-destination attribute is missing. Add the property ID. |
| The chat opens with This website is not authorised to embed this widget. | The page's address isn't on the property's allowed websites. Tell us the exact address, including https:// and any www.. |
| The chat opens with Chat is not enabled for this destination. | The assistant is switched off for this property. Ask us to switch it on. |
| No chat button on some visits only | The property may have a measurement holdout switched on. It is off unless you ask for it. |
| No teaser message next to the button on a phone | This is by design: the teaser is hidden on screens narrower than 480 pixels. |
Next steps#
- Put the chat inside a page instead of the corner: inline mode.
- Match the property's colours: Theming and white label.
- Pass the visitor's cookie choice: Consent and storage.
- Track chats in your analytics: Events.