TL;DR
It is the small script snippet you copy once into your site so Eloqra's chat widget loads and appears on every page.
Key Points
✓
An embed code is the copy-and-paste snippet that tells the browser to fetch and run an external tool, typically via an HTML script tag with a src attribute [1].
✓
Eloqra's snippet has two parts: a line that sets window.ELOQRA_CHAT_CONFIG = { projectId: "..." } and a script tag that loads eloqra-chat.js from chat.eloqra.app.
✓
The projectId in the config tells Eloqra which project the page belongs to, the same way other tools key their snippet to a website ID [3][4].
✓
Once loaded, the bootstrap script reads the config and injects the [[javascript-widget]], rendering the [[chat-launcher]] and [[conversation]] panel inside a [[shadow-dom|Shadow DOM]].
✓
It is usually pasted just before the closing body tag so it loads after page content and does not block rendering [4].
✓
Because it is plain HTML with no build step, it drops into any site and can be installed by an [[ai-coding-agent]] from a short instruction.
What an embed code is
How Eloqra's embed code works
Installing the snippet
Sources & References
Last updated: June 25, 2026
Related Terms
JavaScript Widget
A JavaScript widget is a self-contained chunk of front-end code, loaded from a single script tag, that injects an interactive UI into any third-party web page. In Eloqra it is the live-chat widget that boots from one snippet and renders the chat launcher and conversation panel directly on a customer's site.
Live Chat Widget
A live chat widget is the embeddable, in-browser chat interface a website loads from a small script so visitors can message a business in real time without leaving the page. In Eloqra it is a floating launcher and chat panel that boots from a single <script> tag and renders inside a Shadow DOM.
Shadow DOM
Shadow DOM is a browser API that attaches a hidden, self-contained DOM subtree to an element, with its own scoped styles that neither leak out to the host page nor get overwritten by it. [1] Eloqra renders its entire chat widget inside a shadow root so the host site's CSS can never break the widget, and the widget's CSS can never alter the host site.
Chat Launcher
A chat launcher is the small floating button — usually a speech-bubble icon pinned to a bottom corner of the page — that a visitor clicks to open a live-chat window. It is the persistent, always-visible entry point to the chat experience.
Iframe
An iframe (inline frame) is an HTML element that embeds a separate, self-contained HTML document inside the current page, giving the embedded content its own DOM, stylesheets, and JavaScript scope. It is one of the classic ways to drop third-party UI like a chat widget onto a host website without its code clashing with the page.
AI Coding Agent
An AI coding agent is a software tool that pairs a large language model with access to real developer tools (file editing, a terminal, test runners) so it can plan a multi-step task, write and run code, observe the result, and iterate toward a goal with limited human supervision. It differs from plain autocomplete by acting in a loop rather than suggesting one line at a time.
More in Widget, Integration & Privacy
Collect testimonials that build trust
Eloqra gives you a lightweight live chat widget that routes every visitor message to your Telegram — free while in early access.
Get Started FreeMore in Widget, Integration & Privacy
View all in Widget, Integration & Privacy →Categories
Learn More
Guides on collecting testimonials, building trust, and turning customer feedback into social proof.
Read the blog →