What the cookie banner changes in each Core Web Vital
The TermsFeed Privacy Consent (CMP) cookie banner causes no layout shift, and it changes Largest Contentful Paint only when it is the largest element on screen. Most score changes after an install come from the content Privacy Consent holds back and from the vendor scripts it runs. Core Web Vitals are 3 metrics Google measures from real Chrome visitors: Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS).
Google rates a page as good when 75% of page views meet 3 thresholds, according to web.dev. They are an LCP of 2.5 seconds or less, an INP of 200 milliseconds or less, and a CLS of 0.1 or less. The decision you make here is which visitor state you measure, because a first-time visitor and a returning visitor load different code.
Cumulative Layout Shift: the consent banner stays out of the page layout
The Privacy Consent banner never moves your page content, because it sits in a fixed position at the bottom of the viewport. The Privacy Preferences Center covers the viewport in a fixed position, and the floating button stays fixed in a corner.
Layout shift on a Privacy Consent site comes from what the script inserts into the page flow. An embed placeholder appears where a replaceable tag sits once Privacy Consent loads, and the real embed replaces it after consent. An ad slot stays empty for a visitor who declines and fills for a visitor who accepts. Each of these moves the content below it unless your CSS reserves the space, which you set up with Prevent Layout Shift.
Largest Contentful Paint: when the consent banner becomes the largest element
LCP moves to the moment the consent banner appears whenever the consent banner is the largest text block in the viewport. Privacy Consent shows the consent banner only after the page finishes parsing and after its code files and 2 settings requests arrive, which is later than your own content.
A page with a large image or heading in its first HTML keeps that element as its LCP. A page with a small heading on a phone often hands the LCP to the text of the consent banner. Check which element it is with LCP and Load Order.
Interaction to Next Paint: what runs after "I Agree"
The click on the "I Agree" button starts the vendor code you added, and that code decides most of the delay Interaction to Next Paint measures. Privacy Consent saves the answer, then runs the vendor tags and your callback as separate tasks after the click.
Paste only the loader snippet each vendor supplies into the on-accept vendor tag, and keep its async attribute. Privacy Consent never adds async, and it runs the nodes of a vendor tag in order. Keep your callbacks short, and remove vendors you no longer use. Every accepted vendor starts right after the click, in the order of The order Privacy Consent runs vendors in.
Why vendor count matters more on a phone
Every accepted vendor downloads its own scripts and runs its own code, and a phone runs that code more slowly than a desktop computer. On a phone, the page then responds more slowly to the next tap after I Agree.
Give each tool one vendor instead of loading it through a vendor and a Google Tag Manager container. An on-load vendor tag with a <script src> that lacks async holds the on-accept and on-decline vendor tags of every vendor until that script loads or fails. Nothing times out, so a slow server on a phone connection delays them all.
The order Privacy Consent runs vendors in
Privacy Consent starts vendors by vendor category, then in the order the settings list them, and the TermsFeed app has no setting that changes the order. The vendor categories start in this order: Essential, Functionality, Analytics, Advertising, Marketing. On-load vendor tags of every vendor come first, then the on-accept and on-decline vendor tags.
Put a vendor into the vendor category that matches what it does, never into an earlier vendor category to make it run sooner. Check what each vendor category means in Choose a Vendor Category.
Why blocking vendors usually raises your scores
Holding vendor scripts until consent usually raises first-visit scores, because a visitor on the opt-in model loads none of those on-accept vendor tags before answering. Analytics, advertising, and chat scripts (Google Analytics 4, Meta Pixel, Intercom) each add downloads and code that runs in the browser. A visitor who declines never loads them. A Google template is the exception: its Google tag loads on every page view in the denied state, so it counts in the first visit too.
Your analytics reports show fewer visits once Privacy Consent holds analytics, because a visitor who declines is not counted. Read how this relates to search ranking in Consent Banner and SEO.
How to measure new and returning visitors
A new visitor on the opt-in model sees the consent banner, and on-accept vendor tags wait for an answer. A returning visitor runs every accepted vendor on page load without a consent banner. The browser takes the Privacy Consent files from its cache for up to 1 hour.
PageSpeed Insights and Lighthouse run their lab test in a fresh browser, so they measure the first visit only. Privacy Consent applies its location rules to the test server too. Its location decides what the lab sees: the consent banner, or, on the opt-out model, no consent banner and every vendor running. The field data in PageSpeed Insights mixes all of these, from real Chrome visitors.
Lighthouse keeps a saved answer once you clear one checkbox, which gives you the returning visitor in Chrome DevTools.
- Open your site and click I Agree. The Application tab shows
consentedDateintermsfeed_privacy_consent_stateunder Local Storage. - Open the Lighthouse tab, open its settings, and clear the "Clear storage" checkbox, so Lighthouse keeps the saved answer.
- Run the analysis for Mobile and for Desktop, and write down LCP, CLS, and Total Blocking Time, the lab stand-in for INP.
- Select the Network tab, filter for
cdn.termsfeedtag.com, and reload. The Privacy Consent requests appear, and the consent banner stays hidden.
How to set a baseline before changing settings
Record LCP, INP, and CLS for both visitor states before you change a vendor, the consent banner type, or your CSS. Run each lab test 3 times and keep the middle result, because lab scores vary between runs.
Change one thing at a time, measure again, and keep the dated results beside your list of vendor changes. Field data in PageSpeed Insights and in the Search Console Core Web Vitals report covers the previous 28 days, according to Google, so a change reaches it gradually.