A cookie banner can move your Core Web Vitals. It can become the largest thing on screen, push content down or add work to the main thread. This guide shows which metrics a banner can affect, how to measure it and what CookieBench measured across ten consent tools.
Page speed and advertising results are different questions. Measure the page first.
Which Core Web Vitals a banner can move
Core Web Vitals has three metrics. A banner can touch each one in a different way.
- Largest Contentful Paint (LCP): if the banner is the largest element in the first viewport, its paint time can become your LCP.
- Cumulative Layout Shift (CLS): a banner that pushes page content when it appears counts as layout shift. A banner that overlays the page and does not move content does not count.
- Interaction to Next Paint (INP): a consent script that runs long tasks while the visitor clicks can delay the next paint.
Hosted consent tools can also fetch configuration from a remote server and download banner code after the first render. Those are costs to test, not consequences of every consent tool. CLS measures layout movement, not load time, so a later banner does not automatically cause a layout shift.
Measure your banner in Lighthouse and field data
Lighthouse runs one lab visit on one device profile. Field data, such as the Chrome UX Report or your own real user monitoring, records what visitors experienced. The two often disagree, because a lab run starts with no saved consent choice and field visitors include returning ones who already chose.
To isolate the banner:
- Run Lighthouse on the page with the consent tool on, then with it off, on the same build.
- Check which element Lighthouse reports as the LCP element.
- Look for layout shift entries that start when the banner appears.
- Compare field LCP, CLS and INP for first visits with returning visits, if your monitoring can split them.
Measure banner visibility separately from the time your main content paints.
When the banner becomes your LCP element
On a short page or a small mobile screen, a banner with a large block of text can be the largest element in view. Lighthouse then reports the banner’s paint as LCP, and anything that delays the banner delays LCP.
Check the LCP element first. If it is the banner, test these changes:
- Render the banner with the page instead of after a remote script loads.
- Keep the banner text short so it is not the largest element.
- Keep your main content visible and painted before the banner.
Remeasure after each change. Do not assume a fix worked.
What CookieBench measured across consent tools
CookieBench loads the same Next.js page with each consent tool. It records when the banner appears on screen and how much data the tool adds to the first load. Medians from the Next.js desktop run:
| Consent tool | Banner on screen (ms) | Added to first load (KB) |
|---|---|---|
| c15t | 27 | 104 |
| Cookie Control | 385 | 99 |
| CookieYes | 387 | 31 |
| iubenda | 431 | 122 |
| Didomi | 466 | 253 |
| Enzuzo | 477 | 153 |
| OneTrust | 629 | 211 |
| Osano | 644 | 87 |
| Usercentrics | 672 | 164 |
| Ketch | 1,680 | 532 |
CookieBench cookiebench-v3.2.4, published 12 October 2026. Inth, the team behind c15t, maintains CookieBench, and c15t is one of the tools measured. Lab results; your site may differ. Run limits.
The banner appeared fastest with c15t. c15t did not add the least data. CookieYes, Osano and Cookie Control added less to the first load. A lab run shows how tools compare on one page. It does not tell you how your page performs, so measure your own pages too. See how we built the c15t banner.
Fixes that work with any consent tool
You can test these fixes with your current vendor:
- Reserve space or overlay the banner so it does not push content when it appears.
- Load the consent script early enough that the banner does not appear late, but make the tags it controls wait for consent.
- Preconnect to the consent tool’s domain if it loads from another origin.
- Avoid custom fonts or large images in the banner.
- Check for long tasks while the banner starts, and defer work that does not need to run before a choice.
If your consent tool loads as a remote script, a bundled consent component lets your application control how it loads and looks. It still adds code, so measure it like any other dependency. See the developer setup.
Measure the page before you infer an ad cost effect
If you run Google Ads, examine a slow banner as part of landing page experience. Google describes Quality Score as a diagnostic tool, not an input in the ad auction. CookieBench does not measure ad costs, search rankings or conversion.
Check each effect on its own:
- Measure banner visibility separately from the time your main content paints.
- Check layout shift and main thread blocking in your own setup.
- Review landing page experience alongside your campaign data.
- Run an experiment before you attribute a cost or conversion change to the consent tool.
The banner often sits between teams. Legal owns the vendor, marketing runs the ads and engineering owns the page. Put consent tooling in your landing page performance review, alongside images, application code and other scripts.
Try c15t on your own pages
To test c15t, add it to a branch and measure the page before and after. Sign up to Inth, then paste this prompt into your coding agent. It reads the Inth setup guide and adds c15t to your repo. Review the diff before you ship. For a Next.js app, see the Next.js consent banner. See how consent tools compare in Inth vs OneTrust and all comparisons.
Add inth to my app: inth.com/SKILL.md