why would the cookie banner tank core web vitals on the home page??

clscore-web-vitalsperformance63 replies · 1.2K views · started
  1. dumb question but how do i even check the firmware ??

    5 0 helpful
  2. @jonas_cobalt what did u end up doing in teh end

    0 1 helpful
  3. yeahhh in Chrome DevTools, open the Rendering panel (More tools > Rendering) and enable 'Layout Shift Regions'. shifted areas flash blue as the page loads. then record in the Performance panel; the Layout Shifts track lists each shift with the elements that moved and their score. hope that helps :)

    6 5 helpful
  4. Banners that push content down cause big shifts. Render cookie and promo banners as fixed overlays at the bottom of the viewport instead of inserting them at the top of teh page. worked for me anyway 🤷

    38 1 helpful
  5. to see real-user attribution, use the web-vitals librarys attribution build and log onCLS results to ur analytics. It reports teh largest shift target selector, which tells you exactly which element moves for actual visitors. worked for me anyway 🤷

    0 1 helpful
  6. idk man that sounds like bad advice tbh

    1 0 helpful
  7. lol same thing happened to me font swaps shift text when teh fallback and web font have different metrics. use font-display: optional for less important fonts, or tune the fallback with size-adjust, ascent-override and descent-override in an @font-face rule sooo teh swap barely moves anything. fingers crossed 🤞

    5 2 helpful
  8. oh ive been there lol bump... still happening with performance for me worked for me anyway 🤷

    0 1 helpful
  9. ok weird one ok this thread just saved my weekend pls help 🙏

    3 0 helpful
  10. btw i come back to this thread every week just for the drama

    2 0 helpful
  11. ahh classic honestly just reset the default config and save yourself the pain

    0 2 helpful
  12. finally got it working, thanks everyone.. :) pro tip: write down what u change... i didnt and had to redo performance from scratch cant believe it was that simple lol

    13 2 helpful
  13. yesss ok update: did what @stackwrangler-2p8 said and its fine now

    11 1 helpful
  14. hmmm following, having the same problem worked for me anyway 🤷

    lol

    12 1 helpful
  15. told my boss it would take 10 minutes. its been 20 minutes lol try turning off teh antivirus first, fixed it for me

    4 0 helpful

Reply to this topic

Sign in or create an account to reply.