TL;DR
Three Google metrics for loading, responsiveness, and visual stability. A chat widget should load lazily and reserve its own space so it does not damage any of them.
Key Points
✓
Largest Contentful Paint (LCP) measures loading — the target is under 2.5 seconds for 75% of visits [1].
✓
Interaction to Next Paint (INP) measures responsiveness and replaced First Input Delay in March 2024; the target is under 200 ms [1][2].
✓
Cumulative Layout Shift (CLS) measures visual stability — the target is below 0.1 [1].
✓
Core Web Vitals are part of Google's page experience signals, measured on real visits through the Chrome UX Report rather than in a lab [1].
✓
A [[live-chat-widget]] loaded synchronously in the head blocks rendering and inflates LCP; loading it after the page is interactive avoids this entirely.
✓
A [[chat-launcher]] that pops in without reserved space causes layout shift — fixed positioning and a reserved footprint keep CLS at zero.
The three metrics
How a chat widget can hurt them
Checking it on your own site
Sources & References
Last updated: August 12, 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.
Embed Code
An embed code is a short snippet of HTML or JavaScript a website owner pastes into their pages so a third-party tool loads and runs on their site. For Eloqra it is a two-line script snippet that sets a project configuration and loads the chat script, which then injects the live-chat widget.
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.
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.
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.
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.
More in Widget, Integration & Privacy
Put live chat on your site in 30 seconds
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 →