SlideShare a Scribd company logo
1 of 51
Download to read offline
Lisbon SEO Meetup @LoukilAymen
Web Vitals are vitals
Lisbon SEO Meetup @LoukilAymen
Aymen Loukil
International SEO Consultant
#TechnicalSEO #webperf
https://www.aymen-loukil.com
@LoukilAymen
Lisbon SEO Meetup @LoukilAymen
Lisbon SEO Meetup @LoukilAymen
37% of
shipped
JavaScript is
unused!
Lisbon SEO Meetup @LoukilAymen
The web is
suffering
Lisbon SEO Meetup @LoukilAymen
So your
users/business
too..
Lisbon SEO Meetup @LoukilAymen
Stress increases by 50% when websites are slower
2010 behavioural analysis study
Lisbon SEO Meetup @LoukilAymen
Alpha waves depressed by half
Un-throttled website EEG Throttled website EEG
Lisbon SEO Meetup @LoukilAymen
Low performance can
seriously undermine
brand health,
reputation and value
Lisbon SEO Meetup @LoukilAymen
Read more on simonhearne.com/2021/web-stress/
Lisbon SEO Meetup @LoukilAymen
We must all work to improve the Web experience
developers Product
Owners
Marketing Designers SEOs Webmasters Site owners
Hosting and
cloud
providers
Web
browsers
Smartphones
brands
Legal experts CEOs Frameworks
builders
Search
engines
Ads networks Internet
providers
QA analysts Grandma Governments NGOs Web
consortiums
Lisbon SEO Meetup @LoukilAymen
But...
Lisbon SEO Meetup @LoukilAymen
Lisbon SEO Meetup @LoukilAymen
There are more than 5246 metrics !
Lisbon SEO Meetup @LoukilAymen
Google tries to make things simpler..
Lisbon SEO Meetup @LoukilAymen
Benefits of this simplification
● Unified target metrics
● Unified guidance
● Same basis of evaluation
● A basic representation of a user experience
Lisbon SEO Meetup @LoukilAymen
How to measure Web Vitals
Lab tools Field tools
Lisbon SEO Meetup @LoukilAymen
How to measure Web Vitals
Lab tools Field tools
Good for debugging and measuring
performance on controlled
environments.
But don’t reflect what real users are
facing in real life.
Excellent to capture real-life user
experience.
Should confirm/deny the trend seen
on lab tools.
But is not suitable for debugging
performance issues
Lisbon SEO Meetup @LoukilAymen
Largest Contentful Paint
“Supposed” to measure, when the largest
element (most important) is displayed.
#Loading
Lisbon SEO Meetup @LoukilAymen
How to optimize LCP
Lisbon SEO Meetup @LoukilAymen
What’s your current LCP? [With Google Lighthouse]
Lisbon SEO Meetup @LoukilAymen
What’s your current LCP? [With DevTools Performance]
Lisbon SEO Meetup @LoukilAymen
A GDPR consent banner as LCP!?
Lisbon SEO Meetup @LoukilAymen
Master your LCP element for each page type/template
Lisbon SEO Meetup @LoukilAymen
Optimize LCP
● Optimize Time To First Byte (server response time)
○ Slow server = slow everything
● Reduce transfer size of resources
○ Delete is not used!
○ Compress
○ Minify
○ Srcset for images
● Prioritize of the LCP element resources
○ Image? preload it
○ Font? preload it
○ Need CSS? Inline the critical part
Lisbon SEO Meetup @LoukilAymen
First Input Delay
Measures the delay, user is facing when
interacts with the web page
#Interactivity
Lisbon SEO Meetup @LoukilAymen
First Input Delay
It is measured for these interactions:
● Text fields (forms)
● Checkboxes / radio buttons
● Select dropdowns
● Links (a href)
● Interactions behind event listener
=> 99% of what a user want first to do on a
page!
Lisbon SEO Meetup @LoukilAymen
image credit Chenay Tsai, Demian Renzulli
First Input Delay
Lisbon SEO Meetup @LoukilAymen
Since it needs interaction
to be measured,
it is a field-only metric.
Lisbon SEO Meetup @LoukilAymen
Interactivity in the lab Interactivity in the field
TBT FID
Total Blocking Time First Input Delay
GOOD POOR
300 ms
The sum of the extra times of all the long tasks
(>50 ms on the main thread)
The delay user got when interacting with the
page
2 metrics for interactivity
Lisbon SEO Meetup @LoukilAymen
Long tasks, chase em all!
Lisbon SEO Meetup @LoukilAymen
Optimize TBT/FID
● Remove unused JavaScript code
○ unused libraries
○ replace with native code
○ Split your code per page type
○ Send smaller chunks
● Defer non critical JavaScript code
○ Load the needed code at the needed time
● Release the main thread
○ Refactor long tasks into smaller ones
○ Delegate code to a Service Worker
● Be careful of 3rd-parties
Lisbon SEO Meetup @LoukilAymen
Cumulative Layout Shift
Assesses the visual stability of the web page
during loading.
Elements are loaded asynchronously, those
who arrive late move the previous ones.
Lisbon SEO Meetup @LoukilAymen
Shifting elements
Lisbon SEO Meetup @LoukilAymen
Shifting elements
Lisbon SEO Meetup @LoukilAymen
Reduce CLS
● Specify the sizes of elements
○ Images
○ Videos
○ Embeds/iframes
○ Ads and banners
● Reserve required space for elements
○ Check CSS aspect-ratio property
● Don’t dynamically inject content without user interaction
● Prefer transform for animations
● Make sure your fonts are loading fast
○ Preload + font-display:optional
Lisbon SEO Meetup @LoukilAymen
Lisbon SEO Meetup @LoukilAymen
How to proceed?
Lisbon SEO Meetup @LoukilAymen
Web Vitals optimization workflow
Audit in lab / field
Identify issues
per page type
List optimizations
per page type
Implement & test
in lab
Write atomic and
clear User Stories
Go live
See the impact in
the field
Repeat and
iterate!
Lisbon SEO Meetup @LoukilAymen
How to Web Vitals optimization workflow
Audit in lab / field
Identify issues
per page type
List optimizations
per page type
Implement & test
in lab
Write atomic and
clear User Stories
Go live
See the impact in
the field
Repeat and
iterate!
Tools: Lighthouse, WPT, PSI,
DevTools, Search Console report
Lighthouse CI Dashboard:
g.co/chromeuxdash
One optimization at a
time!
Incremental
improvements
Lisbon SEO Meetup @LoukilAymen
#CWV Frequently Asked Questions
Lisbon SEO Meetup @LoukilAymen
Core Web Vitals SEO impact ?
● Tiny impact
● Will evolve and become more
important over time
My opinion: it depends on where you
are going from!
Lisbon SEO Meetup @LoukilAymen
Sites aren’t going to disappear because they are slow
My opinion: Unless your website is really really slow..
Lisbon SEO Meetup @LoukilAymen
What’s the weighting of each metric?
https://googlechrome.github.io/lighthouse/scorecalc/
Lisbon SEO Meetup @LoukilAymen
Metrics will evolve
CLS needs improvement and will have more
weight
Lisbon SEO Meetup @LoukilAymen
What is the easiest metric to pass?
Only 1% of mobile sessions
have poor FID.
From top 1k websites, CRuX data
Lisbon SEO Meetup @LoukilAymen
And the most tricky?
CLS is problematic. Only 40%
of sessions have good one!
From top 1k websites, CRuX data
Lisbon SEO Meetup @LoukilAymen
What about the scope of tracked pages?
Everything except non public domaines:
- Behind login pages!
- Noindex(ed) pages!
- Robotted pages!
=> Another proof that Web VItals are mainly for the user experience and they go
beyond the SEO scope
TIP: Pay attention to your URL structure (logged/non-logged)
Lisbon SEO Meetup @LoukilAymen
Final thoughts
● Web Vitals are user-centric metrics
● What’s good for users, good for SEO
● It is just the beginning of an exciting #webperf journey
● Don’t panic, iterate small wins for the long run
● A good UX is vital for healthy business
Lisbon SEO Meetup @LoukilAymen
Web Performance Recipes
A weekly #webperf newsletter
My upcoming book
Subscribe here:
https://webperformance.recipes/
Lisbon SEO Meetup @LoukilAymen
Thank you!
@LoukilAymen
https://www.aymen-loukil.com

