Search Console, step by step
How this site was put into Google Search Console on 30 September 2026, one screen at a time, with the code behind each step, and how the same job runs at a company with many sites and many teams.
Search Console is Google's report on what its crawler sees. It shows whether a page is in the index, which address Google chose for it, what people searched before they clicked, and anything that is broken. Nothing in it moves a ranking. It replaces guesswork about crawling and indexing with Google's own answer. Being found covers what the site offers a crawler. This page covers the other half, where Google reports what it made of it.
In plain words
This page walks through putting the site into Google's report on what its crawler sees (Google Search Console), one screen at a time, with the code behind each step. Ownership is proven by a tag the build writes into the home page, and a test keeps it there. It ends with how the same job runs at a company.
What that is worth: a developer can repeat every step from the screenshots and the live code, and the organization gets a plan for running it with shared owners, so one departure never takes the property away.
The order it was done in
About ten minutes from the request to the crawl is quick. A new site can wait days for the same thing, and a request only joins a queue.
Step 1: add a property
A property is the unit Search Console reports on. There are two kinds.

- Domain covers every address under the name:
www., m., any other subdomain, http and https. It can only be proven with a DNS record.
- URL prefix covers one address and everything under it, on one protocol. It can be proven five ways, one of them a tag in the page.
This site is a URL prefix property. Other things live under stevenstout.biz, including The Shed, and the proof was wanted inside this repository, passing through the same gate as the code. A DNS record lives outside the repository, in the domain's DNS provider.
Step 2: prove ownership
Google has to be sure the account asking for the data controls the site. For a URL prefix it offers five ways.

The HTML tag takes four pieces of code and one setting.
The slot. The home page keeps a comment where the tag belongs. Built without a token, the comment stays a comment and the page claims nothing.
Live from index.html, region search-console-slot, read from this build at 99df7a8.
The token. Search Console hands out a token, and it is saved in the repository's settings as a variable, not a secret. Secrets are masked in logs and cannot be read back. The token will be printed into a public page anyway, so hiding it buys nothing, and a variable can be read back to check it (ADR-072, The code is public, the secrets are not). The three Azure values in the same list are blurred in this picture.

The workflow passes it in. The deploy workflow hands the variable to the image build as a build argument. The same line is in the cache export's build, so the cached layers match the pushed ones.
- name: Sign in to GitHub's registry
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-buildx-action@v4
- name: Build and push
id: build
uses: docker/build-push-action@v7
with:
context: .
push: true
tags: |
${{ env.GHCR_IMAGE }}
build-args: |
APP_VERSION=${{ env.APP_VERSION }}
APP_COMMIT=${{ env.APP_COMMIT }}
GOOGLE_SITE_VERIFICATION=${{ vars.GOOGLE_SITE_VERIFICATION }}
cache-from: type=gha,scope=theyard
provenance: false
Live from .github/workflows/deploy.yml, region build-cache, read from this build at 99df7a8.
The Dockerfile writes it. After npm run build, one step replaces the comment with the tag. A token is letters, digits, underscores and hyphens, so a value with anything else stops the build before it can reach a page.
ARG APP_VERSION=dev
ARG GOOGLE_SITE_VERIFICATION=
RUN set -e; \
sed -i "s/__BUILD_DATE__/$(date -u +%Y-%m-%d)/" dist/sitemap.xml; \
if grep -q "__BUILD_DATE__" dist/sitemap.xml; then echo "the sitemap kept its placeholder" >&2; exit 1; fi; \
if [ -n "${GOOGLE_SITE_VERIFICATION}" ]; then \
case "${GOOGLE_SITE_VERIFICATION}" in *[!A-Za-z0-9_-]*) echo "GOOGLE_SITE_VERIFICATION holds a character no token has" >&2; exit 1;; esac; \
sed -i "s|<!-- google-site-verification -->|<meta name=\"google-site-verification\" content=\"${GOOGLE_SITE_VERIFICATION}\" />|" dist/index.html; \
grep -q "name=\"google-site-verification\"" dist/index.html; \
fi; \
echo "stamped: $(grep -o '<lastmod>[^<]*</lastmod>' dist/sitemap.xml) for ${APP_VERSION}"
Live from Dockerfile, region stamp-the-build, read from this build at 99df7a8.
A test holds all of it. Delete the step, rename the variable or move the value into a secret, and the gate goes red.
Assert.Contains("ARG GOOGLE_SITE_VERIFICATION=", dockerfile, StringComparison.Ordinal);
Assert.Contains("if [ -n \"${GOOGLE_SITE_VERIFICATION}\" ]", dockerfile, StringComparison.Ordinal);
Assert.Contains("*[!A-Za-z0-9_-]*)", dockerfile, StringComparison.Ordinal);
Assert.Contains("s|<!-- google-site-verification -->|", dockerfile, StringComparison.Ordinal);
Assert.Equal(2, Regex.Matches(deploy, @"GOOGLE_SITE_VERIFICATION=\$\{\{ vars\.GOOGLE_SITE_VERIFICATION \}\}").Count);
Assert.DoesNotContain("secrets.GOOGLE_SITE_VERIFICATION", deploy, StringComparison.Ordinal);
Live from api/TheYard.Tests/DockerBuildInputsTests.cs, region verification-tag, read from this build at 99df7a8.
To see what Google sees, read the live page:
curl -s https://theyard.stevenstout.biz/ | grep google-site-verification
The tag has to stay. Google checks again from time to time, and a property whose tag has gone loses its verified owner. That is the reason the tag sits in the build rather than in one version of a file: every image carries it.
Settings is where the property is run from once it is verified: who has access, a move to a new address, the daily export to BigQuery, and whether robots.txt reads cleanly.

