Built out the Site Audit page for the SEO Auditor — full Lighthouse-style scan integration covering SEO, Performance, Accessibility, and Best Practices, plus Core Web Vitals (LCP, CLS, FCP, Speed Index, TTI).
What’s in it
-
Full site scan — pulls scores across 4 categories (SEO, Performance, Accessibility, Best Practices) with a single “Run New Audit” trigger
-
Audit issue breakdown — flags critical issues like legacy JavaScript, heading order problems, network dependency chains, and missing link names, each with a
Fix action
-
Core Web Vitals panel — surfaces LCP, CLS, FCP, Speed Index, and Time to Interactive at a glance
-
Health status checks — HTTPS status and sitemap detection/page count
-
Scan history — tracks scores over time so users can see trend, not just a snapshot
Google Search Console / SERP integration
Wired up SERP and Google Search Console data alongside the Lighthouse-style audit so the page isn’t just technical scoring — it also pulls in real search visibility data (keyword positions, indexing status) to give a fuller picture of site health rather than just performance metrics in isolation.
Problems faced
Google Search Console gave me a rough time:
-
OAuth kept generating incorrectly — spent a long time debugging why the auth flow wasn’t producing valid tokens
-
Page Insights access wasn’t being granted — even after “fixing” the OAuth, some scopes weren’t allowing the page insights data I needed
-
SERP data never wired up cleanly — couldn’t get a reliable integration working in the time I had
-
Burned through API quota while testing/debugging all of the above, which slowed iteration even further
Still an open problem — SERP and GSC integration need another pass. Noting it here so future-me remembers where it broke.
Notes
-
Fix Google Search Console OAuth flow (check scopes + redirect URI config)
-
Get SERP data wired up reliably
-
Add pagination/filtering for the full issue list (currently capped at “view all” expand)
-
Surface historical Core Web Vitals trend, not just latest scan