Google Preferred Sources button: installation and testing
Translated from the Spanish original. Leer en español
Google has a button that lets readers say they want to see more from your publication. It does not print authority or turn an abandoned blog into the paper of record. There is still no button for that.
Preferred Sources lets each person choose publications they want to find more often in certain Google experiences. I have added the button to this blog and built a free Preferred Sources button generator to help other website owners prepare their integration. The generator interface is in Spanish.
Google's button handles the reader's choice. My tool prepares the code or link that leads to that choice. Understanding the difference keeps expectations attached to what the generator actually does.
What are Google Preferred Sources?
Preferred Sources is a search personalization feature. A user can select a publication to find more of its content in Top Stories when it is relevant to their query.
According to Google's publisher documentation, content can also be highlighted with a preferred source badge in AI Mode and AI Overviews where those experiences are available. The choice belongs to that user. It does not make your publication the preferred answer for everyone.
There are separate steps: your domain needs to be available in Google's source preferences tool, a reader needs to choose it, and your content still needs to be relevant to what they search for. Installing a button only helps with the second step.
What did I implement on castillocanton.com?
On 20 November 2026, I added the official button to the blog's Spanish and English articles, before and after the content. I then published a separate generator so other website owners could prepare different presentations of the button or a link.
The first decision was to separate those jobs. Installing the widget on my blog lets its readers use it. Building the generator helps someone prepare an integration for their own publication. Neither job automatically registers a domain with Google.
The second decision was to integrate the widget in the blog template rather than paste it manually into every article. That gives the articles a consistent placement and a specific place to review the behaviour.
The third was to make the button's loading depend on the acceptance configured in the cookie notice. That means testing the state where it does not appear, not simply taking a good-looking screenshot after acceptance.
This is the case I can show: an implementation and an available tool. I am not reporting traffic gains, completed selections or ranking improvements because I do not have measured results that establish those outcomes from the button.

How do you check whether readers can choose your website?
Check the domain before spending time on colours. Google says the publication must appear in its source preferences tool.
My generator lets you enter the domain and open Google's page with that search prepared. Google performs the availability check there. My tool does not run a separate eligibility system.
The official documentation supports domains and subdomains, but not subdirectories. These are fictional examples:
example.com: a domain.news.example.com: a subdomain.example.com/blog/: a section of a domain, not a separate eligible source at that path.
If your publication lives on a subdomain, check that subdomain. Finding the root domain does not mean every section can be selected independently.
If your site does not appear, the generator cannot register it. Google's help notes that sources that are not regularly updated may be unavailable. That is not an individual diagnosis of every missing publication, and it does not give you an admission deadline.
How does the official button differ from a direct link?
The official button uses Google's JavaScript library. Google recommends it because readers can add the publication and return to where they left off. It is localized automatically and supports light and dark themes.
A direct link opens the source preferences tool with the domain searched. The reader still needs to select it and confirm their choice. You can use it in a text link, an image, an email or a social post.
One does not create a stronger preference than the other. They offer different user journeys and technical integrations.
| Option | Where it fits | What to check |
|---|---|---|
| Official button | Pages where you can integrate JavaScript | Library loading, language, theme and the real user journey |
| Linked badge or custom button | Websites where a simple HTML link is preferable | Destination domain, wording and what happens when Google opens |
| Text link | Email, social posts and environments without script support | The correct publication and a clear explanation of the action |
If you cannot see all the columns, scroll the table sideways.
Google documents both approaches. You do not need a script to share a link to your publication's source preferences.
How do you use my Preferred Sources generator?
The tool is free, requires no account and prepares different presentations of the route to Google. It is independent of Google and does not change Google's availability criteria.
The practical sequence is:
- Enter the publication's domain, not an individual article URL.
- Check in Google that the correct source appears.
- Choose the official button, a badge, a custom design, the stacked presentation or just a link, depending on where you will use it.
- Review the language and presentation options available for that style. They are not identical across every style.
- Copy the code and place it where your website supports that integration.
- Open the live page and test the journey as a reader, including on mobile.
The generator offers inline or floating placement and a preview. For the official style, that preview is illustrative: Google renders the real button on the website where you install it.
Generated code cannot tell whether your chosen placement is intrusive, whether your editor strips scripts when saving, or whether a floating element covers your cookie controls. You need to check those things on the finished page.