Step 3: submit the sitemap
A sitemap lists every address a site wants found. Submitting it tells Google where to start, and the report then shows how many of those addresses it has discovered.

The first read reported Couldn't fetch, which is common on a property minutes old. The file was checked live at the time (200, text/xml, 119 addresses, valid), and the report read it cleanly later without being submitted again. The 119 are the home page, /about, the API reference, the diagram pages and every document at its markdown address. One entry looks like this:
<url>
<loc>https://theyard.stevenstout.biz/about</loc>
<lastmod>__BUILD_DATE__</lastmod>
<changefreq>monthly</changefreq>
<priority>0.9</priority>
</url>
__BUILD_DATE__ is replaced with the day the image is built, in the same Dockerfile step as the tag. Google uses lastmod only from sites whose dates prove accurate over time, and it ignores changefreq and priority altogether; other engines may read them. A date written by the build is never a date somebody forgot to change.
A test keeps the sitemap and the catalogue of served documents the same list, both ways:
[Fact]
public void The_sitemap_lists_every_document_the_site_serves_at_its_page_and_nothing_it_does_not()
{
string sitemap = File.ReadAllText(Path.Combine(Repo.Root(), "public", "sitemap.xml"));
var listed = Regex.Matches(sitemap, @"<loc>https://theyard\.stevenstout\.biz/\?doc=([a-z0-9-]+)</loc>")
.Select(match => match.Groups[1].Value)
.ToHashSet(StringComparer.Ordinal);
Assert.Contains("<loc>https://theyard.stevenstout.biz/?view=about</loc>", sitemap, StringComparison.Ordinal);
Assert.DoesNotContain("author", listed);
string[] unlisted = DocumentationCatalog.Files.Keys.Where(slug => slug != "author" && !listed.Contains(slug)).ToArray();
string[] gone = listed.Where(slug => !DocumentationCatalog.Files.ContainsKey(slug)).ToArray();
Assert.True(unlisted.Length == 0, $"public/sitemap.xml does not list {string.Join(", ", unlisted)}");
Assert.True(gone.Length == 0, $"public/sitemap.xml lists {string.Join(", ", gone)}, which the site no longer serves");
}
[Fact]
public void The_sitemap_lists_no_markdown_address_but_the_diagrams_pages_and_never_Admin()
{
string sitemap = File.ReadAllText(Path.Combine(Repo.Root(), "public", "sitemap.xml"));
var locs = Regex.Matches(sitemap, @"<loc>([^<]*)</loc>").Select(match => match.Groups[1].Value).ToList();
string[] markdown = locs.Where(loc => loc.Contains("/api/docs/", StringComparison.Ordinal) && !loc.Contains("/api/docs/diagrams/", StringComparison.Ordinal)).ToArray();
Assert.True(markdown.Length == 0, $"public/sitemap.xml lists markdown addresses: {string.Join(", ", markdown)}");
string[] diagrams = locs
.Where(loc => loc.Contains("/api/docs/diagrams/", StringComparison.Ordinal))
.Select(loc => loc[(loc.LastIndexOf('/') + 1)..])
.ToArray();
Assert.NotEmpty(diagrams);
Assert.All(diagrams, name => Assert.True(DocumentationCatalog.Diagrams.ContainsKey(name), $"public/sitemap.xml lists the diagram {name}, which the catalogue does not draw"));
foreach (string page in new[] { "/?view=about", "/?view=recommendations", "/?view=stack", "/?view=review", "/resume?pdf=1" })
{
Assert.Contains($"https://theyard.stevenstout.biz{page}", locs);
}
Assert.DoesNotContain(locs, loc => loc.Contains("view=admin", StringComparison.Ordinal));
Assert.Equal(locs.Count, locs.Distinct(StringComparer.Ordinal).Count());
}
Live from api/TheYard.Tests/PublicFaceTests.cs, region sitemap-both-ways, read from this build at 99df7a8.
The file itself is at /sitemap.xml, and /robots.txt names it on its last line.
Step 4: inspect a URL and ask for indexing
URL inspection answers one question for one address: is it in Google, and if not, why not. /about was a day old and not yet on Google, so it was inspected and Request indexing was pressed. About ten minutes later it had been crawled, and a few minutes after that it read like this.

