Slide 1

Slide 1 text

@manu_madeddu 1 Advanced Core Web Vitals & User Experience Masterclass Manuel Madeddu PERFORMICS @manu_madeddu https://speakerdeck.com/manuelmadeddu

Slide 2

Slide 2 text

@manu_madeddu 2 @JoJoeRugs Agenda: 1. Introduction to Core Web Vitals 2. Beyond Basics: Deep Dive into Web Vitals Metrics 3. Measuring and Monitoring Core Web Vitals 4. Advanced Optimization Techniques for CWV 5. Workshop: hands-on CWV Analysis 6. Future of Core Web Vitals and UX 7. Takeaways

Slide 3

Slide 3 text

@manu_madeddu 3 Introduction But Before…A Bit About Me: • Father of 2 lovely boys • AD @ Performics • Studied Robotics (Mechatronics) • 14yrs Experience as Marketing Specialist • SEO + AI & Automation Tool: https://faceswapper.ai/

Slide 4

Slide 4 text

@manu_madeddu 4 Introduction Some brands I’ve been working on

Slide 5

Slide 5 text

@manu_madeddu 5 Introduction Ice breakers questions: How much do you know about Web Performance & Core Web Vitals?

Slide 6

Slide 6 text

@manu_madeddu 6 Introduction A) Above 50 B) Any Score Above 30 C) 90 or Above Ice breakers questions: 1. What’s considered an optimal Performance Score in Google PageSpeed Insights to provide a good user experience?

Slide 7

Slide 7 text

@manu_madeddu 7 Introduction Ice breakers questions: 1. What’s considered an optimal Performance Score in Google PageSpeed Insights to provide a good user experience? A) Above 50 B) Any Score Above 30 C) 90 or Above

Slide 8

Slide 8 text

@manu_madeddu 8 Introduction Ice breakers questions: 2. Which website holds the record for consistently scoring 100/100 on Google PageSpeed Insights? A) Amazon B) Google.com C) Wikipedia

Slide 9

Slide 9 text

@manu_madeddu 9 Introduction Ice breakers questions: 2. Which website holds the record for consistently scoring 100/100 on Google PageSpeed Insights? A) Amazon B) Google.com C) Wikipedia d) No site consistently scores 100/100. And why it’s important to not over-obsess but correctly choose the metrics to benchmark against.

Slide 10

Slide 10 text

@manu_madeddu 10 Introduction Ice breakers questions: 3. What percentage of users will abandon a page if it takes more than 3 seconds to load? A) 10% B) 53% C) 25%

Slide 11

Slide 11 text

@manu_madeddu 11 A) 10% Introduction Ref: Google’s “The Need for Mobile Speed” Study, 2017 B) 53% C) 25% Ice breakers questions: 3. What percentage of users will abandon a page if it takes more than 3 seconds to load? c) 53% of visits are abandoned if a mobile site takes more than 3s to load. And why it’s important to optimise speed performance.

Slide 12

Slide 12 text

@manu_madeddu 12 Introduction A) The digital version of a personal trainer to keep your site fast and in shape B) A bunch of numbers and letters you’ll pretend to understand in front of your boss C) The latest challenge in “How to impress Google” Ice breakers questions: 4. What are Core Web Vitals?

Slide 13

Slide 13 text

@manu_madeddu 13 Introduction A) The digital version of a personal trainer’s rules B) A bunch of numbers and letters you’ll pretend to understand in front of your boss C) The latest challenge in “How to impress Google” Ice breakers questions: 4. What are Core Web Vitals? A) Measuring against CWV helps to keep your site fast and in shape.

Slide 14

Slide 14 text

@manu_madeddu 14 1. Introduction to Core Web Vitals @manu_madeddu

Slide 15

Slide 15 text

@manu_madeddu 15 1. Introduction to Core Web Vitals Slow sites impact negatively on brand perception and cost money Slow websites : • cost more money to users • impact on user engagement High-performance websites results in: • better user experience, • high return visits, • low bounce rates, • higher conversions & engagement Ref: Google’s “The Need for Mobile Speed” Study

