Glossary

/

Widget, Integration & Privacy

/

Core Web Vitals

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.

Updated August 12, 2026

Widget, Integration & Privacy

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

LCP marks the moment the largest visible element — usually a hero image or headline — finishes rendering, and it stands in for how quickly the page feels usable [1]. INP measures the latency of interactions across the whole visit, taking a high percentile rather than only the first interaction, which makes it far stricter than the First Input Delay metric it replaced in March 2024 [2]. CLS sums the unexpected movement of visible elements during the page's lifetime, capturing the familiar annoyance of a button sliding away as you reach for it. All three are collected from real Chrome users in the field, so they reflect actual devices and networks rather than a fast machine on office wifi. Each has a 'good' threshold that must be met by 75% of visits before the page counts as passing.

How a chat widget can hurt them

Three failure modes account for most of the damage. First, a render-blocking script: an Embed Code placed in the head without async or defer delays the browser's first paint and pushes LCP out. Second, a heavy main-thread cost: a large bundle that parses and executes during page load competes with the site's own JavaScript and shows up as poor INP, especially on mid-range phones. Third, late insertion without reserved space: if the Chat Launcher appears after the page has settled and shifts content around it, CLS rises. A JavaScript Widget built with these in mind loads a tiny loader first, defers the real bundle until the browser is idle or the visitor interacts, and renders in a fixed-position layer that is outside the document flow — so the widget's arrival moves nothing.

Checking it on your own site

The quickest check is PageSpeed Insights, which reports both lab measurements and the field data Google actually uses [1]. Run it once with the widget and once with it removed, and compare — that isolates the widget's contribution rather than blaming it for the site's own issues. Search Console's Core Web Vitals report shows the same field data grouped by page type over time, which is better for spotting a regression after a deployment. It is worth doing this deliberately, because the business case for Live Chat rests on lifting Lead Capture and Customer Engagement; a widget that costs a measurable slice of page speed is quietly taxing the same funnel it is meant to improve. Keeping the widget out of the critical path means the tradeoff never has to be made.

Sources & References

1
Core Web Vitals - web.dev

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

← Previous

Content Security Policy (CSP)

Next →

Deep Link

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 Free

More in Widget, Integration & Privacy

Content Security Policy (CSP)

Deep Link

Embed Code

GDPR Compliance

HTTP Polling

Iframe

IP Geolocation

JavaScript Widget

REST API

SDK

View all in Widget, Integration & Privacy

Categories

Explore Glossary

Explore social proof, testimonial, and trust-building terms.

Browse all terms →

Learn More

Guides on collecting testimonials, building trust, and turning customer feedback into social proof.

Read the blog →