How to improve Largest Contentful Paint for a better page experience

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 60

  • @DarinPirkey
    @DarinPirkey 2 года назад +11

    Not sure who this guy is, but keep him around. Well done video.

  • @mio...
    @mio... 2 года назад +4

    I watched this 22 minutes video for more than 2 hours. The best video on the topic by far! Thanks

    • @patrickkettner8398
      @patrickkettner8398 2 года назад +2

      So glad to hear!

    • @dannmarceau
      @dannmarceau 2 года назад +3

      That's pretty typical for me as well! I like to "understand."

    • @mio...
      @mio... 2 года назад +1

      @@dannmarceau to understand, and then i go to my 92 yo grandma to explain her LCP

  • @BBI-Brandboost
    @BBI-Brandboost 2 года назад +5

    A very informative video and is something we have been taking into consideration since Google implemented their page experience update.

  • @Theneerajrchandran
    @Theneerajrchandran 2 года назад +2

    Wow something I was in search for. 👍👍👍👍👏👏👏👏👏👏👏

    • @patrickkettner8398
      @patrickkettner8398 2 года назад

      Super glad it was useful! Please do let us know if you have any questions

  • @france976
    @france976 Год назад +1

    6:43 how to popup that window to search for core web vitals overlay?
    NVM I found it: F12 to open devtools, then CTRL+SHIFT+P to open the popup to type "core" into.

  • @dannmarceau
    @dannmarceau 2 года назад +2

    Thank you so much, these videos are great for newbies and dunder-heads such as myself, lol.

  • @henrihelvetica5835
    @henrihelvetica5835 2 года назад

    Thank you for using WebPageTest Patrick!

  • @PradeepSonawane8
    @PradeepSonawane8 2 года назад +7

    Great video, your way of explaining things is awesome! 👌

  • @taofeekjunaid1388
    @taofeekjunaid1388 Год назад

    Awesome. I really need to re-watch the video

  • @arinium
    @arinium 2 года назад +1

    Thanks a lot! A great video and a great way to explain things!

  • @Rafaelorenzoni
    @Rafaelorenzoni 2 года назад +1

    Thank's for the video!

  • @SarahThornburg
    @SarahThornburg 2 года назад +1

    Does anyone know how to set up the custom event to track the largest contentful paint in Analytics as he mentions at the very end?

    • @patrickkettner8398
      @patrickkettner8398 2 года назад

      lots of different ways to approach it, but once you have the value discussed starting at 5:55, you want to upload that to google analytics. You don't need to change anything in analytics to send that value, you can just send an Event hit using the Google Analytics js api (i.e. ga('send', {ec: 'Sarahs Web Vital Info', el: 'lcp', ev: THE_NUMBER_YOU_GOT_EARLIER})

  • @WickyDesign
    @WickyDesign 2 года назад +1

    Great video! Tons of useful information.

  • @NationFirstAlways-qp9xx
    @NationFirstAlways-qp9xx 2 года назад

    Sir, Are cache plugins in a CMS like WordPress, an efficient substitute for writing any code that can help lower our LCP? Warmest regards, Forever.

  • @franciscoisaacdominguezjua1975
    @franciscoisaacdominguezjua1975 11 месяцев назад

    Muchas gracias realmente necesario.

  • @user-ts4tz3jg5f
    @user-ts4tz3jg5f Год назад +1

    OMG that was great

  • @gaborom
    @gaborom 2 года назад

    I didn't think about creating a GA Event to measure LCP improvements before. I will search for info on how to implement it. Thanks!

  • @mizanulhasan6588
    @mizanulhasan6588 2 года назад +1

    Amazing

  • @Tony.Nguyen137
    @Tony.Nguyen137 6 месяцев назад

    @4:30„Whatever element had the highest number of seconds between the first byte and when it was painted is what is reported for the LCP..“ I was confused why lighthouse labels my heading, which is absolute centered on a hero image as the Largest Contentful Paint, and not the Hero image 😂. a ‚Aha‘ moment for me

  • @t1t1s29
    @t1t1s29 2 года назад +1

    I miss a real example with Chrome Dev Tools and write the exact code to solve LCP issues...

    • @patrickkettner8398
      @patrickkettner8398 2 года назад

      It’s difficult to give a universal solution to solve a problem that can be exposed in hundreds of thousands of different ways. If you share a URL with an issue, I would be more than happy to help debug!

  • @MistyMeanour
    @MistyMeanour 2 года назад +1

    Excellent video, thank you! May I ask what the software/interface is at the 17:26 mark?

  • @ib4112
    @ib4112 2 года назад +1

    Wow what an insight. Could you please tell us how we can use piece of JS code to measure LCP as you mentioned in video... Do we need to create GA event for i am bit lost if you can share an example how we can do that would be great.. at present i keep check on LCP using PageSpeed or GTMatrix etc.

    • @patrickkettner8398
      @patrickkettner8398 2 года назад +1

      Hi! Really depends on the infrastructure you are using, (v4 vs universal, etc). But in general, once you have the value discussed starting at 5:55, you want to upload that to google analytics. You don't _need_ to change anything in analytics to send that value, you can just send an Event hit using the Google Analytics js api (i.e. ga('send', {ec: 'Web Vital Info', el: 'lcp', ev: THE_NUMBER_YOU_GOT_EARLIER})

    • @ib4112
      @ib4112 2 года назад +1

      @@patrickkettner8398 Thanks Patrick, I use both version of GA on different websites. I will try it.

    • @ib4112
      @ib4112 2 года назад

      @@patrickkettner8398 I tried to implement this through GTM but it script generates error on multiple lines "This language feature is only supported for ECMASCRIPT_2015 mode or better: arrow function"... Sorry i am not a JS guys so but hard for me must be easy for other guys

    • @patrickkettner8398
      @patrickkettner8398 2 года назад +1

      ​@@ib4112 sorry about that - the arrow function is just a different syntax for writing a javascript function - i.e. "(FOO, BAR) => alert(BAR)" is the same as "function(FOO, BAR) { alert(BAR) }", just a bit nicer to write. You. can change the () => {} version to standard JS functions to get past that error. If you share a link to a code sample, I may be able to help more

    • @claudinejoly4265
      @claudinejoly4265 Год назад

      ​@@ib41121:06

  • @user-ic3yf5pm2q
    @user-ic3yf5pm2q Месяц назад

  • @user-ic3yf5pm2q
    @user-ic3yf5pm2q Месяц назад

    O K ครับ

  • @rickmorphe-vy1fy
    @rickmorphe-vy1fy 6 месяцев назад

    I got bim buzy 🎉🎉🎉❤

  • @love9891
    @love9891 Месяц назад

    Good morning

  • @Adrinslim
    @Adrinslim 2 года назад +2

    Adsense laughs

  • @MdmontuKhan-mm3ef
    @MdmontuKhan-mm3ef 10 месяцев назад +1

    Aarti Aarti

  • @Jennifercerisano
    @Jennifercerisano 2 месяца назад

    Stop it no certificate

  • @LEILAROSANE-jv3cr
    @LEILAROSANE-jv3cr 5 месяцев назад

    Tradução

  • @Jennifercerisano
    @Jennifercerisano 2 месяца назад

    1:30

  • @josephbwuzhere
    @josephbwuzhere 9 месяцев назад

    This is 2 years old and inaccurate now?

  • @YouMotorcycle
    @YouMotorcycle 2 года назад

    I was completely lost in the first twenty seconds of this video

    • @patrickkettner8398
      @patrickkettner8398 2 года назад +1

      Shoot! Really sorry about that - that information isn't really needed for the rest of the video :/. If you have any questions (including on the first 20 seconds!) please do leave em and I will be more than happy to help