
Onetrust
IIFE Script
Benchmark name:
with-onetrust
Our Score
62
Poor
Key Insights
•Consider bundling strategy to reduce third-party dependencies and improve performance.
•Consider open source alternatives for better transparency and community support.
→Consider bundling cookie consent code with your main application bundle.
→Reduce third-party dependencies to improve reliability and performance.
Cookie Banner Impact
Banner Visibility
514ms
Time to appear
Viewport Coverage
23.6%
Screen real estate
Network Impact
127KB
External requests
Bundle Strategy
IIFE Script
Dynamic external script
Core Web Vitals
First Contentful Paint
27ms
Good
Largest Contentful Paint
491ms
Good
Time to Interactive
1.5s
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.