Sub topic 16
Adding Search Console, Analytics and PageSpeed data
A crawl tells you what your site looks like to a bot. It does not tell you which pages people find in search, which ones they visit, or which ones load slowly. The SEO Spider can pull that data in through APIs and put it next to each crawled URL. This chapter covers how to connect the three main sources, what each one adds, and the errors that most often give misleading results.
Prerequisites
This chapter assumes you have completed a first crawl and can read the Internal tab and its filters. You should also know how to scope a crawl with include and exclude rules. You need access to the Search Console property, the Analytics property or both, for the site you are auditing. An API key from Google is required for PageSpeed.
What the integrations add
An integration is a connection to an outside service. After you connect it, the SEO Spider requests data for the URLs it crawls and adds columns to the existing tabs. It does not create a separate report. The columns appear in Internal, in the relevant filters, and in exports.
| Source | Typical columns | Question it answers |
|---|---|---|
| Search Console | Clicks, impressions, CTR, position | Which crawled URLs get search traffic? |
| Search Console URL Inspection | Indexed status, last crawl, canonical chosen by Google | Does Google index this page as you intend? |
| Analytics | Sessions, users, bounce or engagement, conversions | Which crawled URLs get visits? |
| PageSpeed Insights | Performance score, Core Web Vitals metrics, opportunities | Which pages are slow, and why? |
Combining these with crawl data lets you rank problems by real impact. A missing meta description on a page with 40,000 impressions matters more than the same fault on a page nobody sees.
Connecting the APIs
Open the connection screen from Configuration > API Access. Choose the service from the list. Each one has its own tabs for authorisation, settings and the metrics to fetch.
- Select the service, for example Google Search Console.
- Click Sign in with Google and approve access in the browser window that opens.
- Pick the account and the property that matches the site you are crawling.
- Choose a date range and, if offered, the metrics to import.
- Click OK, then start the crawl.
Set up the connection before you start the crawl. API data is fetched while URLs are crawled. If you connect afterwards, you can usually re-fetch it, but a fresh crawl is more reliable.
Search Console
The Search Console connection uses the Search Analytics data. You choose a date range, and the tool imports clicks, impressions, click-through rate (CTR) and average position for each URL. A few settings matter:
- Date range: a longer range smooths out noise but can include URLs that no longer exist. Three months is a common starting point.
- Dimension filters: you can limit data by country or device if the audit targets one market.
- Property type: a domain property covers all subdomains and protocols. A URL-prefix property covers only the prefix you registered. If the prefix does not match your crawl start URL exactly, including
httpsandwww, most rows will come back empty.
The URL Inspection option is separate. It queries Google for each URL's index status, which is far slower and is subject to a daily quota per property. Use it for a sample or for priority sections, not for a 500,000-URL crawl.
Analytics
Analytics connections let you choose the account, property and view or data stream, then a date range and the metrics. The SEO Spider matches rows by page path. Check that the path format matches your crawl. If Analytics records paths without the hostname and your site serves several hostnames, data from different hosts can land on the same path.
PageSpeed Insights
The PageSpeed connection calls Google's PageSpeed Insights API, which runs Lighthouse tests and also returns field data from the Chrome User Experience Report where Google has enough samples. You need an API key. Create one in a Google Cloud project, enable the PageSpeed Insights API for it, and paste the key into the PageSpeed tab. Then choose mobile or desktop and the metrics to collect.
Two cautions apply:
- Each URL is a separate test and takes several seconds, so crawls with PageSpeed enabled run much slower.
- Lab data comes from one simulated load. Scores for the same URL can vary between runs. Treat a single score as a signal, not a measurement.
Field data reflects real users over about 28 days. Where a URL has field data, prefer it for deciding whether a page passes the Core Web Vitals. Many low-traffic URLs have none, and the report will show only lab data for them.
Reading the combined data
After the crawl, the new columns sit beside the usual ones. The Search Console tab, the Analytics tab and the PageSpeed tab each gain filters. Examples of useful filters:
- Search Console: URLs with clicks that are not indexable, or indexable URLs with no impressions.
- Analytics: URLs with sessions that return a 4xx or 3xx status, or indexable URLs with no sessions.
- PageSpeed: URLs failing a metric, plus filters for specific opportunities.
Run Crawl Analysis from the Crawl Analysis menu if a filter appears empty. Some filters, especially those comparing API data against crawl data, are only populated after that step.
Processing the export
Because the data is added to the Internal tab, the headless export from the earlier chapter includes it when the integrations are configured. This script lists indexable pages that have impressions in Search Console but a missing meta description. Column names depend on the metrics you select, so print the header row first and adjust the names to match your file.
import csv
path = "/tmp/sf-crawl/internal_all.csv"
with open(path, newline="", encoding="utf-8-sig") as f:
reader = csv.DictReader(f)
print(reader.fieldnames)
for row in reader:
impressions = row.get("Impressions", "").replace(",", "")
if not impressions.isdigit():
continue
if row.get("Indexability") == "Indexable" and not row.get("Meta Description 1"):
print(int(impressions), row["Address"])Common errors and gotchas
- Empty columns after the crawl. The property does not match the crawl's start URL, the date range has no data, or the signed-in account lacks access. Check the property type and the exact hostname first.
- URL mismatches. The API reports URLs as Google or Analytics saw them. Trailing slashes, uppercase letters, parameters and
httpversushttpscan all cause rows to fail to join. A URL that appears in the API data but not in the crawl is a signal worth investigating, and it may show an orphan page. - Quota and rate limits. URL Inspection has a daily limit per property, and PageSpeed has request limits per key. When a limit is reached, remaining URLs are left blank. Crawl in parts, or limit the inspected sections.
- Data freshness. Search Console data lags by a few days, and Analytics data can be sampled or thresholded. Do not expect exact agreement between the two sources.
- Crawl scope versus API scope. The APIs know about URLs you excluded or that sit beyond your crawl limits. Those URLs will not be matched unless the crawl reaches them.
- Slower crawls. Reduce the number of threads or the PageSpeed metrics if the API requests cause timeouts.
Using the data to decide
A practical routine looks like this:
- Crawl with Search Console and Analytics connected.
- Sort the Internal tab by clicks or sessions, descending.
- Check the status, indexability, title and description of the top URLs first.
- Filter for URLs with traffic that are redirected, blocked or non-indexable, since each of those is a likely loss.
- Run PageSpeed on the top-traffic templates, not on every URL.
This approach feeds the later chapter on prioritising fixes. Traffic columns supply the impact side of the impact and effort judgement.
Exercise
You connected Search Console and crawled your site, but the Clicks and Impressions columns are empty for almost every URL. The property you selected is a URL-prefix property for https://example.com/, and the crawl started at https://www.example.com/. What is the most likely cause, and what do you change?
Show answer
The property does not match the crawled hostname. The URL-prefix property covers only https://example.com/, while the crawl uses the www hostname, so Search Console returns no rows for those URLs. Select a property that matches the crawled host, such as a domain property or the https://www.example.com/ prefix property, then re-run the crawl.
Exercise
Why should you avoid enabling PageSpeed Insights and URL Inspection for every URL on a very large crawl, and what do you do instead?
Show answer
Both services make one request per URL and have time or quota limits. PageSpeed tests take several seconds each and slow the crawl. URL Inspection has a daily per-property limit, after which remaining URLs stay blank. Instead, run them on a sample, on the highest-traffic templates or on priority sections, and crawl in parts if needed.