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
Start with the metrics, then fix what they show for each visitor state.
| Page | What you find out there |
|---|---|
| Cookie Banner and Core Web Vitals With TermsFeed Privacy Consent | 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
These tasks each end with a measurement in Chrome DevTools.
| Page | What you do there |
|---|---|
| Prevent Layout Shift From the TermsFeed Privacy Consent Banner | Reserve space for blocked embeds, ad slots, and vendor containers |
| Keep the TermsFeed Privacy Consent Banner Off the Critical Path | 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 |
|---|---|
| Mobile Performance With TermsFeed Privacy Consent | How much of the screen the consent banner covers, why vendor count matters more there, and how to test on a real phone |