All checks / Technical
Missing preferred sources markup or configuration
A info-level technical check, run on every pull request and every CLI run.
Info
preferred-sources-feature
In SEOCode's checks since 9 May 2026
What it checks
Why this matters.
Google's preferred sources feature is now available in all languages where Google Search is available, and has been expanded to also appear in AI Overviews and AI Mode. This feature allows publishers to help their audience find their site as a preferred source in Google Search, AI Overviews, and AI Mode. Publishers can now implement a custom, interactive button to guide their audience to set them as a preferred source, ensuring a seamless experience where users are brought right back to where they left off. Publishers should ensure their site is properly configured to take advantage of this feature, which can increase visibility and direct traffic from users who prefer specific sources across all Google Search surfaces.
Runs on .html .jsx .tsx .vue .svelte · Advisory checks point at an improvement. They never block a merge.
The fix
How to resolve it.
Review Google's preferred sources documentation to understand eligibility and configuration requirements. Implement the new custom interactive button to guide your audience to set your site as a preferred source, instructions are available in the preferred sources documentation. Ensure your site's identity signals (Organization schema, site name schema, canonical URLs) are correctly implemented to help Google identify your site as a preferred source for relevant queries across Search, AI Overviews, and AI Mode. Download and use the updated translated button assets available in the preferred sources documentation.
SEOCode writes this fix for you
On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.
Sources
Where this comes from.
Technical
Related checks.
Crawling, indexing, rendering and the directives that can take a page out of search.
Missing lang attribute on <html> Critical
The lang attribute on the <html> element tells search engines and screen readers what language the page is in.
Missing viewport meta tag Critical
Without a viewport meta tag, mobile browsers render the page at desktop width, causing poor mobile UX and hurting mobile rankings.
Missing charset declaration Warning
Without a charset declaration, browsers may misinterpret the page encoding, causing garbled text.
Missing canonical tag Warning
Without a canonical tag, search engines may index duplicate versions of your page (e.g., with/without trailing slash, with query params).
noindex directive detected Critical
A meta robots noindex tag was found.
Missing favicon Info
A favicon improves brand recognition in browser tabs and bookmarks.
Catch it before it ships
Every check, on every pull request.
SEOCode runs the full ruleset on each change and comments the fixes inline.
Free for public repositories · no credit card