Skip to main content
OneTrustOneTrust

OneTrust cookie banner: speed and features

In our tests with its React integration, OneTrust showed its cookie banner in a median 3.55 s on an emulated mid-tier phone. It delayed the main content by 1.08 s (95% interval 1.06 s to 1.09 s). Accept responded in 40 ms and Reject in 48 ms. It held trackers back in all 4 consent checks.

On desktop, the banner took 689 ms. Per vendor docs, OneTrust supports IAB TCF, IAB GPP, Google Consent Mode v2, Google CMP certification and Global Privacy Control.

Version tested
Hosted
Vendor
OneTrust
Website
onetrust.com (opens in a new tab)

Results for

Framework

How fast is OneTrust’s cookie banner?

On React. We measured other CMPs on Next.js only, so this comparison uses OneTrust’s other integrations.

How fast does the banner appear?

3.55 s
Moderate

Three in four visits showed it within 3.57 s.

2nd fastest of 6 OneTrust integrations. Field median 3.63 s. OneTrust: 3.55 s.
All 6 integrations, best first
  1. Script tag3.53 s
  2. React3.55 s
  3. Astro3.59 s
  4. TanStack Start3.67 s
  5. Nuxt3.75 s
  6. Next.js3.80 s

Does it slow the page down?

+1.08 s95% interval 1.06 s to 1.09 s
Large

Compared with the same page without a consent manager.

1st of 6 OneTrust integrations, from least to most delay. Field median 1.08 s. OneTrust: 1.08 s.
All 6 integrations, best first
  1. React1.08 s
  2. Script tag1.08 s
  3. Next.js1.08 s
  4. TanStack Start1.08 s
  5. Astro1.09 s
  6. Nuxt1.09 s

How fast does a click respond?

40 msOne visit measured
Fast

Reject responded in 48 ms. Under 200 ms feels instant.

Joint fastest of 6 OneTrust integrations. Field median 44 ms. OneTrust: 40 ms.
All 6 integrations, best first
  1. React40 ms
  2. Nuxt40 ms
  3. Astro40 ms
  4. Script tag48 ms
  5. Next.js56 ms
  6. TanStack Start56 ms

Does it block trackers until consent?

4 of 4consent checks passed
Blocked

No tracker ran and the page set no cookie before the visitor chose.

All 6 OneTrust integrations passed every check. Field median 100%. OneTrust: 100%.
All 6 integrations, best first
  1. Script tag100%
  2. React100%
  3. Next.js100%
  4. Nuxt100%
  5. Astro100%
  6. TanStack Start100%

Which standards and features does OneTrust support?

Each status comes from OneTrust’s documentation. CookieBench does not test these features unless a line says so.

  • Verified by test
  • Per vendor docs
  • Partial
  • Not supported
  • Unknown

Which frameworks does OneTrust support?

First-party SDKs
None
Script tag
Supported
Measured in this run
Script tag, React, Next.js, Nuxt, Astro and TanStack Start

Support per OneTrust’s documentation (opens in a new tab).

OneTrust’s results by framework, mobile (emulated)

Each row is a separate app. We measured each one against the same app without a consent manager. The rows compare integrations, not frameworks.

OneTrust results by framework on the mobile profile: banner time, page delay, click response and tracker blocking
FrameworkBanner appearsPage slowed byClick responds inTrackers blocked
Script tag
3.53 sModerate
+1.08 s95% interval 1.07 s to 1.09 sLarge
48 msOne visit measuredFast
4 of 4 passed
ReactShown above
3.55 sModerate
+1.08 s95% interval 1.06 s to 1.09 sLarge
40 msOne visit measuredFast
4 of 4 passed
Next.jsShared with every CMP
3.80 sModerate
+1.08 s95% interval 1.08 s to 1.09 sLarge
56 msOne visit measuredFast
4 of 4 passed
Nuxt
3.75 sModerate
+1.09 s95% interval 1.08 s to 1.11 sLarge
40 msOne visit measuredFast
4 of 4 passed
Astro
3.59 sModerate
+1.09 s95% interval 1.08 s to 1.10 sLarge
40 msOne visit measuredFast
4 of 4 passed
TanStack Start
3.67 sModerate
+1.08 s95% interval 1.08 s to 1.10 sLarge
56 msOne visit measuredFast
4 of 4 passed

Were there problems testing OneTrust?

We show each missing answer as missing, never as zero.

Mobile (emulated)

  • In 15 of 15 visits the banner was the largest element on screen, so LCP measured the banner, not the page content. Primary content paint is the better guide here.

Desktop: no issues recorded.

When does OneTrust load, and what does it cost the page?

Lab detail for engineers. All Core Web Vitals are here. The summary leaves some of them out.

When does OneTrust start loading?

The banner was visible at 3.55 s. The published results do not show when OneTrust started to load.

OneTrust load timeline, Mobile (emulated), React: milliseconds from navigation
EventTime from navigation
First byte (TTFB)1 ms
First paint (FCP)772 ms
Banner visible3.55 s
Largest paint (LCP)3.56 s
CMP requested
CMP loaded
Consent state known

How do page vitals compare with no consent manager?

Each row shows the value on the page with the consent manager. It also shows how far the value moved from the same page without one.

OneTrust page vitals, Mobile (emulated), React, with the difference from a page without a consent manager
MeasureWith OneTrustDifference
TTFBTime to first byte1 ms0 msNo interval reported
FCPFirst Contentful Paint772 ms+80 msNo interval reported
LCPLargest Contentful Paint3.56 s+240 ms95% interval 160 ms to 292 ms
CLSCumulative Layout Shift0.00No measurable difference95% interval: 0.00
Primary content paintThe page’s main content, not the banner4.39 s+1.08 s95% interval 1.06 s to 1.09 s

What was the largest element on screen?

LCP times the largest element on screen. If that is the banner, LCP measures the banner instead of the page.

Page content
0 of 15 visits
Consent banner
15 of 15 visits
Banner covers

In 15 of 15 visits the banner was the largest element on screen, so LCP measured the banner, not the page content. Primary content paint is the better guide here.

What happens after a visitor clicks Accept?

The screen responded to Accept in 40 ms.

OneTrust after Accept, Mobile (emulated), React: milliseconds from the click
EventTime from the click
Screen responds40 ms
Banner gone
Consent applied
Analytics active

How much does it download?

Initial transfer happens before the page settles. Deferred transfer comes after.

OneTrust network use during the first load, Mobile (emulated), React
MeasureWith OneTrustDifference
Initial transferBytes before the page settles763 KB+211 KB95% interval: 211 KB
Deferred transferBytes loaded laterNot compared
RequestsAll requests19+12No interval reported
Third-party requestsRequests to other hosts12+12No interval reported

Does it block the main thread?

Long tasks are stretches over 50 ms when the page cannot respond to taps or keys.

OneTrust long-task time during load, Mobile (emulated), React
MeasureWith OneTrustDifference
Long-task timeBlocking time during load17 ms+17 msNo interval reported

What do returning visitors see?

A visitor who accepted on an earlier visit comes back. We check that the banner stays hidden.

Banner stayed hidden
Consent state known at

What was tested?

Analysis
matrix-2026-10-15

Questions about OneTrust

Answers use both test profiles.

On desktop, it appeared in a median 640 ms, against 452 ms for the median of the 10 CMPs measured. On an emulated mid-tier phone, it appeared in a median 3.80 s, against 2.61 s for the median of the 10 CMPs measured.