The technical foundations of embedding a chat widget and integrating it safely
17 terms
C
2 terms
Content Security Policy (CSP)
A Content Security Policy (CSP) is an HTTP response header that tells the browser which sources a page is allowed to load scripts, styles, images, and network connections from. Any third-party widget — including a live chat widget — only works on a CSP-protected site if the policy explicitly allows its domains.
Widget
Core Web Vitals
Core Web Vitals are Google's three field metrics for page experience — Largest Contentful Paint, Interaction to Next Paint, and Cumulative Layout Shift. They matter to anyone adding a chat widget, because a poorly built widget can degrade all three and drag down both conversion and search performance.
Widget
I
2 terms
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.
Widget
IP Geolocation
IP geolocation is the practice of estimating a device's approximate physical location (country, region, city) by looking up its public IP address in a database that maps IP ranges to places. In Eloqra it runs server-side on the first visitor message to attach location context to a conversation.
Widget
S
3 terms
SDK
A software development kit (SDK) is a packaged collection of tools, libraries, code samples, and documentation that lets developers build software for a specific platform without writing every integration from scratch. In live chat, an SDK is the language- or framework-specific library that embeds and controls a chat widget inside a web or mobile app.
Widget
Server-Sent Events (SSE)
Server-Sent Events (SSE) is a web standard that lets a server push a continuous stream of updates to the browser over a single long-lived HTTP connection. In live chat, SSE is one of the three common ways a widget receives new messages, sitting between simple polling and a full bidirectional WebSocket.
Widget
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.
Widget
W
2 terms
Webhook
A webhook is a user-defined HTTP callback: instead of polling for data, an application registers a URL that a source service calls with an HTTP POST request the moment a specific event happens. [1] In Eloqra, a webhook is how an operator's Telegram reply travels back into the chat widget.
Widget
WebSocket
WebSocket is a protocol (standardized as RFC 6455) that opens a single, persistent, full-duplex connection between a browser and a server, letting either side push data at any time without re-issuing HTTP requests. It is the transport many real-time apps reach for when they need low-latency, bidirectional messaging.
Widget
CATEGORIES
LEARN MORE
Guides on live chat, Telegram support, and turning website visitors into customers.
Read the blog →