Questions tagged [google-pagespeed-insights-api]

62 questions
0
votes
0 answers

Whats wrong with my PageSpeed Appscript code?

My script used to work, now it seizes to pull any data. I've been trying to resolve the code for some time now and keep getting different errors, so thought i'd post it here. The script allows field data to be extracted from Google's PSI for a list…
0
votes
1 answer

How to Solve > "Reduce the impact of third-party code Third-party code blocked the main thread for 560 ms"?

My PSI shifted drastically and indicates that I need to reduce the impact of third party code. The biggest third party causing the biggest blocking time is actually identified as Google Tag Manager. Is has identified two Google tags. Any thoughts…
0
votes
1 answer

Issue getting full page Screenshot of website using PageSpeedApi and Google Apps Script

I am trying to get the screenshot from this link to Google Drive using Google Apps Script. For that, I found this source to make it work. I tried to modify the script but the result is not exactly what I am looking to achieve. Here is the script: …
0
votes
1 answer

Does PSI uses client IP to access the requested URL?

Does PSI uses client IP to access the requested URL or it uses any internal network IP address? We would like to allow only PSI to access our website.
0
votes
1 answer

Why is Lighthouse data reported via the PageSpeed Insights API consistently different from data reported by the Lighthouse CLI?

We have been using the PageSpeed Insights API to track lighthouse data for some pages. Running a Lighthouse audit in Chrome using the same throttling settings is consistently reporting different numbers and it is not clear why. Can someone help…
0
votes
1 answer

How can i get webpage network title DOMContentLoaded by curl

1.Beaucause i want to curl web page : https://m.momoshop.com.tw/main.momo to get DOMContentLoaded seconds, but curl or postman call web url js don't work,should be curl or postman call web page js not working. 2.so that i want to get…
0
votes
1 answer

PageSpeed Insights API without LighthouseResults

When opening Pagespeed UI and running a URL, the top section with the core web vitals pretty much appears instantly. In my current use case, I am only interested in that part, and not the Lighthouse diagnostics below (that take several seconds to…
0
votes
1 answer

How to retrieve page speed score from PageSpeed API?

I am trying to retrieve the PageSpeed score for the website that I am analyzing. I managed to fetch from the API successfully, but I am not able to get the Score from the API. I found out that the score is in…
0
votes
1 answer

Unpacking a list within a list Google's Page Speed API response in R

I am having some difficulties unpacking what looks like a list within a list in Google's Page Speed API response. Ideally, I want only audit results exported as a CSV file. So I can compare the website load times and performance of my client's…
user13056765
0
votes
0 answers

Parsing Google's Lighthouse Page speed json response to dataframe in R

I am having some difficulty parsing Google's pagespeed JSON response into a dataframe in R. Ideally I just want the dataframe to contain the speed metrics. Code to get JSON…
user13056765
0
votes
1 answer

How to get the mobile and desktop API path in page speed insights?

Hi i just want to ask if there's seperated API in pagespeed insight in performance score? Because i only seeing this path to consume in performance score and i don't know if it's for desktop or mobile lighthouseResult.categories.performance.score
0
votes
0 answers

Using PageSpeed Insights API from GAS makes error

I'm using PageSpeed Insights API from Google Apps Script. Many URLs succeed but some URLs (for example www.google.com) often fail and output the following error. { [Exception: Request failed for https://www.googleapis.com returned code 500.…
0
votes
3 answers

Why Google Page Speed Insights show different score everytime time I analyze the website?

Why does Google Page Speed Insights show different score each time I analyze the website? Why it shows different scores whenever I enter the my domain url as with(www.mydomain.com) and without (.mydomain.com). Also with(www.mydomain.com/index.html)…
0
votes
1 answer

Error: Quota exceeded for quota metric - pagespeed googleapis

I am running sitespeed docker container container and using config file to run multiple pages at a time. I've also scheduled it to run every hour but from the job output I am seeing the below error related to some Quote Exceeded [2021-11-02…
0
votes
1 answer

How to Calculate Google Page Speed API Score

I am using google page speed api, I am getting response from ['lighthouseResult']['categories']['performance']['score'] and i was gettings 0.92, but this was not right, it shows really good, but if i go to google page speed tool then it shows approx…