Website · Widget
Publish your website widget: a second free path to new enquiries
Hi, I'm Max. The widget puts meiti chat on your website. Once your own WhatsApp number is reachable, visitors also get a Continue on WhatsApp option.
Prepare it in meiti
- Open Settings → Inbox → Online enquiries → Your website.
- If shown, tap Create widget first. Then choose the assistant that should handle website enquiries.
- Match the theme, label, call button and accent colour to your website.
- Optional: add your root domain as an allowed domain. It also covers www and other subdomains.
- Check chat and the WhatsApp button in the preview, then copy the embed code.
Publish on your site
- Paste the code once into the global site area directly before the closing </body> tag. Site builders often call this Custom Code, Tracking Code or Footer Code.
- Publish the site and clear its cache if necessary.
- Test on desktop and mobile: does chat open, can you send a message, and does the WhatsApp handoff appear?
Measure it in Google Analytics
If your website runs Google Analytics, the widget reports what visitors do with it there automatically. There is nothing to set up.
meiti_chat_open: the chat was opened.meiti_message_sent: a visit's first message reached meiti.meiti_call_clickandmeiti_whatsapp_click: call or WhatsApp was tapped, in the phone bar or inside the chat.
With Google Analytics (gtag.js) the events appear straight in your reports. With Google Tag Manager they land in the dataLayer: add a Custom Event trigger with the event name. Other tools can listen for the browser event meiti:widget.
Only that something happened is sent, never chat content or contact details. Your cookie banner decides whether an event is sent. To switch it off, add data-meiti-analytics="off" to the embed code.
If your site builder rejects the code, send our support team its name. We're happy to help with the technical implementation.
Contact support