Embedding the widget
One tag on each listing page puts Avis in the corner of the page, ready for guests' questions about that stay.
The tag
Add it just before </body> on the listing page, with the listing's own values:
<script
src="https://platform.moveguide.co/widget-embed.js"
data-api-key="YOUR_API_KEY"
data-property-id="YOUR_LISTING_ID"
data-lat="6.4281"
data-lng="3.4219"
data-name="Sea View Studio"
data-address="12 Ozumba Mbadiwe Avenue, Victoria Island"
data-stay-type="short_stay"
data-checkin="2026-11-02"
data-checkout="2026-11-06"
></script>Avis appears in the bottom-right corner of the page, 360 by 480 pixels with rounded corners, in the look you choose: Black or White, or Glass on Growth, Enterprise and Spectre — Appearance.
Avis speaks first. When it opens, its first message is: “Hey, I’m Avis and I’ll help you decide the best stay for a remarkable experience. Ask me anything.”
The guest's dates
Avis answers for the guest's stay when it knows their dates: the weather, closures and strikes on those days, the best hours for a run or a walk, and heavy rain where the streets around the stay can flood. Put them in the tag — data-checkin and data-checkout — once the guest has chosen them, and leave them out until then.
When the guest chooses or changes their dates on the page, without a new page load, tell Avis:
// When the guest chooses or changes their dates on the page
Moveguide.setDates({ checkin: "2026-11-02", checkout: "2026-11-06" });
// When they clear them
Moveguide.setDates(null);- Avis answers for the new dates from the next question on.
- Dates are
YYYY-MM-DD. Without a check-out, or with one before the check-in, the stay is one day. - On a page with your search box too, a search without dates of its own uses the same ones (Search).
Appearance
Choose how Avis looks on your site in Settings → Appearance (Owners):
- Glass — black glass, your page showing softly through it, with white type, edged so it reads on light pages and dark ones. Where a visitor's device asks for less transparency, it's solid black. On Growth, Enterprise and Spectre, and their look until you choose another.
- Black — solid black, with white type. On every plan, and the look on Pay-as-you-go and Pilot until you choose.
- White — solid white, with black type. On every plan.
Guests see a new look on the next page they open; Avis takes it before it appears, so it never shows in another first. A plan without Glass shows Black where Glass was chosen, and Glass comes back with Growth, Enterprise or Spectre. The Moveguide Passport card keeps Moveguide's own words in every look.
Distances and language
Avis gives distances in kilometres or miles — choose which in Settings → Appearance (Owners), on every plan. Kilometres until you choose: “about 1.2 km”, and metres under a kilometre. In miles: “about 0.7 miles”, to a tenth of a mile. Walking times stay as they are — “a 9-minute walk” — and a new choice applies from Avis's next answer.
Asked about a place — “how far is Nike Art Gallery?”, “where is Yaba?” — Avis says how far it is from the stay and roughly how long it takes to get there: on foot when it's close, by car otherwise, and at rush hour too. It doesn't give addresses.
Asked for a kind of place — the nearest pharmacy, a hospital — Avis names the nearest it knows: in the stay's vicinity first, then, when there's none there, up to about 2.5 km from the stay — 7 km for hospitals and fire stations, and about 4 km for police stations, health centres and ambulance services. It never says there are none, only that it knows of none that close; Google Maps may list what it knows near the stay (below).
Avis answers each guest in the language they write in, and follows them if they change; English when it can't tell. The short questions Avis asks back, and its other set replies, come in their language too. Names of places and phone numbers stay as they are. The widget's own words — Avis's first message, the box and its buttons — are in English.
Questions to ask next
After each answer, Avis offers up to three short questions the guest might ask next, under the answer: a natural next step from what they asked and what Avis said — after safety, perhaps safety at night or how far emergency help is. In a conversation across stays, one of them compares stays by number, such as “Compare 01 and 02 for a morning run”. One tap asks it, as if typed.
- They come a moment after the answer, so the answer never waits for them, and the guest can type meanwhile. Asked again, the last ones go.
- In the guest's language. Never a question already asked, never one about a topic you've switched off, never one asking for an address.
- None after Avis asks something back, or after a question outside what Avis is for.
- The questions offered aren't kept, and don't count as questions; one the guest taps counts like any other.
The sandbox shows them too, as guests see them.
Google Maps
When our insights don't cover what a guest asks about — a kind of place with none on record in the stay's vicinity, hospitals included, a kind we don't keep, such as a book club, or a business's opening hours, ratings or prices — Avis adds a short part after its answer, headed Google Maps: what Google Maps lists, in the guest's language, each place followed by a small link to it on Google Maps. It's shown as Google gives it, quieter than Avis's own answer and apart from it, and never names a place Avis's answer already names. A place a guest names is Avis's to answer: how far it is, and how long it takes to get there.
Google asks that people know: your website's terms of service should say that it includes Google Maps features and content, and that their use is subject to the Google Maps End User Additional Terms of Service and the Google Privacy Policy (terms, 2.5). Don't copy, store, edit or hide the Google Maps part or its links.
Attributes
Required
data-api-key— your key, from API keys in the dashboard.data-property-id— your own ID for the listing.data-lat,data-lng— the listing's location, in decimal degrees.
The guest's dates, once they've chosen them
data-checkin,data-checkout— asYYYY-MM-DD. With them, road closures, strikes and weather are read for the stay itself — the best hours for a run or a walk on each of its days, and heavy rain where the streets around the stay can flood. When they change on the page: The guest's dates.
Optional
data-stay-type— what the listing is, when your platform offers more than one kind:short_stay,long_stayorsale. Avis answers a guest, a resident or a buyer accordingly.data-name,data-address— the listing's name and address, shown to the guest beside the stay's number when Avis carries one conversation across the stays they look at, so they compare stays by number.
Where it works
The widget only appears on your own websites. Add their domains in Settings in the console (Owners); until at least one domain is added, keys don't work. A key can be limited to some of them in its settings on the API keys page — say, a key for each client's site. On Enterprise and Spectre you can also choose the countries it works in: where Query is off for a visitor's country, the widget doesn't appear. On every plan you can block network addresses you know are misusing it, under your domains in Settings. Try it first in the console's sandbox, and see each call the widget makes in Logs.
Privacy
- The widget runs in a frame served by Moveguide: what guests type goes straight to Moveguide, never through your site.
- Each visitor gets an anonymous key kept in their browser. It isn't tied to any account on your site.
- On Growth, Enterprise and Spectre, a guest can unlock their own Moveguide Passport in Avis, typed into the frame, never your page. You never receive it.
- The frame asks for no camera, microphone or location access.
See also Accessibility for what your listing data can add, and the privacy policy.