Mixed Content
All HTTPS pages which include a reference to an HTTP script, stylesheet, or linked image.
Priority: Low
Impact: Negative
What issues it may causeโ
Browsers and search engines may attempt to fetch the resources on the HTTPS protocol, and if they work the the user-experience and rendering/indexing of the pages may be unaffected.
If the resources do not function on the HTTPS protocol then they will not be used to render the pages and could result in content not being loaded. This may result in a poor experience for users, or issues with content not being indexed by search engines, impacting rankings, traffic and conversions.
How do you fix itโ
The resources should be checked to see if they can be served through HTTPs, and all references updated to use the HTTPS URLs.
What is the positive impactโ
Crawler and browsers will be able to render and index these pages correctly, potentially resulting in a better user-experience, improved rankings, 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 CrawlLinks {
urlTo
urlFromTitle
urlFrom
urlFromDeeprank
urlToDeeprank
urlFromHttps
urlToHttps
linkType
attrRel
attrType
}
}
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"http_scripts_on_https_pages"}
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 CrawlLinks { urlTo urlFromTitle urlFrom urlFromDeeprank urlToDeeprank urlFromHttps urlToHttps linkType attrRel attrType } } } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"http_scripts_on_https_pages"}}' https://api.lumar.io/graphql