Slow LCP
All HTML pages with a 200 HTTP status code and a Largest Contentful Paint (LCP) time slower than 4.0 seconds (Google recommends an LCP time of 2.5 secs or faster).
Priority: Low
Impact: Negative
What issues it may cause
Pages with a high LCP may cause a poor user-experience and could negatively affect the rankings in search engine results resulting in less traffic and conversions.
How do you fix it
The pages should be investigated using tools like PageSpeed Insights to identify the issues that may be causing them to have a high LCP.
What is the positive impact
Improving LCP speed may;
- provide a better user-experience that could positively affect conversion rates.
- result in higher rankings in search results leading to an increase in traffic and conversions.
How to fetch the data for this report template
You will need to run a crawl for report template to generate report. When report has been generated and you have crawl id you can fetch data for the report using the following query:
- Query
- Variables
- cURL
query GetReportForCrawl($crawlId: ObjectID!, $reportTemplateCode: String!) {
getCrawl(id: $crawlId) {
reportsByCode(
input: {
reportTypeCodes: Basic
reportTemplateCodes: [$reportTemplateCode]
}
) {
rows {
nodes {
... on CrawlUrls {
pageTitle
url
description
foundAtUrl
performanceLcp
deeprank
level
contentSize
htmlSize
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
}
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"slow_lcp"}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"query GetReportForCrawl($crawlId: ObjectID!, $reportTemplateCode: String!) { getCrawl(id: $crawlId) { reportsByCode( input: { reportTypeCodes: Basic reportTemplateCodes: [$reportTemplateCode] } ) { rows { nodes { ... on CrawlUrls { pageTitle url description foundAtUrl performanceLcp deeprank level contentSize htmlSize foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } } } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"slow_lcp"}}' https://api.lumar.io/graphql