More Related Content

What's hot

What's hot (20)

Introduction core web vitals
Introduction core web vitalsIntroduction core web vitals
Introduction core web vitals
 
Core Web Vitals: Google New Ranking Factor
Core Web Vitals: Google New Ranking FactorCore Web Vitals: Google New Ranking Factor
Core Web Vitals: Google New Ranking Factor
 
Core Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay AttentionCore Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay Attention
 
Technical SEO
Technical SEOTechnical SEO
Technical SEO
 
SEO Project - Case Study
SEO Project - Case StudySEO Project - Case Study
SEO Project - Case Study
 
Seo report [template]
Seo report [template]Seo report [template]
Seo report [template]
 
SEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO Tutorial
SEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO TutorialSEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO Tutorial
SEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO Tutorial
 
Brighton SEO Autumn 2021: Core Web Vitals: Loopholes, Flaws, and Endless Delays
Brighton SEO Autumn 2021: Core Web Vitals: Loopholes, Flaws, and Endless DelaysBrighton SEO Autumn 2021: Core Web Vitals: Loopholes, Flaws, and Endless Delays
Brighton SEO Autumn 2021: Core Web Vitals: Loopholes, Flaws, and Endless Delays
 
SEO - a brief introduction
SEO - a brief introductionSEO - a brief introduction
SEO - a brief introduction
 
