Mobile Alternates in Sitemaps
URLs which were found within the mobile/AMP rel alt tag of another page, which were found in a sitemap during the crawl.
Priority: Low
Impact: Negative
What issues it may cause
Google recommends only including either desktop or mobile pages as entries in Sitemaps and generally only the desktop versions are included.
If separate mobile pages are not found via a mobile alternate link, they might be considered duplicate pages until the relationship has been understood which may take some time.
How do you fix it
Separate mobile should be included as a link attribute under the desktop URL entry instead of a separate entry.
What is the positive impact
Mobile pages can be identified as an alternate of a desktop page more effectively.
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
desktopUrl
foundAtSitemap
deeprank
level
sitemapsInCount
httpStatusCode
separateMobile
mobileReciprocate
amphtml
amphtmlReciprocate
noindex
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
}
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"mobile_alternates_in_sitemaps"}
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 desktopUrl foundAtSitemap deeprank level sitemapsInCount httpStatusCode separateMobile mobileReciprocate amphtml amphtmlReciprocate noindex foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } } } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"mobile_alternates_in_sitemaps"}}' https://api.lumar.io/graphql