Slide 16

Slide 16 text

@manu_madeddu 16 1. Introduction to Core Web Vitals Core Web Vitals are key quality signals for search engines Performance metrics are now ranking signals. 2016 Mar 2021 Jun 2021 Google began the process of mobile-first indexing in 2016, but finalised in March 2021. Google's Page Experience Update Core Web Vitals became key metrics for evaluating the user experience.

Slide 17

Slide 17 text

@manu_madeddu 17 1. Introduction to Core Web Vitals Other Benefits Include Higher ROI & Less Environmental Impact • Improving page speed improves PPC quality score • Better indexability/crawlability for search engines • Less environmental impact.

Slide 18

Slide 18 text

@manu_madeddu 18 1. Introduction to Core Web Vitals Every published website and browsed page emits CO2 and consumes energy. With an increased amount of published websites (+3 every second), numbers are out of control.

Slide 19

Slide 19 text

@manu_madeddu 19 1. Introduction to Core Web Vitals How can we measure all that?

Slide 20

Slide 20 text

@manu_madeddu 20 1. Introduction to Core Web Vitals • Web Vitals is Google's guidance for essential quality signals to enhance user experience. • Core Web Vitals are specific metrics within Web Vitals that reflect key aspects of user experience. • The current set focuses on three aspects of the user experience: loading, interactivity, visual stability. Now replaced by INP. Ref.: https://web.dev/articles/vitals

Slide 21

Slide 21 text

@manu_madeddu 21 1. Introduction to Core Web Vitals Ref.: https://web.dev/articles/vitals Interaction to Next Paint (INP) replaced FID as a Core Web Vital metric on 12th March 2024.

Slide 22

Slide 22 text

@manu_madeddu 22 2. Beyond Basics: Deep Dive into Web Vitals Metrics @manu_madeddu

Slide 23

Slide 23 text

@manu_madeddu 23 2. Beyond Basics: Deep Dive into Web Vitals Metrics Understanding Largest Contentful Paint (LCP) The time taken for the main piece of above-fold content to be rendered in the viewport. • It measures visual loading performance • Impacts user satisfaction, as delays can increase bounce rates.

Slide 24

Slide 24 text

@manu_madeddu 24 2. Beyond Basics: Deep Dive into Web Vitals Metrics Understanding Input to Next Pain (INP) (Interactivity) INP measures the time between user interactions (like clicks or taps) and when the next visual update appears on the screen. • It captures how responsive a webpage feels to the user. • Unlike FID, INP observes all user interactions.

Slide 25

Slide 25 text

@manu_madeddu 25 2. Beyond Basics: Deep Dive into Web Vitals Metrics Understanding Input to Next Pain (INP) The CLS measures the visual stability or “shift” of the page’s contents throughout the load cycle. • It ensures that users have a smooth visual experience, preventing frustration from sudden jumps or movements in content.

Slide 26

Slide 26 text

@manu_madeddu 26 Introduction Field Data vs Lab Data:

Slide 27

Slide 27 text

@manu_madeddu 27 Introduction Field Data vs Lab Data: What is the main difference between field data and lab data? A) Field data is always collected in open air. B) Lab data is collected in controlled environments. C) Lab data is always collected indoors.

Slide 28

Slide 28 text

@manu_madeddu 28 Introduction Field Data vs Lab Data: What is the main difference between field data and lab data? A) Field data is always collected in open air. B) Lab data is collected in controlled environments. C) Lab data is always collected indoors.

Slide 29

Slide 29 text

@manu_madeddu 29 2. Beyond Basics: Deep Dive into Web Vitals Metrics Understanding Field and Lab Data Field data is collected from real-world user experiences. It reflects actual user interactions across various devices, network conditions, and environments. This data is often aggregated from tools like Google Chrome User Experience Report (CrUX) and Google Analytics. Lab data is collected in a controlled environment using tools like Lighthouse, PageSpeed Insights, WebPageTest.org. It simulates page loading and interaction under predefined conditions, providing reproducible results. VS FIELD DATA LAB DATA

