🧪 HEA Floating Pop-up — method: Script Loader (Widget) · Auto-mount

This page uses the public HEA embed loader at https://hea-world.com/public/hea_chat_engine/hea_embed.js. The loader injects our Floating pop-up (launcher button + popup panel) by creating an iframe to hea_widget.html, configured via data-* attributes.

Floating pop-up (loader) — Pros & Cons

✅ Pros

  • Simplest setup: one script tag with data-*.
  • Isolation: runs in an iframe; avoids host CSS/JS conflicts.
  • Safe CSP: allow script-src for loader and frame-src for widget.
  • UX: polished floating launcher + pop-up out of the box.

⚠️ Cons

  • Event bridging via postMessage for analytics/leads.
  • iFrame layer adds minor overhead vs same-DOM engine.

Generated <script> snippet (Floating pop-up)

Tip: you can drive this demo via URL params: ?hea_id=YOUR_HEA_ID&creator_id=YOUR_CREATOR_ID&position=bottom-left&offsetY=96 (also supports offsetX).

Quick examples: default · bottom-left · higher