Crafting an SEO Strategy That WORKS [Case Study]
Crafting an SEO Strategy That WORKS [Case Study]Crafting an SEO Strategy That WORKS [Case Study]
Crafting an SEO Strategy That WORKS [Case Study]
 
[MozCon 2019] Fixing the Indexability Challenge: A Data-Based Framework
[MozCon 2019]  Fixing the Indexability Challenge: A Data-Based Framework[MozCon 2019]  Fixing the Indexability Challenge: A Data-Based Framework
[MozCon 2019] Fixing the Indexability Challenge: A Data-Based Framework
 
Google Search Console
Google Search ConsoleGoogle Search Console
Google Search Console
 
The Technical SEO Renaissance
The Technical SEO RenaissanceThe Technical SEO Renaissance
The Technical SEO Renaissance
 
Seo
SeoSeo
Seo
 
Mastering GA4: How To Use The New Google Analytics Like A Pro
 Mastering GA4: How To Use The New Google Analytics Like A Pro Mastering GA4: How To Use The New Google Analytics Like A Pro
Mastering GA4: How To Use The New Google Analytics Like A Pro
 
How Does Organic SEO Work?
How Does Organic SEO Work?How Does Organic SEO Work?
How Does Organic SEO Work?
 
On-Page SEO Techniques for 2022
On-Page SEO Techniques for 2022On-Page SEO Techniques for 2022
On-Page SEO Techniques for 2022
 
Creative Seo Proposal
Creative Seo ProposalCreative Seo Proposal
Creative Seo Proposal
 
Introduction to Google Search Console
Introduction to Google Search ConsoleIntroduction to Google Search Console
Introduction to Google Search Console
 
How We Built 1,000+ Links Per Month With This 6-Month Sprint.
How We Built 1,000+ Links Per Month With This 6-Month Sprint.How We Built 1,000+ Links Per Month With This 6-Month Sprint.
How We Built 1,000+ Links Per Month With This 6-Month Sprint.
 

Similar to Web vitals are vitals - Aymen Loukil

Similar to Web vitals are vitals - Aymen Loukil (20)

How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...
How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...
How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...
 