Slide 30

Slide 30 text

@manu_madeddu 30 2. Beyond Basics: Deep Dive into Web Vitals Metrics Tool: https://pagespeed.web.dev/ Understanding Field and Lab Data Essential for understanding real user experiences. Average of 28 days collated performance data. FIELD DATA

Slide 31

Slide 31 text

@manu_madeddu 31 2. Beyond Basics: Deep Dive into Web Vitals Metrics Tool: https://pagespeed.web.dev/ Understanding Field and Lab Data Overall score as 75th percentile of collated data. FIELD DATA

Slide 32

Slide 32 text

@manu_madeddu 32 2. Beyond Basics: Deep Dive into Web Vitals Metrics Understanding Field and Lab Data Valuable for controlled testing and debugging. LAB DATA Testing Conditions Tool: https://pagespeed.web.dev/

Slide 33

Slide 33 text

@manu_madeddu 33 Introduction Be Ready!

Slide 34

Slide 34 text

@manu_madeddu 34 3. Measuring & Monitoring Core Web Vitals @manu_madeddu

Slide 35

Slide 35 text

@manu_madeddu 35 3. Advanced Optimization Techniques for CWV Tool: https://pagespeed.web.dev/ Using PageSpeed Insights

Slide 36

Slide 36 text

@manu_madeddu 36 3. Advanced Optimization Techniques for CWV Using DevTools

Slide 37

Slide 37 text

@manu_madeddu 38 3. Advanced Optimization Techniques for CWV Using Google Search Console

Slide 38

Slide 38 text

@manu_madeddu 39 3. Advanced Optimization Techniques for CWV Tool: https://webpagetest.org Using WebPageTest.org

Slide 39

Slide 39 text

@manu_madeddu 40 3. Advanced Optimization Techniques for CWV Tool: https://www.webpagetest.org/result/240922_AiDc0E_4GB/ Understanding the Waterfall Document Complete START RENDER

Slide 40

Slide 40 text

@manu_madeddu 41 3. Advanced Optimization Techniques for CWV Tool: https://www.webpagetest.org/result/240922_AiDc0E_4GB/ Understanding the Waterfall

Slide 41

Slide 41 text

@manu_madeddu 42 3. Advanced Optimization Techniques for CWV Tool: https://developer.chrome.com/docs/crux/dashboard CrUx Report In LookerStudio

Slide 42

Slide 42 text

@manu_madeddu 43 3. Advanced Optimization Techniques for CWV Tool: https://yellowlab.tools YellowLab.Tools

Slide 43

Slide 43 text

@manu_madeddu 44 3. Advanced Optimization Techniques for CWV Tool: https://www.experte.com/pagespeed experte.com/pagespeed

Slide 44

Slide 44 text

@manu_madeddu 45 3. Advanced Optimization Techniques for CWV Setting up real-time monitoring • Google Search Console • CrUX Dashboard (Integrated) • Custom Scripts - Ongoing Tracking Google Sheets + Lighthouse API • Custom Scripts – Debugging and Auditing at Scale: WPT API

Slide 45

Slide 45 text

@manu_madeddu 46 3. Advanced Optimization Techniques for CWV Creating a continuous improvement cycle Agree Prioritised URLs to Track Initial Auditing Ongoing monitoring Implementation of agreed prioritised actions Performance review Action Prioritisation Alerts Setup DEVELOPMENT MONITORING

Slide 46

Slide 46 text

@manu_madeddu 47 3. Advanced Optimization Techniques for CWV Custom Scripts - Ongoing Tracking Google Sheets + Lighthouse API

Slide 47

Slide 47 text

@manu_madeddu 48 3. Advanced Optimization Techniques for CWV Custom Scripts – Debugging and Auditing at Scale: WPT API

Slide 48

Slide 48 text

@manu_madeddu 49 4. Advanced Optimization Techniques for CWV @manu_madeddu

