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 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 INP measures. Privacy Consent saves the answer, then runs the vendor tags and your callback as separate tasks after the click. The time those tasks take depends on the code inside them.
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, because every accepted vendor starts at the same moment.
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. The visitors still arrive, and the lower count reflects their answers. Read how this relates to search ranking in Consent Banner and SEO.
How to measure new and returning visitors
Measure 2 visitor states, because each loads different code. 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 the same location rules to a test server as to any visitor. The test location therefore 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, type
cdn.termsfeedtag.comin the filter box, 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. A number measured after the change means nothing without the number before it. 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.