Skip to content
Bookfront

Guide

Installing the widget

Everything on your website, the chat and any booking or contact widgets, runs from one script.

3 min read

  1. 1

    Allow your website

    In Settings → Allowed domains, list every address your site uses, one per line. Only these sites can load your widgets.

    • List both forms if your site uses them, e.g. example.co.za and www.example.co.za
  2. 2

    Copy your snippet

    In Widgets, press "Copy snippet". It looks like this, with your own key:

    <script src="https://chatalot.vercel.app/widget.js" data-key="pk_your_key" async></script>
  3. 3

    Paste it into your site

    Add it once, on every page, just before the closing </body> tag or in your site's custom code setting.

    • WordPress: your theme's footer, or a plugin that adds code to the header or footer.
    • Wix: Settings → Custom code. Wix only allows this on its paid plans.
    • Squarespace: Settings → Advanced → Code injection, on plans that include it.
    • A hand-built site: paste it into your page template.
  4. 4

    Place booking and contact widgets (optional)

    To show a widget inside a page, put its tag where you want it to appear. The same script loads it.

    <div data-chatalot="appointment"></div>
    • The tags are "schedule", "appointment", "contact" and "registration". Each widget's tab in Widgets shows its tag, ready to copy.

If the chat doesn't appear

  • Check the exact address in your browser is in Allowed domains (with or without www).
  • Make sure the snippet is on the page, not only in a draft or preview.
  • Website chat must be included in your plan.

Want us to set it up with you?

See Bookfront working with your own services in a 30-minute call. Or ask the chat in the corner anything: that's Bookfront answering.