Slide 49

Slide 49 text

@manu_madeddu 50 Leverage Browser Caching Impact: • speed up repeat visits to the site by storing assets • the user does not need to re-load all assets upon returning to the site. Resource Caching https://cdn.cookielaw.org/scripttemplates/6.12.0/assets/otPcCenter.js on No max-age or expires https://cdn.cookielaw.org/consent/3f6936fe-3bf6-45fc-bb03- 834e523bab1a/3f6936fe-3bf6-45fc-bb03-834e523bab1a.json 3.6 hours https://www.clarity.ms/eus-f/s/0.6.34/clarity.js 24.0 hours https://bat.bing.com/p/action/22018452.js 60 seconds https://www.dwin1.com/1846.js 1.7 minutes https://tags.tiqcdn.com/utag/vodafone/uk-enterprise- main/prod/utag.js?callback=resolveDynamicVisitorAttributes 5.0 minutes https://vodafoneuk.digital.nuance.com/tagserver/postToServer.min.js ?siteID=10006330&codeVersion=1656586684028 60.0 minutes https://cdn.decibelinsight.net/i/13684/78813/di.js 1.5 hours Performance Impact Implementation Effort Medium Easy Impacts: LCP

Slide 50

Slide 50 text

@manu_madeddu 51 Assets with 3xx and 4xx Status Codes Impact: • Redirecting assets increases the time taken to load the page, especially if these assets are critical for rendering. All lines in yellow show assets with a 3xx redirect Impacts: FCP Performance Impact Implementation Effort Medium Medium

Slide 51

Slide 51 text

@manu_madeddu 52 4. Measuring & Monitoring Core Web Vitals Optimise Images • Compress your images before uploading them. • Adjust your Media settings/enable autocompression. • Convert and use next-gen formats (webp) • Ensure below the fold images are lazyloaded (lazy=“loading“) Performance Impact Implementation Effort High High

Slide 52

Slide 52 text