How to scale SEO work NOBODY wants to do (including your competitors) to rapi...
How to scale SEO work NOBODY wants to do (including your competitors) to rapi...How to scale SEO work NOBODY wants to do (including your competitors) to rapi...
How to scale SEO work NOBODY wants to do (including your competitors) to rapi...
 
Javascript & SEO 2019
Javascript & SEO 2019Javascript & SEO 2019
Javascript & SEO 2019
 
From Pandalized to Panda Loved
From Pandalized to Panda LovedFrom Pandalized to Panda Loved
From Pandalized to Panda Loved
 
Web Analytics: Data driven marketing decisions
Web Analytics: Data driven marketing decisionsWeb Analytics: Data driven marketing decisions
Web Analytics: Data driven marketing decisions
 
Village Workshop - Modern SEO
Village Workshop - Modern SEOVillage Workshop - Modern SEO
Village Workshop - Modern SEO
 
Flash Web Designs.pdf
Flash Web Designs.pdfFlash Web Designs.pdf
Flash Web Designs.pdf
 
Everything You Need to Know About Your Next Website Redesign from Inbound 2014
Everything You Need to Know About Your Next Website Redesign from Inbound 2014Everything You Need to Know About Your Next Website Redesign from Inbound 2014
Everything You Need to Know About Your Next Website Redesign from Inbound 2014
 
HTML5 in Plain English: What it means for SharePoint and Your Organization
HTML5 in Plain English: What it means for SharePoint and Your OrganizationHTML5 in Plain English: What it means for SharePoint and Your Organization
HTML5 in Plain English: What it means for SharePoint and Your Organization
 
Demand Quest SEO Training Sept. 2017 - Session 1
Demand Quest SEO Training Sept. 2017 - Session 1Demand Quest SEO Training Sept. 2017 - Session 1
Demand Quest SEO Training Sept. 2017 - Session 1
 
