How the cookie banner and its vendors slow your pages
A TermsFeed Privacy Consent cookie banner slows a page in 2 ways: through its own script, and through the vendor scripts it loads after consent. The fixes for its own script concern the size of the consent banner and the space your page reserves, and the fixes for vendor scripts concern the tools you added. Measure both new and returning visitors, because PageSpeed Insights tests only a first visit.
Measure the effect on Core Web Vitals
| Page | What you find out there |
|---|---|
| Core Web Vitals | What the consent banner changes in Cumulative Layout Shift, Largest Contentful Paint, and Interaction to Next Paint, and how to set a baseline |
Fix layout shift and Largest Contentful Paint
| Page | What you do there |
|---|---|
| Prevent Layout Shift | Reserve space for blocked embeds, ad slots, and vendor containers |
| LCP and Load Order | Check whether the consent banner is the Largest Contentful Paint element, make your own content larger, and keep the load order right |
Test the consent banner on phones
A phone gives the consent banner less room and runs each vendor script more slowly.
| Page | What you find out there |
|---|---|
| Covers Content on Mobile | How much of the screen the consent banner takes, and how to test it on a real phone and with DevTools throttling |
| Core Web Vitals | Why vendor count weighs more on a phone, and the order vendors run in |