GPSI plugin for sitespeed.io
npm install @sitespeed.io/plugin-gpsiRun GPSI as a plugin for sitespeed.io
Run by giving --gpsi.key YOUR_GPSI_KEY to sitespeed.io.
You can read more about sitespeed.io plugins here.
Get your GSPI key from Google.
If you have checked out as the same level as sitespeed.io you run it like this (else just change the path).
``bash``
git clone https://github.com/sitespeedio/sitespeed.io.git
cd sitespeed.io
npm install
bin/sitespeed.js --plugins.add ../plugin-gpsi/lib/index.js --gpsi.key YOUR_SECRET_KEY https://www.sitespeed.io/ -n 1
It also sends the loadingExperience for the page. That includes the actual percentile for First Contentful Paint and First Input Delay and the percentage of fast/moderate/slow users.
And it also sends a summary on domain level for the loading experience, meaning you can keep track of those metrics by running the plugin once a day.