Redirects with Visits
Pages with organic search traffic that redirect to another URL.
Priority: Low
Impact: Neutral
What issues it may cause
These pages are redirecting, but have had visits based on the analytics data within the report period.
There could be a valid reason for setting up redirects for driving traffic pages e.g. when migrating to new URLs or domain. If this is the case and the redirects are set up correctly these pages should be re-indexed by search engines and disappear from this report over time. Please check if you used the correct HTTP status code for these redirects (e.g. 302 redirects are considered to be temporary, therefore it may take longer for Google to update these URLs in the index).
However if these redirects have been implemented unintentionally they could lead to a drop in traffic.
How do you fix it
Investigate these pages to check that they are redirecting to relevant pages and are using the correct HTTP status code.
What is the positive impact
Setting up correct redirections when migrating a website or individual pages is absolutely critical to preserve the traffic and conversions that they drive.
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 GetReportStatForCrawl(
$crawlId: ObjectID!
$reportTemplateCode: String!
$after: String
) {
getReportStat(
input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode}
) {
crawlUrls(after: $after, reportType: Basic) {
nodes {
pageTitle
url
foundAtUrl
deeprank
level
httpStatusCode
indexable
duplicatePage
gaVisits
gaAvgPageLoadTime
gaVisitBounceRate
gaAvgTimeOnPage
gaPageviewsPerVisits
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
totalCount
pageInfo {
endCursor
hasNextPage
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"redirecting_pages_with_visits"}
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 GetReportStatForCrawl( $crawlId: ObjectID! $reportTemplateCode: String! $after: String ) { getReportStat( input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode} ) { crawlUrls(after: $after, reportType: Basic) { nodes { pageTitle url foundAtUrl deeprank level httpStatusCode indexable duplicatePage gaVisits gaAvgPageLoadTime gaVisitBounceRate gaAvgTimeOnPage gaPageviewsPerVisits foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } totalCount pageInfo { endCursor hasNextPage } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"redirecting_pages_with_visits"}}' https://api.lumar.io/graphql