@manu_madeddu 53 4. Measuring & Monitoring Core Web Vitals Fonts optimisation: preload and font-face:swap Recommendation 1. Add a Preload attribute to load custom fonts instantly. 2. Add font-display:swap to custom fonts to show text sooner: • If you’re self-hosting your own web fonts, @font-face { font-display: swap; font-family: 'PT Sans’; …} • If you’re using Google’s Web Fonts: 3. Remove all not required fonts. Performance Impact Implementation Effort Low Low

Slide 53

Slide 53 text

@manu_madeddu 54 4. Measuring & Monitoring Core Web Vitals Preconnect/prefetch tracking scripts, defer the others Impact • When files block the main thread, users are unable to interact with the page content. Recommendation 1. Defer or use fetchpriority=“low” for requests that are not critical 2. For specific tracking script, you can use preconnect: 3. For tag manager, use preload + prefetch: Performance Impact Implementation Effort Medium Medium

Slide 54

Slide 54 text

@manu_madeddu 55 Deferring or Using Async for Render Blocking Resources Impact: • Webpage components will propagate faster • Fewer instances where nothing is happening on the screen. Recommendations: • Inline critical CSS • Defer non-critical JavaScript and CSS files to the bottom of the page. • Implement async tags for JavaScript files that have not been deferred. SYNCHORONOUS LOADING ASYNCHORONOUS LOADING Performance Impact Implementation Effort High High

Slide 55

Slide 55 text

@manu_madeddu 56 4. Measuring & Monitoring Core Web Vitals Organise Requests Priority 1. Add a preload call in the for critical requests or adding an async for lower priority ones: 2. Defer low priority scripts that can be loaded after the parsing of the page: 3. Use fetchpriority=“high” for higher priority scripts, fetchpriority=“low” for low priority scripts. Performance Impact Implementation Effort Medium High

Slide 56

Slide 56 text

@manu_madeddu 57 5. Workshop: hands-on CWV Analysis @manu_madeddu

Slide 57

Slide 57 text

@manu_madeddu 58 6. Workshop Perform a brief web performance analysis https://drive.google.com/drive/u/0/folders/1HjVAmyJY5x167QzLIlKYYRGn_A3lErCL Time to have fun!

Slide 58

Slide 58 text

@manu_madeddu 59 6. Workshop

Slide 59

Slide 59 text

@manu_madeddu 60 6. Workshop Slide 1 : PageSpeed Performance Score/Page Weight vs Competitors 1. Use https://www.experte.com/pagespeed bulk test 2. Add 4 URLs: 1 main website and 2 competitors 3. Run the tool 4. Export the Excel and Use the Google Sheets in the shared folder, tab 1 to copy/paste data and generate the graph for the slide 5. Update slide 1 of the presentation

Slide 60

Slide 60 text

@manu_madeddu 61 6. Workshop

Slide 61

Slide 61 text

@manu_madeddu 62 6. Workshop Slide 2 : Sustainability Impact 1. Use https://www.websitecarbon.com/ 2. Use your main website URL 3. Run the tool 4. Update Slide 2 with the relevant data

Slide 62

Slide 62 text

@manu_madeddu 63 6. Workshop

Slide 63

Slide 63 text

@manu_madeddu 64 6. Workshop Slide 3 : Core Web Vitals Comparison 1. Use the core web vital results previously exported https://www.experte.com/pagespe ed 2. Use the 2nd tab of the Shared Google Sheet to get the updated table and graphs for slide 3 3. Update the table on slide 4 with identifies opportunities

Slide 64

Slide 64 text

@manu_madeddu 65 6. Workshop

Slide 65

Slide 65 text

@manu_madeddu 66 6. Workshop Slide 4 : Opportunities 1. Use Page speed insights or Webpage test to identify opportunities to improve the worst performing metric from previous comparison • https://www.webpagetest.org/ • https://pagespeed.web.dev 2. Update slide 4 with data and short takeaways

Slide 66

Slide 66 text

@manu_madeddu 67 6. Workshop

Slide 67

Slide 67 text

@manu_madeddu 68 6. Workshop It’s your turn to shine! [email protected]

Slide 68

Slide 68 text

@manu_madeddu 69 6. Future of Core Web Vitals & UX @manu_madeddu

Slide 69

Slide 69 text

@manu_madeddu 70 6. Future of Core Web Vitals & UX • Google’s Core Web Vitals introduced a baseline for evaluating user experience. • New metrics may focus on: - task completion time, - user interaction predictability, - AI-driven customization of the user experience. • The focus will shift from simply measuring page load to tracking user satisfaction as they navigate and interact with complex web apps. What’s Next in the Evolution of Web Performance Metrics Page Load User Satisfaction Customised Navigation Customised Content AI Chat

Slide 70

Slide 70 text

@manu_madeddu 71 6. Future of Core Web Vitals & UX To stay ahead, web developers should: • adopt progressive web app (PWA) standards • optimize for next-gen performance (e.g., HTTP/3, image formats like webp, AVIF) • proactively monitor user experience Preparing for Upcoming Changes & Google’s Future Algorithm Updates

Slide 71

Slide 71 text

@manu_madeddu 72 7. Takeaways @manu_madeddu

Slide 72

Slide 72 text

@manu_madeddu 73 7. Takeaways 1. Web Vitals Are Crucial for User Experience A positive user experience translates into: • higher engagement, • lower bounce rates, • better SEO performance.

Slide 73

Slide 73 text

@manu_madeddu 74 7. Takeaways 2. Performance Metrics Directly Affect Rankings Ignoring them can lead to drops in search rankings & traffic.

Slide 74

Slide 74 text

@manu_madeddu 75 7. Takeaways 3. Continuous Monitoring is Key • Performance is an ongoing process. • Proactively monitor user experience. • Regularly optimize & ensure your site performs well in real-world conditions.

Slide 75

Slide 75 text

@manu_madeddu 76 THANK YOU! https://speakerdeck.com/manuelmadeddu