Haghs Preferred Source Button for Google
Haghs Preferred Source Button for Google lets your visitors add your site — or the exact post/page they’re reading — to their Google Preferred Sources with a single click, using Google’s official google.com/preferences/source link format. No API keys, no OAuth, no tracking scripts. Just a fast, simple button.
This plugin is developed independently by Benjamin Hagh Parast and is not affiliated with, endorsed by, or sponsored by Google. ”Google” and ”Preferred Sources” are referenced only to describe the feature this plugin links to.
Features
- Fully customizable button text
- Choose where the button appears automatically: Header, Footer, Before Content, After Content, Navigation Menu, Floating Left, or Floating Right
- Show the button on any public post type – Posts, Pages, or any custom post type registered by your theme or other plugins – defaults to Posts only, since blog content usually carries the repeat-visit value
- Uses the exact permalink of the post/page being viewed, so visitors prefer the specific content they found, not just your homepage
[hpsbg_button]shortcode for manual placement anywhere, with optionaltextandurloverrides- Open link in a new tab (optional)
- Built-in guidance in the settings screen on Google’s Preferred Sources eligibility requirements, with links to check your own domain and to Google’s official documentation
- Clean uninstall — removes its single settings option, no leftover data
- No external libraries, no database tables, minimal CSS footprint
About Google Preferred Sources
Preferred Sources is a feature from Google that lets people choose the sites they want to see more of in Top Stories, AI Overviews, and other personalized search surfaces. There is no submission or application process — Google determines eligibility automatically by crawling and evaluating a site. Only domain-level or subdomain-level sites are eligible (a subdirectory such as example.com/blog never qualifies on its own), and eligibility is generally tied to publishing fresh, regular content that Google would also consider for Top Stories.
You can check whether your own domain is currently eligible at google.com/preferences/source, and read Google’s own guidance at Google Search Central’s Preferred Sources documentation. This plugin’s settings screen links to both, since the button itself is only useful once your site already qualifies — it cannot make an ineligible site eligible.