Performance (web vitals)
Performance shows how fast your pages feel to real visitors, measured in their browsers, and what slow pages cost you in conversions. It uses Google's Core Web Vitals, the same metrics Google Search and Lighthouse use.
Turn it on
Web vitals come with the web SDKs and are off until you turn them on:
<!-- script tag -->
<script defer src="https://ingest.heyglancy.com/glancy.js" data-key="YOUR_WRITE_KEY" data-web-vitals></script>
// npm
new BrowserClient({ writeKey: "YOUR_WRITE_KEY", host: "https://ingest.heyglancy.com", webVitals: true });
// Next.js
<GlancyProvider webVitals>{children}</GlancyProvider>
Glancy measures each page load and sends the result when the visitor leaves the page, so measurements show up a few minutes after the visits. The measuring code (Google's web-vitals library, about 4.5 KB compressed with Glancy's own code) is only downloaded once the page has finished loading and the browser is idle, so it never competes with your page's own loading.
The metrics
| Metric | What it measures | Good | Poor |
|---|---|---|---|
| LCP, Largest Contentful Paint | How long until the main content shows | up to 2.5 s | over 4 s |
| INP, Interaction to Next Paint | How fast the page responds to clicks, taps and typing | up to 200 ms | over 500 ms |
| CLS, Cumulative Layout Shift | How much the page jumps around while it loads | up to 0.1 | over 0.25 |
| FCP, First Contentful Paint | How long until anything shows | up to 1.8 s | over 3 s |
| TTFB, Time to First Byte | How long your server takes to answer | up to 800 ms | over 1.8 s |
Each tile shows the metric at the percentile you pick (P75 by default, the one Google uses: 75% of page loads were at least this fast), coloured by Google's thresholds, with the split of good, needs-improvement and poor page loads underneath. Pick P90, P95 or P99 to look at your slowest visits. Click a tile to see that metric over time and by page.
Experience score
The experience score (0 to 100) sums the page up in one number: each metric's score at the chosen percentile, weighted like Lighthouse (LCP 30%, INP 30%, CLS 25%, FCP 15%). 90 and above is good, under 50 is poor. It's compared with the period before, so you can see whether a release made things better or worse.
What speed costs you
What speed costs you puts each session in a band by its slowest page load for the selected metric, then compares how many sessions in each band reached your conversion event, per device. For example: Visitors with a poor LCP converted at 1.2%, against 3.4% with a good one.
From that, Glancy estimates what the slower sessions would have brought at the fast sessions' conversion rate, valued
at the fast sessions' average order. It's an estimate (slow visits can differ in other ways, like the device or the
network), but it tells you where speed work pays off. The conversion event and the revenue property are the ones in
Ad spend settings (by default Order Completed and revenue).
Pages
Pages lists your pages with their page loads, the metric at the chosen percentile, the share of good page loads, the conversion rate of sessions that loaded the page and the revenue those sessions brought, most revenue first. That puts the pages that make money at the top: fix those first.
Pages are grouped by route, so /products/123 and /products/456 count as one. With Next.js the provider sends the
route itself (/products/[id]); otherwise Glancy replaces parts of the path that look like ids (numbers, uuids,
long tokens) with [id].
Single-page apps load the page once and then navigate in the browser, so their measurements belong to the page the visit started on. INP and CLS keep counting while the visitor moves around the app.
The bell on a page row opens a notification rule that tells you when that page gets slow. Below the pages, Devices, Browsers and Countries break the metric down the same way.
Drill into a page
Click a page in Pages to see what slows it down. Everything on the page then covers that page only: the experience score, the metric tiles, the chart over time (click a tile to switch between LCP, INP, CLS, FCP and TTFB), What speed costs you, and the Devices, Browsers and Countries breakdowns. That's how the site is slow turns into the checkout is slow on mobile Safari. The device, percentile and period you picked stay on.
- Slowest visits lists the page loads with the worst value for the selected metric, with their other metrics, the visitor's browser, device and country, and whether the session converted. Watch replay opens the session's replay at that page load, when it was recorded.
- Paths shows the addresses the page groups (
/products/123,/products/456…) when there's more than one, so you can tell whether one product is slower than the rest. - Alert opens a notification rule for this page, like the bell on its row.
All pages (or Performance at the top) takes you back. The address of a drilled-in page can be shared like any other.
Allowance
Page loads with web vitals have their own monthly allowance, separate from billable events and never billed. Past 80% of it Glancy keeps 1 page load in 10 for the rest of the month, which keeps percentiles accurate; at the allowance, new measurements aren't stored until the next month. See Usage.