Descripción
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.
Informes de página detallados
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.
Resumen del informe
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.
Página de informes de escritorio y móvil
Las mejores prácticas para el rendimiento del sitio son muy diferentes entre el uso del dispositivo de sobremesa y el móvil. Configura Insights from Google PageSpeed para generar informes de sobremesa, informes móviles o ambos.
Cambia entre tipos de informe para ver las sugerencias específicas para mejorar el rendimiento y la experiencia en cada plataforma.
Informe de instantáneas
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.
Herramienta de comparación de instantáneas
La herramienta de comparación de instantáneas es una función muy útil que te permite visualizar uno al lado de otro los resultados de cualquier par de informes de instantáneas parecidos.
Haz una instantánea del informe antes de instalar nuevos plugins o antes de implementar recomendaciones de rendimiento. Haz otra instantánea cuando hayas terminado y compara tus resultados para medir el efecto de los cambios.
Añadir/Importar URL personalizadas
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.
Las URL personalizadas se pueden etiquetar y filtrar en los resúmenes de informes. Haz instantáneas de informe de tus URL personalizadas como harías en cualquier otro tipo de informe.
Comprobaciones de los informes programados
Configura Insights from Google PageSpeed para volver a comprobar automáticamente tu sitio de manera diaria, semanal, mensual o bimensual.
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.
Idiomas adicionales
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:
- Russian Translation provided by: Ivanka from coupofy.com
- Spanish Translation provided by: Ogi Djuraskovic from firstsiteguide.com
- Serbian Translation provided by: Ogi Djuraskovic from firstsiteguide.com
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.
Capturas






