Skip to content

Installation

Get the Yamidoo widget live on your site in a couple of minutes.

  1. Open the Installation page of your project in the Yamidoo dashboard. It has three tabs, one per placement: Floating chat, On the page and iframe. Each shows where the chat ends up and gives you the code with your site ID already filled in. The floating chat is the default, and what the steps below install.

  2. Add the snippet just before the closing </body> tag on every page where you want the widget to appear.

    <script
    src="https://app.yamidoo.ai/widget.js"
    data-site-id="YOUR_SITE_ID"
    async
    ></script>
  3. Deploy and open your site — the widget appears in the bottom corner.

Put the chat on the page instead of in a bubble

Section titled “Put the chat on the page instead of in a bubble”

By default the widget is a floating bubble in the corner. It can also render as a normal block in your layout — a support page, a help center, a sidebar. These are the On the page and iframe tabs on the Installation page. Both drop the launcher and keep everything else: answers from your content, file attachments, and human handoff.

Point the script at an element with data-mount and the chat fills it: the full width of its container, at the height you give it. Add a max-width if you want it narrower. Use this anywhere you can add a script.

<div id="yamidoo-chat" style="height:600px"></div>
<script
src="https://app.yamidoo.ai/widget.js"
data-site-id="YOUR_SITE_ID"
data-mount="#yamidoo-chat"
async
></script>

For platforms that accept HTML but not scripts. It spans the full width by default; set the height yourself, since an iframe cannot resize itself to its content.

<iframe
src="https://app.yamidoo.ai/embed/YOUR_SITE_ID"
title="Chat"
width="100%"
height="600"
frameborder="0"
style="border:0;border-radius:12px"
></iframe>

You can run both at once: an embedded chat on your support page and the floating bubble everywhere else.

Every new conversation records where it started: floating chat, on the page or iframe, plus the page of the first message. Analytics shows the split under Where chats start, and each conversation shows it under Session → Chat started from.

To compare individual installs, for example the chat on your contact page against the one in your help center, give each a label:

<script src="https://app.yamidoo.ai/widget.js" data-site-id="YOUR_SITE_ID"
data-mount="#yamidoo-chat" data-placement="contact" async></script>
<iframe src="https://app.yamidoo.ai/embed/YOUR_SITE_ID?placement=help-center" …></iframe>

Labels are free text, up to 40 characters. Chats from before this was added (September 2026) have no placement.