Questions tagged [google-pagespeed-insights-api]
62 questions
0
votes
1 answer
Google Page Insights: Avoid multiple page redirects
When I am checking this page http://balrajsingh.in/blog/nar-aur-narayan in Google Page Insights. I found that there are a lot of reds. One of those is:
Avoid multiple redirects
But I have not created any redirects except a CNAME for www. to go to…

paul
- 4,333
- 16
- 71
- 144
0
votes
0 answers
How can i get the metrics score of LCP?
I'm trying to get the metric score of the LCP by calling a get method via API. It returns to me a json file, but when i'm searching for LCP it is giving to me: "Score":"Null".

Iulian Pinzaru
- 9
- 2
0
votes
0 answers
Page Speed Test Score Showing 0 or 1 for Mobile devices
Our website is on magento 2 and we did all kind of speed optimisations in the website. But the page speed score of the website on mobile device is showing 0 or sometimes it shows 1.
Can someone please help us to identify the issue?
This happens only…
0
votes
0 answers
PageSpeed Insights API PHP
I want to integrate Google's mobile-friendly and desktop-friendly API with PageSpeed Insights API. But I'm unable to differentiate the Audit section.
How to differentiate Passed Audits, Diagnostics, and Opportunities in PageSpeed Insights API.

Garry
- 69
- 8
0
votes
0 answers
How can I measure page speed of the pages that appear after login
I want to measure the page response time of multiple views in my application. The views are accessible only after the SSO login. the URLs of the views are not directly accessible as these are behind the login. So my question is how can I measure the…

Ravi Jangra
- 11
- 1
0
votes
1 answer
How do I get Fielddata and Origin Summary on the PageSpeed insights working?
First I want to thank everybody for the great support and the good tutorials from google to improve the quality of our websites. Right now we are working on an update of our websites because the core web vitals are bad.
I learned a lot by reading…

Daniel
- 3
- 1
0
votes
1 answer
Geting a ? Performance score in page insights
So I've got 2 Gatsbyjs sites
The one was getting around 40.
My second one I built recently scored '?'
And then when i updated the first to improve its performance it got a '?' As well.
The 2 sites are:
Pixelfriendly.co.za
Bee-projects.co.za

Imraan Salie
- 15
- 4
0
votes
0 answers
Fetching Lighthouse metrics Data for large count of urls without using API key on Python
I am trying to capture the lighthouse metrics data for 7k urls using Google Page speed insights API without using API key. I have created a python script to execute this process. I am able to capture first 1000 urls data using this method. Python…
0
votes
1 answer
PageSpeed giving ERR_CONNECTION_FAILED Only on production
We have our development page giving correct score on page speed insights.
https://developers.google.com/speed/pagespeed/insights/?hl=en&url=https%3A%2F%2Fdev.techtitute.com
But our production page always returns scan error:
Lighthouse returned…
0
votes
1 answer
Google Insights Page Speed API unable to connect server error
I am dealing with the Google Insight Page Speed API and I have come across a weird errors that state "PageSpeed was unable to connect to the server. Ensure that you are using the correct protocol (http vs https), the page loads in a browser, and is…

Nikunj Soni
- 297
- 2
- 13
-1
votes
1 answer
Google Pagespeed insights on local host not working
I am trying to run webpage insights on a website by first downloading it locally and then using local server to test it. But, I am getting error like
Performance Score = {'error': {'code': 500, 'message': 'Lighthouse returned error:…

Heghar Hex
- 13
- 3
-1
votes
1 answer
Page Speed API - Differentiate Mobile and Desktop
For the same url, Google's PageSpeed Insights gives different scores on Mobile and Desktop. I am trying to understand how to differentiate the device level data while using the PageSpeed Insights API call.
Or does the PageSpeed Insights API call…

Gokul
- 279
- 1
- 2
- 12
-1
votes
1 answer
PageSpeed score not improving despite loading the third party scripts with the load event
I want to integrate third party iframes into my site without affecting the PageSpeed score. Initially, they were being called with the initial call to the server. I moved them to load with the load event in js. But still the PageSpeed score is not…

Divjot Singh
- 1
- 5
-1
votes
1 answer
Lighthouse Mobile scores does not cross 90 (currently ~85). Struggling from the past few days how to get this right
Mobile scores does not cross 90. The reason given: the main-thread work. But, I've even reduced the components being displayed by using "display: none" for certain section on mobile. Despite that doesn't alter at all. What should I be doing? The…

viv
- 166
- 1
- 11
-1
votes
1 answer
Add 'preload' with the fonts in Wordpress
With the node modules i have this file added to my theme. But it is showing in the "Google Pagespeed Insight". Consider using to prioritize fetching resources that are currently requested later in page load.
In my CSS file it is…

Ranjit
- 1,684
- 9
- 29
- 61