All Benchmarks
/
with-onetrust
Onetrust
Onetrust
IIFE Script
Benchmark name:
with-onetrust
Our Score
Progress Circle
61
Poor
Key Insights
Consider bundling strategy to reduce third-party dependencies and improve performance.
Consider open source alternatives for better transparency and community support.
First Contentful Paint: 2020/20 - Excellent
Largest Contentful Paint: 1010/25 - Fair
Cumulative Layout Shift: 2020/20 - Excellent
Time to Interactive: 1010/20 - Good
Total Blocking Time: 1515/15 - Excellent
Improve Largest Contentful Paint by optimizing critical resource loading.
Consider bundling cookie consent code with your main application bundle.
Reduce third-party dependencies to improve reliability and performance.
Cookie Banner Impact
Banner Visibility
695ms
+1ms hydration
Viewport Coverage
23.6%
Screen real estate
Network Impact
120KB
External requests
Bundle Strategy
IIFE Script
Dynamic external script
Core Web Vitals
First Contentful Paint
28ms
Good
Largest Contentful Paint
692ms
Good
Time to Interactive
1.6s
Good
Cumulative Layout Shift
0.000
Good
Internationalization (i18n)
Language Detection
IP-based Detection
Okay

Detecting the language by the user's location is not ideal. For example, you're visting Germany, but do not speak German, the language will be detected as German and you will not be able to see the banner in your language.

String Loading Strategy
Server-side
Good

Text prepared on the server is the most efficient way to load the text as the user does not have to download multiple languages.