sandywp / plugins / google-pagespeed-insights

Insights from Google PageSpeed

4.8 out of 5 stars. 4.8 28 reviews

Use Insights from Google PageSpeed to improve your site's performance, Core Web Vitals, search engine ranking and your visitors' browsing experience.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v5.0.0 10,000+ installs WP 6.6+ PHP 7.2+

your-sandbox.sandywp.com/wp-admin
Insights from Google PageSpeed running inside a SandyWP sandbox

What you get inside

6 screens
  • Overview: category scores, score trend, Performance distribution, lab metrics and top opportunities.

  • Reports list with trends, Core Web Vitals and category scores.

  • Page report with all categories, lab metrics, real-user data and score history.

  • Audits grouped by category, with estimated savings and WordPress tips.

  • Snapshot comparison.

  • Settings.

About this plugin

Google PageSpeed Insights is a tool that empowers you to make decisions that increase the performance of your website. Recommendations from Google PageSpeed are based upon current industry best practices for desktop and mobile web performance.

Through the addition of advanced data visualization, tagging, filtering, and snapshot technology, Insights from Google PageSpeed provides a comprehensive solution for any webmaster looking to increase their site performance, their search engine ranking, and their visitors’ browsing experience.

Version 5 brings the plugin up to date with the PageSpeed Insights you know from pagespeed.web.dev: every page now gets all Lighthouse scores and real-user Core Web Vitals, in a new and faster dashboard in wp-admin.

Detailed Page Reporting

Sort your page reports by their PageSpeed score to prioritize the largest areas of opportunity on your site. Page reports utilize easy to read visualizations that allow you to quickly focus in on the most important data to improve your site’s performance.

Each report lists the insights and diagnostics Google found, with the estimated savings, the resources involved and WordPress specific tips. You can also see the page’s score history, a screenshot and a filmstrip of how it loads.

Performance, Accessibility, Best Practices, SEO and AI Agents

Every page is scored in all five Lighthouse categories, the same ones you see on pagespeed.web.dev. Performance comes with the lab metrics behind it: Largest Contentful Paint, Total Blocking Time, Cumulative Layout Shift, First Contentful Paint and Speed Index.

The AI Agents category (Lighthouse “Agentic Browsing”) checks how well AI agents and answer engines can read and use your pages, for example whether you have a valid llms.txt file. Google still marks it as experimental.

Core Web Vitals from Real Users

When Google has enough Chrome UX Report data for a page or for your whole site, reports show how real visitors experienced it: LCP, INP and CLS, the share of good, average and poor visits, and whether the page passes the Core Web Vitals assessment.

Report Summaries

Report Summaries are a powerful and exclusive feature of Insights from Google PageSpeed. Summaries display your average scores, the largest areas for improvement across ALL reports, as well as your best and lowest performing pages. Report Summaries can be filtered to narrow results by: Pages, Posts, Categories, Custom URLs, and Custom Post Types.

Using Report Summaries allows you to ‘zoom out’ from the page level and better understand the big picture of your site’s performance. Charts show how your scores change over time and how many of your pages are good, need work or are poor.

Desktop and Mobile Page Reports

Best practices for site performance differ greatly between Desktop and Mobile device usage. Configure Insights from Google PageSpeed to generate Desktop reports, Mobile reports, or both!

Toggle back and forth between report types to see specific suggestions for improving the performance and experience on each platform.

Report Snapshots

The Report Snapshot tool builds on the power of Report Summaries, to provide historical “Point In Time” data about your website.

Take a snapshot of any Report Summary screen to store that data for future retrieval. Add comments to your snapshots to provide additional meaning, such as “Before Installing W3 Total Cache.” Additionally, filter a Report Summary before taking a Snapshot to save a summary of the filtered data.

Snapshot Comparison Tool

The Snapshot Comparison Tool is an amazing utility that lets you visualize side-by-side results from any two similar Report Snapshots.

