wiseseo:~/news/google-favorites-button-data-label $

date
category
[UPDATES]
impact
LOW
status
OFFICIAL DOC
read
1 min

Google documents a data-label for the Add to favorites button

Google documented data-label values for the Add to favorites button: default, source, or creator. New examples use google-favorites-btn.

TL;DR

  • On 4 December 2026 Google documented a data-label attribute for the Add to favorites button.
  • The labels are default, source, and creator. New examples use google-favorites-btn. Older buttons still work.
  • Optional. Creator-led sites can set data-label to creator. New installs should use google-favorites-btn.

On 4 December 2026, Google added a section on customizing the label of the "Add to favorites" button. The control is the data-label attribute. The 4 December documentation update records the change, and the favorites guide lists three labels.

The default label is "Add to favorites". source is "Add source to favorites". creator is "Add creator to favorites". The documented creator example is <div google-favorites-btn data-label="creator"></div>.

JavaScript examples in the guide now use the google-favorites-btn attribute. Existing google-add-preferred-source-btn buttons keep working, show the new branding, and need no code change. The same documentation also covers data-theme, with light and dark, and data-lang.

The 1 December merge of Preferred Sources and Discover Follow is in Favorites replaces Preferred Sources and Discover Follow.

what to do

This is optional. A creator-led site can set data-label="creator". A new install should use google-favorites-btn.

refs

  1. [1] Latest documentation updates, 4 December 2026 (Google Search Central)https://developers.google.com/search/updates
  2. [2] Guide to Favorites in Google Search for web publishers (Google Search Central)https://developers.google.com/search/docs/appearance/favorites