Opening Page indexing shows how Google got there, and it reads top to bottom as a checklist:

When the two canonicals differ, Google has decided another address is the real copy, and the page will not be listed under its own. That is the first thing to check when a page that loads fine never shows up.
Some habits that save time here:
- Test live URL fetches the page now. The report above it describes the copy Google already holds. After a fix, the live test proves the fix and the request asks for a recrawl.
- Request indexing has a small daily allowance per property. It suits one page that matters. For many pages the sitemap is the route.
- The home page was already on Google before any of this. It was requested again so the new
Person data would be read.
The search index trails the inspection tool. At 09:41 a site: search still showed only the home page, with the description written for it in index.html:

Step 5: check the structured data
Structured data is how the site tells a search engine who the author is, in schema.org's vocabulary rather than in prose. /about builds its Person in C#:
string person = JsonSerializer.Serialize(new Dictionary<string, object>
{
["@context"] = "https://schema.org",
["@type"] = "Person",
["@id"] = canonical + "#steven-stout",
["name"] = "Steven Stout",
["jobTitle"] = JobTitle,
["url"] = site + "/",
["sameAs"] = SameAs,
["address"] = new Dictionary<string, string>
{
["@type"] = "PostalAddress",
["addressLocality"] = "Saint Charles",
["addressRegion"] = "Missouri",
["addressCountry"] = "US",
},
["knowsAbout"] = KnowsAbout,
["alumniOf"] = new Dictionary<string, string> { ["@type"] = "CollegeOrUniversity", ["name"] = AlumniOf },
});
Live from api/TheYard.Api/Features/Docs/AboutPage.cs, region person-json-ld, read from this build at 99df7a8.
The home page carries the same Person, with the same @id, beside the code as SoftwareSourceCode:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Person",
"@id": "https://theyard.stevenstout.biz/about#steven-stout",
"name": "Steven Stout",
"jobTitle": "Staff .NET Engineer",
"url": "https://theyard.stevenstout.biz/",
"sameAs": [
"https://www.linkedin.com/in/stevenwstout/",
"https://github.com/SteveStout/TheYard",
"https://github.com/SteveStout"
],
"address": {
"@type": "PostalAddress",
"addressLocality": "Saint Charles",
"addressRegion": "Missouri",
"addressCountry": "US"
},
"knowsAbout": [
".NET",
"C#",
"Azure",
"React",
"TypeScript",
"SQL Server",
"Software architecture",
"AI-assisted development",
"Code quality"
],
"alumniOf": { "@type": "CollegeOrUniversity", "name": "University of Missouri" }
},
{
"@type": "SoftwareSourceCode",
"name": "TheYard",
"description": "A used-vehicle auction platform: browse 100,000 listings, inspect a vehicle, and bid against a simulated room.",
"url": "https://theyard.stevenstout.biz/",
"codeRepository": "https://github.com/SteveStout/TheYard",
"programmingLanguage": ["C#", "TypeScript"],
"runtimePlatform": [
".NET 11",
"React 19",
"Azure App Service",
"Azure SQL Database",
"Azure Cosmos DB"
],
"license": "https://github.com/SteveStout/TheYard/blob/main/LICENSE",
"author": { "@id": "https://theyard.stevenstout.biz/about#steven-stout" }
}
]
}
</script>
Live from index.html, region structured-data, read from this build at 99df7a8.
Google's Rich Results Test reports only the types Google turns into rich results, and a Person on its own is not one of them. The check for it is the Schema Markup Validator, which reads the live page the way a crawler does:

The two sameAs links, LinkedIn and the repository, are what let a search engine treat this site and those profiles as the same person. The address stops at the city by design, and a test holds that.
What to read in the weeks after
Reports fill in over the first few days.
- Performance. Clicks, impressions, click-through rate and average position, by query, page, country and device, kept for 16 months. A search for the author's name shows up here as a query.
- Pages. Every address Google knows, indexed or not, with the reason when not. The common ones: Discovered, currently not indexed (known and not fetched yet), Crawled, currently not indexed (fetched and judged not worth listing yet), Duplicate without user-selected canonical (a second copy with no canonical to settle it), Alternate page with proper canonical tag (a copy that correctly points at the real one), Blocked by robots.txt and Excluded by noindex tag.
- Sitemaps. Discovered against indexed, per file. A large gap between the two is worth reading.
- Core Web Vitals. Speed and stability as real Chrome users measured them. A small site often shows not enough data, and the site's own measurements on Performance stand in until it has some.
- Manual actions and Security issues. Empty is the goal. Google also emails the owners when either one appears.
How it runs at a company
The steps are the same at any size. What changes is who owns the property and how many copies of the site exist.
The classic outage is a staging robots.txt shipped to production. It carries Disallow: /, which tells every crawler to stop, and traffic falls away over days, too slowly for anyone to link it to the release that caused it. That is why the robots.txt diff belongs in the release check.
Two samples for that column. Neither is in this repository.
A Domain property's proof as infrastructure code, for a domain whose DNS is in Azure:
resource zone 'Microsoft.Network/dnsZones@2018-05-01' existing = {
name: 'example.com'
}
// Search Console's Domain property proof. Keep it: deleting it unverifies the owners.
resource searchConsole 'Microsoft.Network/dnsZones/TXT@2018-05-01' = {
parent: zone
name: '@'
properties: {
TTL: 3600
TXTRecords: [
{ value: [ 'google-site-verification=TOKEN' ] }
]
}
}
Keeping a non-production environment out of every index, in ASP.NET Core:
if (!app.Environment.IsProduction())
{
app.Use(async (context, next) =>
{
context.Response.Headers["X-Robots-Tag"] = "noindex, nofollow";
await next();
});
}
Bing is next. Bing Webmaster Tools does the same job for Bing's index, and it can import a site straight from Search Console, verification included. Bing also takes IndexNow, a protocol for telling search engines about a changed address the moment it changes; Google does not use it.
Glossary
The words on this page are in the Site traffic glossary: property, verification token, URL inspection and the rest.