ClasesSEO
ES EN
SEO Search Engine Optimization

Google Preferred Sources: How to Add the Button to Your Site

9 min read Leer en español
Table of contents

Google preferred sources are not a ranking trick: they are a preference the reader activates. The button itself is two lines of HTML, but it only works if your domain is eligible, and that condition fails far more often than people expect.

What preferred sources are and why they exist

In January 2026 Google added a way for a reader to tell Search which sites they trust on a given topic. It is not a feed and it is not a newsletter: it is a list stored in the reader's Google account. When that person searches for something newsworthy, your content competes with an edge, because the system already knows your site works for them.

The mechanic in one sentence

The reader marks your site as a preferred source, either from the star next to Top Stories or by clicking the button you install on your own site. From that moment, for that user, your content is more likely to appear in Top Stories and carries a "preferred" badge.

It is not a megaphone for everyone: the reader adds you to a trust list and Google respects that list on the next search. Everyone else sees you exactly as before.

Where the badge shows up

In Top Stories globally, in every language where Search exists since April 30, 2026. Since May 27 it also appears in AI Mode and AI Overviews for the users who marked you. That move into generative answers is what made the feature interesting.

A technical detail almost nobody mentions: for the AI surfaces, existing is not enough. Your site has to be included in the generative AI features from Search Console, which is a separate switch covered in the guide to generative AI controls in Search Console.

What it is not

It is not a subscription, it does not change how other users see you, it cannot be bought and it cannot be automated. It is also not a requirement to rank: the official documentation states that implementing the button is not required to appear as a preferred source.

Before you touch code: is your site eligible?

This is the part that decides whether the rest of the article is useful or just background reading.

Domain or subdomain, never a subdirectory

Only domain-level and subdomain-level sites are eligible for the source preferences tool. example.com and blog.example.com qualify; example.com/blog does not. This is the requirement that rules out the most people, and a solid reason not to park an important blog in a subfolder if this channel matters to you.

The practical consequence is awkward: if your site lives in a subdirectory of a platform, the feature is unavailable and the deeplink will not fix it.

The generative AI switch in Search Console

For AI Mode and AI Overviews you have to explicitly allow the site to be used in generative AI features. If that permission is off, the badge never appears on those surfaces even when the reader has marked you, and no error message warns you.

The 10-second test

Open Google's source preferences tool, type your domain and see whether it shows up. If it does not, no button will help: inclusion cannot be requested from Search Console. It is the first step of any implementation and it costs less than reading this article.

The standard button: two lines and done

For a blog or a newsroom with its own template, this is all you need. Google renders the button with its own design, translated, and sends the reader back to the same page.

The code

An async script in the head plus an empty container wherever you want the button:

<script async src="https://news.google.com/swg/js/v1/publisher.js"></script>
<div google-add-preferred-source-btn data-theme="light"></div>

The useful attributes are few: data-theme takes light or dark so the button matches your design, and data-lang forces a language instead of the browser default.

What happens on click and why UX matters

Google owns the flow: the reader confirms the preference and comes back to your page. You pass no data, you need no backend, and the button looks the same on mobile and desktop.

The real technical cost is one more third-party script. It already ships with async, so it does not block rendering, but keep it out of templates rendered hundreds of times per visit.

Full control with the SDK if your site is not a plain blog

When manual mode is worth it

If you want to trigger the flow from your own button or from an end-of-article modal, there is a manual mode: load the script with preferred-sources-control="manual" and initialise it through ESM with publisher.mjs, calling preferredSource.init() and then addPreferredSource().

The practical rule: if you do not need a custom design, the standard button performs better with less code. The SDK only pays off on carefully designed interfaces.

There is a third route that needs no script: https://www.google.com/preferences/source?q=example.com opens the tool with your domain already searched. It works for a closed CMS, a newsletter or a social profile bio.

Its limit matters: it does not return the reader to your page. It opens Google and the journey ends there. It can be a text link or an image, because Google publishes translated graphic assets for the button.

Where to put it and where not to

Three placements that work

At the end of the article, once the reader has decided your content helps. On the section or topic landing page, for first-time visitors. And in the newsletter or email signature, with the deeplink since there is nothing to render.

Three ways to ruin it

Dropping it in the head of every page as a floating banner, which covers content on mobile. Repeating it three times in the same article, which turns the invitation into noise. And selling it as "subscribe" when it only changes a preference in Google.

One performance detail: an empty container can cause layout shift if the script is slow. Reserving a fixed height prevents that shift and protects your stability metric. No full-screen position: fixed.

What this feature does NOT do

It is not a ranking factor. The documentation does not list it among ranking signals and no report measures it as a position: what changes is the likelihood of appearing in Top Stories for the people who marked you, nothing else.

It does not fix a site without timely content. Top Stories is a news surface, and if you publish evergreen guides the only possible benefit is the AI badge, which is small. If you need that surface explained first, the article on how to appear in Google News and Top Stories covers requirements and access.

It does not replace quality or topical authority either: if a reader marks you and your next piece does not deliver, you lose the mark on the following search. The figure that does exist, with context, is Google saying readers are twice as likely to click through to a site after marking it as preferred, and that more than 200,000 sites have already been selected. That is an average about behaviour, not a promise for your site.

How to tell whether it is working

What you can see in Search Console

The performance report filtered by the News search type, with clicks and impressions for Top Stories. And the generative AI report, with badge impressions, explained in the article on the generative AI report in Search Console. With fewer than four weeks of data, any conclusion is noise.

What you have to measure yourself

If you implement the SDK, log clicks on your own button as an analytics event: the standard button gives you no such data. The deeplink can be tracked with URL parameters on the destination if your analytics captures them.

The awkward warning: the preference travels neither in the URL nor in the referrer, so do not expect to attribute "preferred sources" traffic in Analytics. You measure by surface, in Top Stories and in AI answers, not by channel.

Seven-point checklist for preferred sources

  1. Confirm in the preferences tool that your domain or subdomain appears.
  2. Verify that generative AI features are enabled in Search Console.
  3. Install the standard button in the article template, with a data-theme that fits the design.
  4. Reserve container height so the layout does not move.
  5. Place one call to action at the end of the content, not everywhere.
  6. Add the deeplink to the newsletter and social profiles.
  7. Measure Top Stories and AI clicks at 4 and 8 weeks. If the site publishes no timely content, assume the impact will be marginal and do not divert resources.

As a mental map: this is a retention channel for newsrooms, not a growth lever for tutorial blogs. It is worth implementing where there is timely content, and it is not worth spending a quarter forcing eligibility where none exists.

We use cookies to improve your experience and analyze site traffic. By continuing to browse you accept their use.

Privacy