Instalación
- In wp-admin, go to Plugins > Add New, search for «Insights from Google PageSpeed» and click «Install Now», then «Activate».
- Go to Tools > Pagespeed Insights > Settings and enter your Google API key.
- Click «Start scan».
Full documentation: plugstack.dev/docs/google-pagespeed-insights
Getting an API key
The plugin uses the free Google PageSpeed Insights API, which needs an API key from your Google account.
- Open the PageSpeed Insights API in the Google Cloud Console, create or pick a project and click «Enable».
- Go to APIs & Services > Credentials and create an API key.
- Paste the key into Tools > Pagespeed Insights > Settings, click «Check key» and save.
If you restrict the key, allow requests from your server’s IP address. HTTP referrer restrictions do not work, because the requests are sent by your server.
A step-by-step guide with screenshots is in the documentation.
Requisitos
- WordPress 6.6 or newer
- PHP 7.2 or newer
- A Google API key
- Pages must be publicly reachable, because Google loads them from its own servers
FAQ
-
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».
Reseñas
Colaboradores y desarrolladores
«Insights from Google PageSpeed» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
Colaboradores«Insights from Google PageSpeed» está traducido en 1 idioma. Gracias a los traductores por sus contribuciones.
Traduce «Insights from Google PageSpeed» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
5.0.0
- New admin interface built with React and the WordPress components, with charts and trends
- Reports now include all Lighthouse categories: Performance, Accessibility, Best Practices, SEO and AI Agents (Agentic Browsing)
- Current Lighthouse metrics (LCP, TBT, CLS, FCP, Speed Index) and Core Web Vitals from real users (LCP, INP, CLS)
- Score history for every page and a daily site trend
- Audits are grouped like on pagespeed.web.dev, with estimated savings and WordPress tips
- Import custom URLs from a CSV file (for example a Search Console or crawler export)
- Fixed: XML sitemap import was rejected on sites that do not allow XML uploads
- Fixed: rechecking a page now updates its mobile report too, not only the desktop one
- Fixed: an invalid API key is reported clearly again with the current Google API
- New «Check key» button: a new API key is verified before the settings are saved
- Fixed: a PHP notice when a checked page has no real-user (Chrome UX Report) data
- A clear warning when a scan cannot start because the site blocks requests to itself (maintenance mode, a login wall or the host), with a link to Site Health
- When the daily API quota is used up, the scan stops with a clear message instead of sending a failing request for every page; a per-minute limit is waited out and the page is tried again
- The ShortPixel image suggestion works again with current Lighthouse image audits
- Charts are drawn locally; the admin no longer loads Google Charts
- If a screen fails to load, it now shows a message with Reload and Try again buttons instead of a blank page
- Requires WordPress 6.6 and PHP 7.2
4.1.0
- Tested with WordPress 7.1
- Security hardening: database queries, input validation, output escaping, capability and nonce checks
- Translations: text domain now matches the plugin slug, so WordPress.org language packs work
- Fixed: plugin settings no longer change when the plugin is updated
- Minor code quality fixes
- Removed the NitroPack promotion box (the partner offer is no longer active)
4.0.8
- Corrección de advertencias de PHP 8
4.0.7
- Se ha añadido la compatibilidad para mapas de sitio XML de tipo texto/xml
- Se ha solucionado un problema que hacía que algunos mensajes de error no apareciesen cuando debían
- Añade comprobaciones nonce adicionales para la protección contra la falsificación de solicitudes entre sitios (CSRF, por sus siglas en inglés).
4.0.6
- Validación, saneamiento y escape adicionales de la base de código del plugin
4.0.5
- Se ha solucionado algunos informes de regla de validación que no se mostraban correctamente (puede que algunos resultados se deban volver a comprobar para ver las correcciones)
- Se ha mejorado el estilo para mejorar la legibilidad en los detalles de informe
- Validación, saneamiento y escape adicionales de la base de código del plugin
4.0.4
- Se ha solucionado el problema de datos con escape incorrecto (problema de seguridad XSS)
- Se ha renombrado el plugin a «Insights from Google PageSpeed»
4.0.3
- Se ha solucionado el fallo de las imágenes ‘filmstrip’ de las capturas de pantalla de carga
4.0.2
- Google ha introducido un par de nuevos tipos de informes que este plugin no gestionaba mediante plantillas JS. Se ha añadido compatibilidad con el nuevo tipo y se intenta manejar mejor este problema si sucede de nuevo en el futuro.
4.0.1
- Se ha eliminado la referencia al archivo de plantilla ‘legend’, que se borró en la v4.0.0 y estaba causando advertencias de PHP
4.0.0
- AVISO: Esta actualización eliminará cualquier informe o instantánea existente creados por versiones anteriores de este plugin, ya que no son compatibles con la versión más reciente de la API de Pagespeed (v5)
- Migración a la última versión de la API de Google Pagespeed Insights (v5). Esto conlleva cambios bastante grandes en los informes y es incompatible con los informes generados a partir de versiones anteriores de la API (y de este plugin).
- Se ha sustituido la biblioteca PHP de la API de Google utilizada anteriormente por este plugin por una clase mucho más pequeña y sencilla.
- Se ha solucionado un error de la clave de bloqueo Mutex de SQL que no era única por instalación y que causaba problemas al intentar ejecutar este plugin en múltiples sitios que compartían el mismo servidor SQL
3.0.5
- Se ha solucionado el aviso de PHP al guardar los ajustes
3.0.4
- Se ha solucionado el fallo por el que la función de filtro de la API heartbeat de WordPress fallaba y no devolvía correctamente el valor
- Se han añadido opciones adicionales para el tiempo de ejecución máximo para dar soporte a escenarios en los que incluso 60 segundos superaban el tiempo de ejecución máximo del servidor
3.0.3
- Se ha solucionado el fallo por el que la opción Tiempo máximo de ejecución de scripts no se podía establecer en «Sin límite» después de haberse ajustado a un valor superior
3.0.2
- Se ha solucionado un fallo introducido en la v3.0.1 que afectaba a los servidores con PHP 5.4, donde se producía un error de PHP al intentar realizar acciones en el plugin, como guardar las opciones
3.0.1
- Se han añadido comentarios de instantánea a la vista instantánea / comparar plantillas de instantánea
- Se ha solucionado un fallo con la etiqueta de tipo de informe de instantánea que mostraba «ambas» cuando debería mostrar escritorio o móvil
- Se ha solucionado un fallo con la etiqueta de descripción del informe de instantánea que no cargaba la cadena traducible
- Se ha solucionado un fallo que impedía que los comentarios de instantánea se mostrasen en la tabla de la lista de instantáneas
- Se ha mejorado el refuerzo contra ataques XSS identificados
- Se ha mejorado la adhesión a los estándares de programación y las mejores prácticas de WordPress
3.0.0
- Se incluyen todas las funcionalidades «premium» anteriores gratis. Esto incluye las instantáneas de informes, la herramienta de comparación de instantáneas, el informe de URL personalizado y las comprobaciones de informe programadas.
- Se ha añadido el enlace directo de URL en los detalles del informe para las rutas a recursos (imágenes, scripts, etc.)
2.0.3
- Se ha actualizado a la última biblioteca PHP API de Google 2.2.0 para resolver problemas con PHP 7.1
2.0.2
- Se ha solucionado el fallo que devolvía incorrectamente las programaciones de WP Cron en el filtro cron_schedules
2.0.1
- Se han eliminado los tests unitarios de phpseclib de la biblioteca API de PHP de Google para evitar falsos positivos con WordFence
2.0.0
- Reescritura importante para mejorar la compatibilidad y el rendimiento
- Se ha actualizado a la versión más reciente de la API de Google Pagespeed Insights y la biblioteca
- Se han solucionado los problemas con los instaladores por lotes que no generaban las tablas de la base de datos
- Se han consolidado los métodos de exploración en un único método más fiable inspirado en el cron de WP
- Mejor identificación, comunicación y resolución de problemas con entornos que tienen dificultades para la exploración de páginas o errores de API
- Se ha mejorado la recopilación de errores de API
- Se ha añadido la funcionalidad «Cancelar exploración» para cancelar la exploración en proceso
- Se ha añadido la opción «Tiempo máximo de ejecución de scripts» a la configuración avanzada para permitir que las exploraciones se ejecuten en intervalos más cortos para aquellos proveedores de alojamiento web que tengan tiempos de espera de script que no se puedan anular
- Se ha actualizado la base de datos para adherirse mejor a los estándares de programación y mejores prácticas de WordPress
1.0.6
- Se ha solucionado el error con WP_List_Table introducido con WordPress 4.3
- Se ha añadido la traducción al ruso. Gracias a Ivanka de coupofy.com.
1.0.5
- Se ha solucionado un problema con el directorio temporal usado por la API de Google, que no tenía permisos de escritura en muchos entornos de alojamiento compartido e impedía que el plugin funcionase correctamente. Se sustituye la función sys_get_temp_dir por la función de WordPress get_temp_dir para solucionarlo.
- Se han añadido las traducciones de español y serbio. Gracias a Ogi Djuraskovic, de firstsiteguide.com, por proporcionarlas.
1.0.4
- Se ha añadido la capacidad de autoactualización
1.0.3
- Se han modificado las interacciones con WPDB para que obtengan correctamente el prefijo de tabla para las instalaciones de WordPress multisitio
1.0.2
- Se han modificado los estilos para que se vean mejor en el nuevo tema de administración de WordPress 3.8.
- Se ha solucionado el uso accidental de algunas etiquetas cortas de PHP (<? en lugar de <?php) que estaban causando errores de activación para algunos usuarios. (Gracias a bekar09 por encontrar primero este error)
- Se ha modificado ajax.js para mejor rendimiento. (Gracias a Pippin por la sugerencia)
- Se ha modificado el uso de get_pages() para mejor rendimiento. (Gracias a Pippin por la sugerencia)
- Se han solucionado varios avisos de PHP
1.0.1
- Se ha solucionado un posible conflicto con otros plugins que también utilizan la librería de PHP de la API de Google. Ahora solo se incluye la API si la clase Google_Client no existe ya.
- Se ha añadido una verificación adicional durante la activación del plugin para fallar rápidamente si el servidor no cumple los requisitos mínimos del plugin
1.0.0
- Versión inicial
