Onetrust
IIFE Script
Benchmark name:
with-onetrust
Our Score
62
Poor
•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: 1515/25 - Good
Cumulative Layout Shift: 2020/20 - Excellent
Time to Interactive: 1010/20 - Good
Total Blocking Time: 1515/15 - Excellent
→Consider bundling cookie consent code with your main application bundle.
→Reduce third-party dependencies to improve reliability and performance.
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
First Contentful Paint
27ms
Good
Largest Contentful Paint
491ms
Good
Time to Interactive
1.5s
Good
Cumulative Layout Shift
0.000
Good
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.