Type
magento2-module
Magento 2 module for Google PageSpeed Analysis
magento2-module
MIT
None
None
None
None
None
This module will work only with Magento 2.4.0 and higher
Module is using chart.js : https://www.chartjs.org/
git clone https://github.com/MonogoPolska/monogo-m2-pagespeed-analysis PagespeedAnalysis
composer require monogo/pagespeed-analysis
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Go to Stores->Configuration->Monogo->Pagespeed Analysis
enable: 0
strategy: mobile,desktop
use_cron: 0
height: 150 px
history: 30 days
Chart colors
performance: #4268b3
seo: #d46fd4
pwa: #f2970e
best_practices: #24a318
accessibility: #f5d60c
ttfb: #0c90f5
Usage: php bin/magento monogo:pagespeed:run
You can setup external cron to run:
* */4 * * * php bin/magento monogo:pagespeed:run
Go to Reports->Statistics->Pagespeed
In tabs you will have charts with desktop/mobile view. Under Show details button you will see last scan details.
In Grid you can add comment to specific record (for example: A/B testing start or Production deployment) This comment will be visible on charts after page refresh.