Take a Report Snapshot before installing new plugins, or before implementing performance recommendations. Take another snapshot when you are finished and compare your results to measure the effect of your changes.

Add/Import Custom URLs

Easily add additional URLs for inclusion in PageSpeed Reports. Even add URLs for non-WordPress sites, even if they are not hosted on your server. URLs can be added manually, imported from a CSV file (such as a Search Console export), or you can upload a properly formatted XML sitemap to add multiple pages at once.

Custom URLs can be tagged and filtered in Report Summaries. Take Report Snapshots of your Custom URLs just like you would with any other report type.

Scheduled Report Checks

Configure Insights from Google PageSpeed to automatically recheck your site on a Daily, Weekly, Bi-Monthly, or Monthly basis.

With each scan, any new pages or posts will be discovered, and existing reports will be updated to reflect any changes to your site, as well as any changes in the PageSpeed recommendations.

Additional Languages

Translations are managed on translate.wordpress.org, and WordPress installs the one for your site’s language automatically. Thanks to the translators of earlier versions:

External services

This plugin connects to the following third-party service.

Google PageSpeed Insights API

Used to generate the reports shown by this plugin. Nothing is sent to this API until you enter your own Google API key.

  • What is sent: the URL of each page being checked, your Google API key, the report type (desktop or mobile), the report language and the Lighthouse categories to check.
  • When: every time a page is checked. This happens when you start a scan or recheck a report, after adding custom URLs or reactivating ignored URLs, and during scheduled scans if automatic rechecks are on. When you click “Check key” in the Settings, only the API key is sent, to confirm it works.
  • Endpoint: https://www.googleapis.com/pagespeedonline/v5/runPagespeed
  • Google APIs Terms of Service
  • Google Terms of Service
  • Google Privacy Policy

The charts in wp-admin are drawn by the plugin itself; no chart library is loaded from a third-party server.

The ShortPixel suggestion shown next to image audits is an affiliate link and is only loaded when you click it.

Questions

I entered my API key, but no reports show up.

  • Google needs to load each page to create its report, so your pages must be publicly accessible on the internet. Local and password protected sites can’t be checked; add public URLs under Custom URLs instead.
  • Check that the key is correct and that the “PageSpeed Insights API” is enabled for it in the Google Cloud Console.
  • Turn on “Log API errors” in Settings > Advanced and look at the logs after the next scan.

Scans stop before every page is checked.

  • Your server may be stopping the scan request. Raise “Maximum execution time” in Settings > Advanced.
  • Some hosts don’t allow that. In that case set “Maximum script run time”: the scan then restarts itself after that time. Start low (30 seconds) and raise it step by step.

The scan does not start.

Scans run in the background through a request from your site to itself (a “loopback” request). If a maintenance or “coming soon” mode, a plugin that requires a login for the whole site, or your host blocks that request, the plugin shows a warning after about 20 seconds. Tools > Site Health shows whether loopback requests work.

A page was added to Ignored URLs.

Google could not load it. Make sure the page is public, then click “Reactivate” on the Ignored screen to try again. You can also test the page at pagespeed.web.dev.

Why are my scores lower than on pagespeed.web.dev?

Lab scores change from run to run, mostly because of how fast your server responds at that moment. Recheck the page to compare, and look at the Real-user experience section, which is not affected by single runs.

Why is there no real-user data?

Google only publishes Chrome UX Report data for pages and sites with enough visitors. Smaller sites often have none; the lab results still show what to improve.

What is the AI Agents score?

It is the Lighthouse “Agentic Browsing” category. It checks things like a valid llms.txt file and a well-formed accessibility tree, which help AI agents and answer engines use your site. Google marks it as experimental, so the checks may change.

How do I delete all reports and start over?

Go to Settings > Delete data and click “Delete reports” (keeps custom URLs and snapshots) or “Delete everything”.

4.8

28 reviews

  • 5 ★ 24
  • 4 ★ 2
  • 3 ★ 1
  • 2 ★ 1
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.