Install guide

Live chat for plain HTML

If you can edit the HTML, you can add Mewdesk: one script tag before </body>, on any host, with no server of your own.

No credit card needed · Free for 21 days

index.html
<footer>…</footer>
<script
src="https://app.mewdesk.com/widget.js"
data-site-id="YOUR_SITE_ID"
async>
</script>
</body>
</html>

Where it goes

Paste it once on Plain HTML

The snippet is the same on every platform: one script tag just before the closing body tag. These steps show where that is on Plain HTML.

  1. 1

    Copy your snippet from the dashboard

    Add your website under Websites, using the domain you are installing on, and copy the snippet from its Embed code page. It has your site ID filled in; the one shown here uses a placeholder.

  2. 2

    Open the page in your editor

    Find the closing </body> tag near the end of the file and paste the snippet on the line before it.

  3. 3

    Do the same on every page that should show the chat

    If your pages share a footer file or a layout (Jekyll, Hugo, Eleventy, Astro, a PHP include), paste it there once and every page gets it.

  4. 4

    Upload the files

    Deploy as usual, by FTP, git push or your host's upload. Reload a page and the chat bubble is there.

Good to know

  • Static hosts such as GitHub Pages, Netlify and Cloudflare Pages are fine: the chat runs on Mewdesk's servers inside an iframe, so your site needs no backend.
  • Add the website in the dashboard with the domain you install it on; the widget checks that the page's domain matches and shows a notice instead of the chat when it doesn't.

What you get

The same Mewdesk, whatever your site runs on

The widget lives in its own iframe, so it looks and works the same on Plain HTML as everywhere else.

One script tag

That is the whole install. No npm package, no build step, no plugin to keep updated.

Replies in seconds

Visitors see your answer the moment you send it, without refreshing. Your team replies from one inbox.

Offline form

When nobody is online, visitors leave their email and a message, and the chat picks up where it left off.

No tracking cookies

No IP addresses, no fingerprinting, no third-party scripts. A name, an optional email and the conversation.

FAQ

Mewdesk on Plain HTML

Questions people ask before adding live chat to a Plain HTML site. For everything else, the general FAQ has the rest.

Do I need a server or a backend for live chat on a static site?

No. The script tag loads the chat in an iframe served by Mewdesk, and your team answers from the Mewdesk dashboard. A static host is all your site needs.

Do I have to paste the snippet on every page?

On every page that should show the chat bubble. If your site builds pages from a shared layout or footer file, paste it there once.

Why before </body> and not in <head>?

At the end of the body the page's own content loads first and the loader can place the chat right away. The tag is async either way, so it never blocks rendering.

Add live chat to your Plain HTML site today

Paste the snippet, answer your first visitor. The first 21 days are on us, with no card needed.