# Google Search Console linked and verified with healthy crawl stats

- **Pattern:** `ab-002480` (`seo-advanced.technical-seo.search-console`)
- **Severity:** low
- **Lifecycle:** active
- **Last modified:** 2026-04-18
- **Canonical URL:** https://auditbuffet.com/patterns/ab-002480
- **License:** CC-BY-4.0 — attribute to AuditBuffet Pattern Catalog (https://auditbuffet.com/patterns/ab-002480)

## Why it matters

Without Google Search Console verification, you have no visibility into which queries drive impressions, which pages get indexed, or when Google flags your site for manual actions, security issues, or Core Web Vitals regressions. You also lose the ability to submit sitemaps, request recrawls after migrations, and disavow spam backlinks — every SEO recovery operation depends on having the property verified first.

## Severity rationale

Low because missing verification blocks diagnostics and recovery tools but does not directly harm rankings.

## Remediation

Add the verification meta tag to `app/layout.tsx` so it ships with every page render:

```tsx
export const metadata = {
  verification: { google: 'YOUR_VERIFICATION_CODE' }
}
```

After deploy, complete verification in Search Console and submit `https://yoursite.com/sitemap.xml` through the Sitemaps report.

## Detection

- **ID:** `search-console`
- **Severity:** `low`
- **What to look for:** Count all Search Console verification methods present: verification HTML file in `public/` directory (e.g., `public/google*.html`), `google-site-verification` meta tag in `app/layout.tsx` or page metadata, DNS TXT record reference in documentation, or Google Analytics linkage. At least 1 verification method must be present.
- **Pass criteria:** At least 1 Google Search Console verification method is configured in the codebase — either a verification file in `public/`, a `google-site-verification` meta tag, or a documented DNS verification. Report: "X verification methods found."
- **Fail criteria:** Zero Search Console verification methods found in the codebase.
- **Skip (N/A) when:** Project is in development/pre-launch and not yet deployed to a live URL.
- **Detail on fail:** `"No Google Search Console verification meta tag in app/layout.tsx and no verification file in public/"`.
- **Remediation:** Verify site in Google Search Console by adding a meta tag in `app/layout.tsx`:

  ```tsx
  export const metadata = {
    other: {
      'google-site-verification': 'YOUR_VERIFICATION_CODE',
    },
  }
  ```

  Or upload the verification HTML file to `public/googleXXXXXXXXXX.html`.

Taxons: findability, observability

HTML version: https://auditbuffet.com/patterns/ab-002480
