Goal: To display Google pagespeed metrics for any single or multiple domains. You need not be the owner of the domain you want to track.
"id_list" is an array of domain names. You need to mention the http part, like http://www.xyz.com or http://www.xyz.org etc
multiple domains can be specified as comma separated values e.g "id_list":["http://www.infocaptor.com","http://www.mockuptiger.com","https://www.wireframes.org"]
API_KEY (just get it once) : Get your own API Key, the above is just a dummy key
How to display pagespeed score as a Dial chart
The pagespeed API displays a lot of information but it is possible to selectively display certain metrics.
To do so, we simply add the metrics as comma separated values in the metric_list array as below
We have two domains in the above id_list, and since the Dial can only display a single number, it just picks the first in the list. The other in the id_list is ignored.
For the metric_list , we just keep one value "score" which is an overall score.
How to display the metrics on a bar chart
Drag the bar chart from the left panel
And select Pagespeed service