Keynote SharePoint Community Conference 10 Steps to Successful Deployment (NZ...
Keynote SharePoint Community Conference 10 Steps to Successful Deployment (NZ...Keynote SharePoint Community Conference 10 Steps to Successful Deployment (NZ...
Keynote SharePoint Community Conference 10 Steps to Successful Deployment (NZ...
 
SEO basics.pptx
SEO basics.pptxSEO basics.pptx
SEO basics.pptx
 
SEO basics.pptx
SEO basics.pptxSEO basics.pptx
SEO basics.pptx
 
How to Optimize Your Business Website for the Holiday Season
How to Optimize Your Business Website for the Holiday SeasonHow to Optimize Your Business Website for the Holiday Season
How to Optimize Your Business Website for the Holiday Season
 
Confused CMS Presentation - Internet World London 2011 #iwexpo. Delivered on...
Confused CMS Presentation - Internet World London 2011 #iwexpo.  Delivered on...Confused CMS Presentation - Internet World London 2011 #iwexpo.  Delivered on...
Confused CMS Presentation - Internet World London 2011 #iwexpo. Delivered on...
 
Do CTR's Really Affect Organic Rankings?
Do CTR's Really Affect Organic Rankings?Do CTR's Really Affect Organic Rankings?
Do CTR's Really Affect Organic Rankings?
 
Demand quest SEO training Session 1 May 2017
Demand quest SEO training Session 1 May 2017Demand quest SEO training Session 1 May 2017
Demand quest SEO training Session 1 May 2017
 
L’importance du crawl du JavaScript : pourquoi, comment et pour quels bénéfic...
L’importance du crawl du JavaScript : pourquoi, comment et pour quels bénéfic...L’importance du crawl du JavaScript : pourquoi, comment et pour quels bénéfic...
L’importance du crawl du JavaScript : pourquoi, comment et pour quels bénéfic...
 
Technical SEO - Tea-Time SEO' Series of Daily SEO Live Talks
Technical SEO - Tea-Time SEO' Series of Daily SEO Live TalksTechnical SEO - Tea-Time SEO' Series of Daily SEO Live Talks
Technical SEO - Tea-Time SEO' Series of Daily SEO Live Talks
 
Digital marketing & SEO
Digital marketing & SEODigital marketing & SEO
Digital marketing & SEO
 

More from Aymen Loukil

More from Aymen Loukil (15)

Reussir les signaux web essentiels (Web Vitals) - Search Y
Reussir les signaux web essentiels (Web Vitals) - Search YReussir les signaux web essentiels (Web Vitals) - Search Y
Reussir les signaux web essentiels (Web Vitals) - Search Y
 
Structured Data for Covid-19 - WebZurich
Structured Data for Covid-19 - WebZurichStructured Data for Covid-19 - WebZurich
Structured Data for Covid-19 - WebZurich
 
Sujet et monitoring SEO 2020 - Aymen Loukil Search Y 2020
Sujet et monitoring SEO 2020  - Aymen Loukil Search Y 2020Sujet et monitoring SEO 2020  - Aymen Loukil Search Y 2020
Sujet et monitoring SEO 2020 - Aymen Loukil Search Y 2020
 
Donnees structurees pour le seo seo camp day lille 2020
Donnees structurees pour le seo   seo camp day lille 2020Donnees structurees pour le seo   seo camp day lille 2020
Donnees structurees pour le seo seo camp day lille 2020
 
Profiter de Google Discover - SEO Camp Day Lorraine 2019
Profiter de Google Discover  - SEO Camp Day Lorraine 2019Profiter de Google Discover  - SEO Camp Day Lorraine 2019
Profiter de Google Discover - SEO Camp Day Lorraine 2019
 
Lighthouse custom audits - London Web Performance 2019
Lighthouse custom audits -  London Web Performance 2019Lighthouse custom audits -  London Web Performance 2019
Lighthouse custom audits - London Web Performance 2019
 
Performance web - Optez pour une approche qui marche
Performance web - Optez pour une approche qui marchePerformance web - Optez pour une approche qui marche
Performance web - Optez pour une approche qui marche
 
20 quick wins to improve your website speed
20 quick wins to improve your website speed20 quick wins to improve your website speed
20 quick wins to improve your website speed
 
Quick-wins pour accélérer son site web - seo camp day lorraine 2018
Quick-wins pour accélérer son site web - seo camp day lorraine 2018Quick-wins pour accélérer son site web - seo camp day lorraine 2018
Quick-wins pour accélérer son site web - seo camp day lorraine 2018
 
Performance web #perfmatters - Tuniseo 2018
Performance web #perfmatters - Tuniseo 2018Performance web #perfmatters - Tuniseo 2018
Performance web #perfmatters - Tuniseo 2018
 
Améliorez la vitesse de chargement de votre site - Webisland 2018
Améliorez la vitesse de chargement de votre site - Webisland 2018Améliorez la vitesse de chargement de votre site - Webisland 2018
Améliorez la vitesse de chargement de votre site - Webisland 2018
 
Technical seo tips and tricks actionnables 2018
Technical seo tips and tricks actionnables 2018Technical seo tips and tricks actionnables 2018
Technical seo tips and tricks actionnables 2018
 
SEO pour les développeurs - eléments essentiels et bonnes pratiques
SEO pour les développeurs - eléments essentiels et bonnes pratiquesSEO pour les développeurs - eléments essentiels et bonnes pratiques
SEO pour les développeurs - eléments essentiels et bonnes pratiques
 
Knowledge Graph et comment en tirer profit pour le SEO
Knowledge Graph et comment en tirer profit pour le SEOKnowledge Graph et comment en tirer profit pour le SEO
Knowledge Graph et comment en tirer profit pour le SEO
 
Les éléments essentiels du seo technique - Tuniseo
Les éléments essentiels du seo technique - TuniseoLes éléments essentiels du seo technique - Tuniseo
Les éléments essentiels du seo technique - Tuniseo
 

Recently uploaded

The 100x Factor Growth with AI - Susan Diaz
The 100x Factor  Growth with AI - Susan DiazThe 100x Factor  Growth with AI - Susan Diaz
Brand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdfBrand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdf
tbatkhuu1
 

Recently uploaded (20)

personal branding kit for music business
personal branding kit for music businesspersonal branding kit for music business
personal branding kit for music business
 
Foundation First - Why Your Website and Content Matters - David Pisarek
Foundation First - Why Your Website and Content Matters - David PisarekFoundation First - Why Your Website and Content Matters - David Pisarek
Foundation First - Why Your Website and Content Matters - David Pisarek
 
W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...
 
The+State+of+Careers+In+Retention+Marketing-2.pdf
The+State+of+Careers+In+Retention+Marketing-2.pdfThe+State+of+Careers+In+Retention+Marketing-2.pdf
The+State+of+Careers+In+Retention+Marketing-2.pdf
 
The Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfThe Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdf
 
The 100x Factor Growth with AI - Susan Diaz
The 100x Factor  Growth with AI - Susan DiazThe 100x Factor  Growth with AI - Susan Diaz
The 100x Factor Growth with AI - Susan Diaz
 
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
 
Generative AI Content Creation - Andrew Jenkins
Generative AI Content Creation - Andrew JenkinsGenerative AI Content Creation - Andrew Jenkins
Generative AI Content Creation - Andrew Jenkins
 
Pillar-Based Marketing Master Class - Ryan Brock
Pillar-Based Marketing Master Class - Ryan BrockPillar-Based Marketing Master Class - Ryan Brock
Pillar-Based Marketing Master Class - Ryan Brock
 
How to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail SuccessHow to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail Success
 
Major SEO Trends in 2024 - Banyanbrain Digital
Major SEO Trends in 2024 - Banyanbrain DigitalMajor SEO Trends in 2024 - Banyanbrain Digital
Major SEO Trends in 2024 - Banyanbrain Digital
 
Social media, ppt. Features, characteristics
Social media, ppt. Features, characteristicsSocial media, ppt. Features, characteristics
Social media, ppt. Features, characteristics
 
What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?
 
Labour Day Celebrating Workers and Their Contributions.pptx
Labour Day Celebrating Workers and Their Contributions.pptxLabour Day Celebrating Workers and Their Contributions.pptx
Labour Day Celebrating Workers and Their Contributions.pptx
 
Brand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdfBrand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdf
 
How to utilize calculated properties in your HubSpot setups
How to utilize calculated properties in your HubSpot setupsHow to utilize calculated properties in your HubSpot setups
How to utilize calculated properties in your HubSpot setups
 
SEO Master Class - Steve Wiideman, Wiideman Consulting Group
SEO Master Class - Steve Wiideman, Wiideman Consulting GroupSEO Master Class - Steve Wiideman, Wiideman Consulting Group
SEO Master Class - Steve Wiideman, Wiideman Consulting Group
 
Brand Strategy Master Class - Juntae DeLane
Brand Strategy Master Class - Juntae DeLaneBrand Strategy Master Class - Juntae DeLane
Brand Strategy Master Class - Juntae DeLane
 
Unlocking the Mystery of the Voynich Manuscript
Unlocking the Mystery of the Voynich ManuscriptUnlocking the Mystery of the Voynich Manuscript
Unlocking the Mystery of the Voynich Manuscript
 
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
 

Web vitals are vitals - Aymen Loukil

  • 1. Lisbon SEO Meetup @LoukilAymen Web Vitals are vitals
  • 2. Lisbon SEO Meetup @LoukilAymen Aymen Loukil International SEO Consultant #TechnicalSEO #webperf https://www.aymen-loukil.com @LoukilAymen
  • 3. Lisbon SEO Meetup @LoukilAymen
  • 4. Lisbon SEO Meetup @LoukilAymen 37% of shipped JavaScript is unused!
  • 5. Lisbon SEO Meetup @LoukilAymen The web is suffering
  • 6. Lisbon SEO Meetup @LoukilAymen So your users/business too..
  • 7. Lisbon SEO Meetup @LoukilAymen Stress increases by 50% when websites are slower 2010 behavioural analysis study
  • 8. Lisbon SEO Meetup @LoukilAymen Alpha waves depressed by half Un-throttled website EEG Throttled website EEG
  • 9. Lisbon SEO Meetup @LoukilAymen Low performance can seriously undermine brand health, reputation and value
  • 10. Lisbon SEO Meetup @LoukilAymen Read more on simonhearne.com/2021/web-stress/
  • 11. Lisbon SEO Meetup @LoukilAymen We must all work to improve the Web experience developers Product Owners Marketing Designers SEOs Webmasters Site owners Hosting and cloud providers Web browsers Smartphones brands Legal experts CEOs Frameworks builders Search engines Ads networks Internet providers QA analysts Grandma Governments NGOs Web consortiums
  • 12. Lisbon SEO Meetup @LoukilAymen But...
  • 13. Lisbon SEO Meetup @LoukilAymen
  • 14. Lisbon SEO Meetup @LoukilAymen There are more than 5246 metrics !
  • 15. Lisbon SEO Meetup @LoukilAymen Google tries to make things simpler..
  • 16. Lisbon SEO Meetup @LoukilAymen Benefits of this simplification ● Unified target metrics ● Unified guidance ● Same basis of evaluation ● A basic representation of a user experience
  • 17. Lisbon SEO Meetup @LoukilAymen How to measure Web Vitals Lab tools Field tools
  • 18. Lisbon SEO Meetup @LoukilAymen How to measure Web Vitals Lab tools Field tools Good for debugging and measuring performance on controlled environments. But don’t reflect what real users are facing in real life. Excellent to capture real-life user experience. Should confirm/deny the trend seen on lab tools. But is not suitable for debugging performance issues
  • 19. Lisbon SEO Meetup @LoukilAymen Largest Contentful Paint “Supposed” to measure, when the largest element (most important) is displayed. #Loading
  • 20. Lisbon SEO Meetup @LoukilAymen How to optimize LCP
  • 21. Lisbon SEO Meetup @LoukilAymen What’s your current LCP? [With Google Lighthouse]
  • 22. Lisbon SEO Meetup @LoukilAymen What’s your current LCP? [With DevTools Performance]
  • 23. Lisbon SEO Meetup @LoukilAymen A GDPR consent banner as LCP!?
  • 24. Lisbon SEO Meetup @LoukilAymen Master your LCP element for each page type/template
  • 25. Lisbon SEO Meetup @LoukilAymen Optimize LCP ● Optimize Time To First Byte (server response time) ○ Slow server = slow everything ● Reduce transfer size of resources ○ Delete is not used! ○ Compress ○ Minify ○ Srcset for images ● Prioritize of the LCP element resources ○ Image? preload it ○ Font? preload it ○ Need CSS? Inline the critical part
  • 26. Lisbon SEO Meetup @LoukilAymen First Input Delay Measures the delay, user is facing when interacts with the web page #Interactivity
  • 27. Lisbon SEO Meetup @LoukilAymen First Input Delay It is measured for these interactions: ● Text fields (forms) ● Checkboxes / radio buttons ● Select dropdowns ● Links (a href) ● Interactions behind event listener => 99% of what a user want first to do on a page!
  • 28. Lisbon SEO Meetup @LoukilAymen image credit Chenay Tsai, Demian Renzulli First Input Delay
  • 29. Lisbon SEO Meetup @LoukilAymen Since it needs interaction to be measured, it is a field-only metric.
  • 30. Lisbon SEO Meetup @LoukilAymen Interactivity in the lab Interactivity in the field TBT FID Total Blocking Time First Input Delay GOOD POOR 300 ms The sum of the extra times of all the long tasks (>50 ms on the main thread) The delay user got when interacting with the page 2 metrics for interactivity
  • 31. Lisbon SEO Meetup @LoukilAymen Long tasks, chase em all!
  • 32. Lisbon SEO Meetup @LoukilAymen Optimize TBT/FID ● Remove unused JavaScript code ○ unused libraries ○ replace with native code ○ Split your code per page type ○ Send smaller chunks ● Defer non critical JavaScript code ○ Load the needed code at the needed time ● Release the main thread ○ Refactor long tasks into smaller ones ○ Delegate code to a Service Worker ● Be careful of 3rd-parties
  • 33. Lisbon SEO Meetup @LoukilAymen Cumulative Layout Shift Assesses the visual stability of the web page during loading. Elements are loaded asynchronously, those who arrive late move the previous ones.
  • 34. Lisbon SEO Meetup @LoukilAymen Shifting elements
  • 35. Lisbon SEO Meetup @LoukilAymen Shifting elements
  • 36. Lisbon SEO Meetup @LoukilAymen Reduce CLS ● Specify the sizes of elements ○ Images ○ Videos ○ Embeds/iframes ○ Ads and banners ● Reserve required space for elements ○ Check CSS aspect-ratio property ● Don’t dynamically inject content without user interaction ● Prefer transform for animations ● Make sure your fonts are loading fast ○ Preload + font-display:optional
  • 37. Lisbon SEO Meetup @LoukilAymen
  • 38. Lisbon SEO Meetup @LoukilAymen How to proceed?
  • 39. Lisbon SEO Meetup @LoukilAymen Web Vitals optimization workflow Audit in lab / field Identify issues per page type List optimizations per page type Implement & test in lab Write atomic and clear User Stories Go live See the impact in the field Repeat and iterate!
  • 40. Lisbon SEO Meetup @LoukilAymen How to Web Vitals optimization workflow Audit in lab / field Identify issues per page type List optimizations per page type Implement & test in lab Write atomic and clear User Stories Go live See the impact in the field Repeat and iterate! Tools: Lighthouse, WPT, PSI, DevTools, Search Console report Lighthouse CI Dashboard: g.co/chromeuxdash One optimization at a time! Incremental improvements
  • 41. Lisbon SEO Meetup @LoukilAymen #CWV Frequently Asked Questions
  • 42. Lisbon SEO Meetup @LoukilAymen Core Web Vitals SEO impact ? ● Tiny impact ● Will evolve and become more important over time My opinion: it depends on where you are going from!
  • 43. Lisbon SEO Meetup @LoukilAymen Sites aren’t going to disappear because they are slow My opinion: Unless your website is really really slow..
  • 44. Lisbon SEO Meetup @LoukilAymen What’s the weighting of each metric? https://googlechrome.github.io/lighthouse/scorecalc/
  • 45. Lisbon SEO Meetup @LoukilAymen Metrics will evolve CLS needs improvement and will have more weight
  • 46. Lisbon SEO Meetup @LoukilAymen What is the easiest metric to pass? Only 1% of mobile sessions have poor FID. From top 1k websites, CRuX data
  • 47. Lisbon SEO Meetup @LoukilAymen And the most tricky? CLS is problematic. Only 40% of sessions have good one! From top 1k websites, CRuX data
  • 48. Lisbon SEO Meetup @LoukilAymen What about the scope of tracked pages? Everything except non public domaines: - Behind login pages! - Noindex(ed) pages! - Robotted pages! => Another proof that Web VItals are mainly for the user experience and they go beyond the SEO scope TIP: Pay attention to your URL structure (logged/non-logged)
  • 49. Lisbon SEO Meetup @LoukilAymen Final thoughts ● Web Vitals are user-centric metrics ● What’s good for users, good for SEO ● It is just the beginning of an exciting #webperf journey ● Don’t panic, iterate small wins for the long run ● A good UX is vital for healthy business
  • 50. Lisbon SEO Meetup @LoukilAymen Web Performance Recipes A weekly #webperf newsletter My upcoming book Subscribe here: https://webperformance.recipes/
  • 51. Lisbon SEO Meetup @LoukilAymen Thank you! @LoukilAymen https://www.aymen-loukil.com