Trackum

Fastest Cookie Banner: Load Time Measured and Compared

In our test our banner was visible after 0.4 seconds, well-known providers after 1.3 to 4.3 seconds. How we measured and how to spot a fast banner.

Guide · · Updated · 5 min read · Written with AI, AI-assisted review on

Fastest Cookie Banner: Load Time Measured and Compared
📷 William Warby · Unsplash

The fastest cookie banner in our test was the Trackum banner: on an empty test page in mobile mode with Slow 4G, it was visible after 0.4 seconds, as the median of 7 runs. Well-known banner providers needed 1.3 to 4.3 seconds under the same conditions and loaded 7 to 15 files totalling 150 to 210 KB. Our cookie banner is a single file of 6.6 KB and loads nothing further.

We built the banner this way on purpose. A cookie banner is the first thing visitors see. Until they decide, no measurement with cookies may start. A slow banner therefore costs twice: visitors wait longer, and data that would be possible with consent arrives later or not at all. Below you will read how we measured, what makes a banner fast and when a large provider fits better anyway.

The load time of a cookie banner determines when visitors can really use your site. As long as the banner does not appear, nobody can accept or reject. With Google Consent Mode v2, the Google Analytics and Google Ads tags wait in the denied state until the decision. Anyone who leaves during that time is not measured at all, even if they would have consented.

Then there are the Core Web Vitals, with which Google assesses the user experience of a page. Largest Contentful Paint (LCP) measures when the largest visible element appears. According to web.dev, a value up to 2.5 seconds counts as good. On mobile, the text of the cookie banner can be that largest element. If a banner pushes the content down when it appears, that additionally worsens Cumulative Layout Shift (CLS). A banner with many scripts also burdens the browser at exactly the moment visitors make their first clicks.

Cookie banner load time depends heavily on the conditions, so we state them in full. Without these details every number would be worthless, because on a fast computer in the office almost every banner appears instantly.

  • Empty test page, so that only the banner is measured and not the rest of the website
  • Mobile mode with throttled connection Slow 4G
  • Each banner loaded 7 times, with the median counted
  • Measured: time until the banner is visible, number of files and amount of data transferred

Result: our banner was visible after 0.4 seconds, the well-known providers after 1.3 to 4.3 seconds, with 7 to 15 files and 150 to 210 KB. On your real website, server, theme and other scripts come on top, so the values will differ there. But the gap arises in the same place: in the number of files and the amount of data.

Why these conditions? The empty test page separates the banner from the rest, otherwise a heavy theme or a large image would distort the result. Slow 4G in mobile mode shows what visitors experience on the move, because that is where many small files weigh most. And the median of 7 runs smooths out outliers that arise by chance in a single measurement. You can repeat the same measurement yourself with Chrome’s developer tools and compare your own banner with it.

→ Cookie banner with Consent Mode v2: compliant, with no monthly licence

A lightweight cookie banner is fast because the browser has to load little and run little. Many banners first load a script, which then fetches a configuration, translations, fonts and styles from a third-party server. Each of these files is a separate request. On a slow mobile connection, the waiting times add up.

You can tell in a few minutes whether your own cookie banner is slim. Open your site in a private window, start the developer tools and look in the Network tab for all files that come from your banner provider’s address. Count the files and add up the size. As a rough guide, not a fixed limit: if the banner loads more than a handful of files or over 100 KB, a slimmer solution is worth a look. Also check whether the content of the page jumps when the banner appears.

What to look for in a fast cookie banner
FeatureFast bannerSlow banner
FilesOne file, loads nothing furtherMany files, configuration and texts from a third-party server
SizeA few kilobytes150 to 210 KB in our test
FontsUses the site’s fontLoads its own fonts
DisplaySits over the page without shifting contentPushes the content down
Rejecting“Reject all” on an equal footing on the first layerRejecting only in the settings

Is a fast banner also legally in order?

Speed alone does not make a cookie banner correct. In Germany, section 25 TDDDG provides that consent is generally required for storing and reading information on the terminal device, unless it is strictly necessary for the service. A banner must therefore above all ask honestly: declining must be as easy as accepting. Nothing that needs consent may load before the decision.

So for every banner, fast or not, check: is “Reject all” equal on the first layer? Does it report the decision to Google through Consent Mode v2? Are consent records stored, and where? Does a cookie scan show which cookies your site sets? Whether your overall presence complies with the rules also depends on your privacy policy and the embedded services. This article is not legal advice.

→ Setting up Google Consent Mode v2 correctly: no warning in Tag Assistant

When does a large banner provider fit better?

A large banner provider fits better if you need features that a slim banner deliberately leaves out. If you sell ad space on your own site, for example through Google AdSense, you need, according to Google, a Google-certified consent solution that supports the Transparency and Consent Framework (TCF) for visitors from the EEA and the United Kingdom. If you need dozens of languages, many domains with central management or evaluations of consent rates across many sites, a large provider is also the better choice.

For most websites of small and medium-sized companies this does not apply. A trades business, an online shop or a B2B service provider with Google Analytics, Google Ads and Meta needs a banner that appears quickly, asks honestly and reports Consent Mode v2 correctly. A slim banner from one file is enough for that.

Our banner offers “Reject all” on an equal footing on the first layer, is available in German and English and reports the decision to Google through Consent Mode v2. Consent records are stored in the EU, without the IP address. Cookie scan and privacy texts are included. The cookie banner costs a one-off €50 plus €4.90 a month, excl. VAT. It can also be booked on its own, without a setup. In the subscription at €19 a month it is already included. If you do not want to show the small note “powered by Trackum”, you get the banner entirely in your own branding for a one-off €50. If you first want to know what your site sends before consent today, the free check at trackum.app/check tests your site three times: banner ignored, rejected and accepted.

Frequently asked questions

Does a cookie banner make my website slower?

A cookie banner loads additional files and has to appear before visitors can decide. The more files and kilobytes it needs, the later it is visible and the more work the browser has to do. A slim banner from one small file hardly matters.

How do I measure my cookie banner’s load time myself?

Open your site in Chrome in a private window, start the developer tools and set a slow mobile connection in the Network tab. Reload the page several times and note when the banner appears and how many of the banner’s files are loaded. You can then compare the median of several runs fairly.

Does a fast cookie banner work with Google Consent Mode v2?

Yes, speed and Consent Mode v2 do not rule each other out. Consent Mode v2 is built into our banner. Without consent, Google Analytics, Google Ads and Meta are set to denied, and once consent is given they are released. We test this by rejecting and by accepting.

Is your cookie banner also available without a setup?

Yes, the cookie banner is also available on its own for €50 plus €4.90 a month, excl. VAT. Cookie scan and privacy texts are included. In the subscription at €19 a month, the banner is already included.

Sources

  1. web.dev: Largest Contentful Paint (LCP) web.dev
  2. web.dev: Cumulative Layout Shift (CLS) web.dev
  3. Gesetze im Internet: Section 25 TDDDG gesetze-im-internet.de
  4. AdSense Help: Certified consent management platforms (CMPs) for publishers in the EEA and the United Kingdom support.google.com
  5. Google for Developers: Set up consent mode on websites developers.google.com
Help