Where should you place the Preferred Sources button?
Near other ways to follow the publication, or close to content that has just helped the reader. People should understand what you are asking and recognize the publication they are about to choose.
On this blog, I placed it before and after the content. That is a presentation decision, not a Google formula or evidence that the placement converts better than every alternative.
On another website, the end of an article or a dedicated follow area may fit better. The button should not obscure text, navigation or controls, especially on mobile.
Every paragraph does not need another request. If a page becomes an obstacle course of pop-ups, subscriptions and buttons, choosing the right shade of blue is no longer the main problem.
What should you review about scripts and consent?
The official button loads code from Google. A simple HTML link does not need to load that library before someone clicks it.
When adding third-party code, check when it downloads, which requests it makes and how it fits your website's privacy controls. Copying a snippet does not configure your consent manager.
On this website, the official button depends on the acceptance configured in the cookie notice. That describes my implementation. It is not legal advice about combining purposes or a compliance certification for another website.
Test accepting, rejecting and changing the choice after integration. Also check that the content remains readable when the button does not load.
How can you tell whether the integration works?
Check functionality first, then outcomes. They are different questions.
- The destination uses the correct domain.
- The publication appears in Google and can be selected.
- The button or link works on desktop and mobile.
- The official version follows the intended script-loading behaviour.
- The design keeps the page's text and controls accessible.
A button click does not prove a completed source selection. If you record the interaction in your measurement system, call it a click or an opening, not a confirmed new Preferred Source selection.
Do not attribute every later traffic increase to the button either. You need evidence and a method that supports the conclusion. I am presenting a tool and an implementation, not a proven growth case study.
How does it fit a content strategy?
A reader needs a reason to prefer your publication first. The button helps express a preference; it does not replace the useful information that created it.
In my article about link baiting, I explain why an open tool can give other people a reason to recommend or cite a website. This generator is an example of that type of resource, not evidence of links earned.
A lead magnet serves another goal: exchanging a useful resource for a contact detail. That linked guide is in Spanish. Here, I do not ask for an email address before generating the button. Someone can solve the task and leave.
Before measuring a content project, distinguish the outcomes. Helping a reader, earning a reference, capturing a contact and being selected as a source in Google are not the same conversion.

Which decisions depend on your website?
My blog's integration is an example, not a universal configuration. Before copying it, settle these decisions for your own website:
- Template or article: if you want the same placement in every entry, review the template. If you are running a limited test, decide where it belongs and how to remove it.
- Script or link: use an integration your editor supports. An email newsletter does not need to reproduce the web widget to send a reader to Google.
- Language: check the actual wording displayed. My blog has Spanish and English editions; each call to action should fit what the person is reading.
- Placement: check the start and end of the article separately. Seeing one instance does not establish that the other is correctly placed.
- Unloaded state: make sure hiding the widget does not leave a confusing gap or message.
Which problems should the final test catch?
Code pasted into the wrong place may appear as text rather than run. An editor may strip it when saving. A dark theme can leave a custom design with poor contrast. These are integration problems, not proof that Google rejected your source.
A destination error is different: a link opens Google, but points to another publication or to a root domain when you meant a subdomain. Read the destination rather than treating an opened tab as success.
If the widget does not appear, first check the consent state and whether the library loads as intended. If it appears but the publication cannot be selected, check that source again in Google. Do not group every failure under the same diagnosis.
Testing ends when you can explain what happens in each state, not when you obtain a screenshot with a visible button. That is the difference between placing an element on a website and reviewing the integration.
One last sip
The button does not make someone want to read you. It makes telling Google easier once they have decided.
Prepare yours with my Preferred Sources generator, check the publication in Google and review the result on your website. A small step with a specific job, rather than a button expected to fix the whole SEO strategy.


