Google Lighthouse is an essential tool in your workflow as a developer. Ensuring that your siteâs performance, accessibility, best practises and SEO scores are up to scratch is crucial in building great UX, retaining customers, and ranking well in search engines. But with an ever-expanding toolbox at our disposal in a fast-paced work environment, it can be tricky to keep on top of it all!
How many times have you forgotten to review your Google Lighthouse scores before youâve pushed out a new feature? If the answer is, âAt least once!â then youâre in good hands with Netlify. With the Lighthouse Scores Visualizations plugin, you can view your Google Lighthouse scores â per deploy â right there in the Netlify UI. Letâs turn it on.
And if youâre new to Lighthouse Scores, or want to learn more about how theyâre calculated, check out the Developerâs Intro to Core Web Vitals.
Install the Lighthouse Plugin to your site
Before we can enable the visualizations, we need to install the Lighthouse plugin. Skip this step if youâre already using it! Otherwise, navigate to Plugins and search for Lighthouse. Click Install.

Select the site to which youâd like to install the plugin, and confirm.

Youâll now see Google Lighthouse scores in the logs for each deploy, even if you donât activate the visualizations. But thatâs what weâre here for, right? đ
Activate the Lighthouse Scores Visualizations plugin in Netlify Labs
Click on your user avatar to open the settings menu, and click on Netlify Labs.

Scroll down to the Experimental features area, find Lighthouse Score Visualizations, and click Enable. Heads up! Each member of your team will need to activate this individually in Labs.

Next, kick off a deploy. When your build is complete, youâll see a new onPostBuild event from @netlify/plugin-lighthouse in the logs.

When your deploy is complete, scroll up, and youâll see your Google Lighthouse scores summary displayed beautifully at the top of the page! Never miss an unexpected score change again â even if you forget to check before you push. Amazing.

Further reading
Check out our documentation for further reading and information about extra features available to paid Netlify accounts. We have a lot planned for this feature and will be adding functionality regularly â but weâd also love to hear your thoughts! Please share your feedback about this experimental feature and tell us what you think. Happy Lighthousing! đ©đœâđ»
