Skip to main content
OneTrustOneTrust

OneTrust cookie banner: speed and features

In our tests with its Astro integration, OneTrust showed its cookie banner in a median 663 ms on desktop. It added no measurable delay to the main content. Accept responded in 40 ms and Reject in 32 ms. It held trackers back in all 4 consent checks.

On an emulated mid-tier phone, the banner took 3.59 s. 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 Astro. We measured other CMPs on Next.js only, so this comparison uses OneTrust’s other integrations.

How fast does the banner appear?

663 ms
Moderate

Three in four visits showed it within 723 ms.

2nd fastest of 6 OneTrust integrations. Field median 684 ms. OneTrust: 663 ms.
All 6 integrations, best first
  1. Next.js640 ms
  2. Astro663 ms
  3. Script tag680 ms
  4. React689 ms
  5. Nuxt693 ms
  6. TanStack Start719 ms

Does it slow the page down?

No measurable delay95% interval 0 ms to 12 ms
None

Main content painted as fast as on the same page without a consent manager.

No measurable delay, like 5 of the other 5 OneTrust integrations. Field median 0 ms. OneTrust: 8 ms.
All 6 integrations, best first
  1. Script tag0 ms
  2. React0 ms
  3. Next.js0 ms
  4. Nuxt0 ms
  5. TanStack Start0 ms
  6. Astro8 ms

How fast does a click respond?

40 msOne visit measured
Fast

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

2nd fastest of 6 OneTrust integrations. Field median 48 ms. OneTrust: 40 ms.
All 6 integrations, best first
  1. Script tag32 ms
  2. Astro40 ms
  3. React48 ms
  4. Nuxt48 ms
  5. TanStack Start48 ms
  6. Next.js56 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, desktop

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 desktop profile: banner time, page delay, click response and tracker blocking
FrameworkBanner appearsPage slowed byClick responds inTrackers blocked
Script tag
680 msModerate
No measurable delay95% interval 0 ms to 12 msNone
32 msOne visit measuredFast
4 of 4 passed
React
689 msModerate
No measurable delay95% interval −4 ms to 0 msNone
48 msOne visit measuredFast
4 of 4 passed
Next.jsShared with every CMP
640 msModerate
No measurable delay95% interval −12 ms to 12 msNone
56 msOne visit measuredFast
4 of 4 passed
Nuxt
693 msModerate
No measurable delay95% interval −8 ms to 8 msNone
48 msOne visit measuredFast
4 of 4 passed
AstroShown above
663 msModerate
No measurable delay95% interval 0 ms to 12 msNone
40 msOne visit measuredFast
4 of 4 passed
TanStack Start
719 msModerate
No measurable delay95% interval −16 ms to 0 msNone
48 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 663 ms. The published results do not show when OneTrust started to load.

OneTrust load timeline, Desktop, Astro: milliseconds from navigation
EventTime from navigation
First byte (TTFB)3 ms
First paint (FCP)28 ms
Largest paint (LCP)76 ms
Banner visible663 ms
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, Desktop, Astro, with the difference from a page without a consent manager
MeasureWith OneTrustDifference
TTFBTime to first byte3 ms+0 msNo interval reported
FCPFirst Contentful Paint28 ms0 msNo interval reported
LCPLargest Contentful Paint76 msNo measurable difference95% interval 0 ms to 12 ms
CLSCumulative Layout Shift0.00No measurable difference95% interval: 0.00
Primary content paintThe page’s main content, not the banner76 msNo measurable difference95% interval 0 ms to 12 ms

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
15 of 15 visits
Consent banner
0 of 15 visits
Banner covers

What happens after a visitor clicks Accept?

The screen responded to Accept in 40 ms.

OneTrust after Accept, Desktop, Astro: 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, Desktop, Astro
MeasureWith OneTrustDifference
Initial transferBytes before the page settles709 KB+211 KB95% interval: 211 KB
Deferred transferBytes loaded laterNot compared
RequestsAll requests16+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, Desktop, Astro
MeasureWith OneTrustDifference
Long-task timeBlocking time during load0 ms0 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.