Embed an interactive demo in HubSpot

The iframe code works in an HTML or embed module on HubSpot CMS pages and in knowledge base articles. Marketing emails cannot hold an iframe: use the share link there.

A mado demo is a click-through of your product made from screenshots. Viewers click through it or let it play, on a computer or a phone, and the embed sets no cookies.

Steps

  1. On your demo’s share page (/d/your-demo-slug), press Embed and copy the iframe code. It already has your demo’s address and shape.
  2. In the HubSpot page or knowledge base article editor, add an HTML or embed module where the demo should sit.
  3. Paste the iframe code and publish.
  4. In a marketing email, paste the share link instead. It shows the demo’s preview picture and opens the demo.

Iframe code

<div style="position:relative;aspect-ratio:1.6;overflow:hidden;border-radius:12px;background:#22201C">
  <iframe src="https://mado.show/e/your-demo-slug" title="Interactive demo" loading="lazy"
    allow="clipboard-write; fullscreen"
    sandbox="allow-scripts allow-popups allow-popups-to-escape-sandbox"
    style="position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:transparent"></iframe>
</div>

Marketing emails do not allow iframes, so a demo cannot play inside an email.

Checked 4 December 2026. HubSpot changes its editor from time to time; if a step no longer matches, tell us.

Every way to embed a demo, its options and other tools: Embedding docs.

Make the demo first

Capture your web app with the mado Chrome extension, or upload screenshots, and publish your first demo free: 5 published demos, unlimited views, no credit card.

Start free