SourceCue Button for Google Preferred Sources is a complete Google Preferred Sources WordPress plugin that helps publishers add a Preferred Source button, official Google badge, inline call-to-action, sticky banner, or floating alert to their WordPress website. Readers can use these Google Preferred
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.3 and PHP 7.4.
SourceWordPress plugins · Nov 23, 2026
01 / Source details
Aboutthistool.
SourceCue Button for Google Preferred Sources is a complete Google Preferred Sources WordPress plugin that helps publishers add a Preferred Source button, official Google badge, inline call-to-action, sticky banner, or floating alert to their WordPress website.
Readers can use these Google Preferred Sources buttons to open Google’s Preferred Sources experience and add an eligible domain or subdomain as one of their preferred sources in Google Search.
SourceCue supports all three Preferred Sources implementation approaches documented by Google: the Standard JavaScript button, an Advanced customizable interactive button, and a Deeplink to Google’s source preferences page. You can choose the method that fits your site, customize how the Preferred Source prompt looks, control exactly where and when it appears, and optionally measure engagement with privacy-conscious local analytics.
No coding is required for normal use. SourceCue can automatically display the Preferred Sources promotion, or you can place it manually with the Gutenberg block, shortcode, action hook, or PHP helpers.
SourceCue is an independent WordPress plugin and is not affiliated with, endorsed by, or sponsored by Google.
Three Google Preferred Sources implementation methods
Choose how visitors access Google’s Preferred Sources feature.
1. Standard Google button
Use Google’s documented Standard JavaScript implementation. Google renders the interactive Preferred Sources button and handles its supported localization.
2. Advanced custom interactive button
Create your own Preferred Source call-to-action while still starting Google’s documented interactive Preferred Sources flow.
SourceCue provides six ready-to-use design presets:
Outline
Solid black
Dark gradient
Orange gradient
Dashed action
Pill
Each preset is only a starting point. You can customize the button label, solid or gradient background, text color, border color, gradient colors, gradient angle, font size, font weight, horizontal and vertical padding, border radius, border width, and border style.
Button labels support the dynamic variables {site_name} and {domain} .
Use a regular link to Google’s source preferences page without requiring the Google Preferred Sources JavaScript SDK for that element.
The Deeplink can be displayed as:
Custom text/button
Official Google Preferred Sources badge
You can also choose whether the Deeplink opens in a new browser tab.
Official Google Preferred Sources badges
SourceCue includes the translated Preferred Sources badge assets supplied through Google’s Preferred Sources documentation.
Features include:
17 supported badge languages
Automatic language selection
Manual badge-language selection
Light badge theme
Dark badge theme
Standard and Retina/high-density assets
Adjustable badge width from 40 to 676 pixels
The appropriate high-density asset is automatically available for Retina displays.
This makes it easy to add an official Preferred Sources badge without manually downloading, uploading, resizing, or managing multiple translated badge files.
Automatic Preferred Source button placement
SourceCue can automatically display your Add as Preferred Source promotion without editing your theme or inserting a shortcode into every article.
Automatic targeting options include:
Entire website
Posts only
Pages only
Front page only
Selected public post types
Custom targeting rules
For custom rules, you can select the post types that should be included and then apply additional exclusions.
Category and content exclusions
Need more control?
SourceCue includes searchable selectors that let you exclude:
Specific categories
Individual posts
Individual pages
Eligible custom-post-type entries
This allows large publishers to show the Google Preferred Sources button only where it makes sense instead of applying one global rule to every URL.
Inline Preferred Sources buttons
Automatically insert a Preferred Sources button, badge, or CTA directly into eligible content.
Available placements are:
Before content
After content
Before and after content
Inline button alignment can be set independently to:
Left
Center
Right
Inline content can run by itself or together with one global sticky banner or floating alert.
Simple inline output or customizable card
SourceCue provides two inline presentation styles.
Simple
Display only the Preferred Sources button or official badge.
Card
Create a complete in-content Preferred Sources call-to-action with:
Custom title
Custom subtitle
Preferred Sources button or badge
Card background color
Text color
Border color
Spacing controls
Card alignment
Titles and promotional text can use {site_name} and {domain} variables.
This makes it possible to build calls to action such as:
Stay connected with {site_name}
and:
Add {domain} as a preferred source in Google Search.
Sticky banners and floating alerts
SourceCue is not limited to buttons inside article content.
You can also promote Google Preferred Sources using:
Sticky top banner
Sticky bottom banner
Floating alert
Only one global banner or alert is enabled at a time, but it can operate together with automatic inline content.
Banner and alert buttons have independent Left, Center, and Right alignment controls.
Floating alerts can be placed at:
Top left
Top right
Bottom left
Bottom right
You can also configure the maximum alert width.
Display triggers
Control when a Sticky Banner or Floating Alert appears.
Available triggers include:
Immediately
After a configurable time delay
After the visitor reaches a configurable scroll percentage
This makes it possible to wait until a reader has engaged with an article before displaying the Preferred Sources invitation.
Inline article content is rendered with the content and is not delayed by these banner/alert triggers.
Desktop, tablet, and mobile visibility
Choose which device classes can see your Preferred Sources promotion:
Desktop
Tablet
Mobile
Device visibility uses responsive CSS rather than server-side user-agent detection, helping the display rules remain compatible with page caching.
Banner and alert dismissal controls
Sticky banners and floating alerts can include a close button.
After a visitor dismisses the promotion, SourceCue can:
Show it again on the next page view
Hide it for the current browser session
Hide it for a configurable number of days
Never show it again in that browser
Dismissal preferences use browser sessionStorage or localStorage rather than dismissal cookies.
Public Preferred Sources click counter
SourceCue can optionally display a public counter showing how many times visitors have clicked your Preferred Sources actions.
Customize:
Counter text
Counter position
Counter alignment
Counter color
Counter spacing
Whether zero should remain hidden
Use {count} inside the counter text, for example:
{count} readers clicked to add us
The counter can appear:
Above the button or badge
Below the button or badge
Beside the button or badge
The counter records button usage. It does not claim that Google confirmed a visitor completed the Preferred Source selection because Google does not provide the plugin with such a completion callback.
Optional local Preferred Sources analytics
SourceCue includes optional local analytics for Google Preferred Sources buttons .
Analytics is disabled by default.
When enabled, the plugin records aggregated daily statistics inside your own WordPress database rather than creating individual visitor profiles.
The 30-day analytics dashboard reports:
Impressions
Clicks
Dismissals
Click-through rate (CTR)
Analytics can also be broken down by placement:
Inline
Inline Card
Sticky Banner
Floating Alert
By implementation:
Standard Button
Custom Button
Official Badge
Text Deeplink
And by integration source:
Automatic placement
Shortcode
Gutenberg Block
Action Hook
PHP Helper
Manual / Other
SourceCue does not store IP addresses, visitor IDs, WordPress user IDs, cookies, or individual page-view records for its local analytics.
Gutenberg Preferred Source block
SourceCue includes a dedicated Gutenberg block.
Search for:
SourceCue Button for Google Preferred Sources
inside the WordPress Block Editor and place the Preferred Sources action wherever you need it.
The block uses the same central plugin configuration while allowing manual placement inside posts, pages, templates, and other block-supported content.
Preferred Sources shortcode
Use the shortcode:
[psbgs_preferred_source]
for manual placement in content, widgets, builders, or other shortcode-compatible areas.
Examples:
[psbgs_preferred_source mode="standard" theme="dark" align="center"] [psbgs_preferred_source mode="custom" label="Add {site_name} as a Preferred Source"] [psbgs_preferred_source mode="deeplink" deeplink_style="official_badge" badge_theme="dark" badge_lang="hi" badge_width="160"] [psbgs_preferred_source mode="standard" presentation="alert" alert_position="bottom_right" trigger="scroll" scroll="35"] [psbgs_preferred_source inline_style="card" inline_title="Stay connected with {site_name}" inline_subtitle="Add {domain} as a preferred source in Google Search."]
Live Preview
SourceCue includes a live admin preview so publishers can see their Preferred Sources presentation while configuring it.
Separate previews are available for:
Inline content
Banner / alert presentation
Changes update immediately in the settings interface.
The Standard Google button is represented by a preview placeholder, while official badge previews use the bundled badge asset.
Cache-friendly display controls
02 / Source details
Gettingstarted.
01Upload the plugin ZIP from Plugins > Add New > Upload Plugin, or install it from WordPress.org after publication.
02Activate “SourceCue Button for Google Preferred Sources”.
03Go to Settings > Preferred Sources.
04Confirm the source domain or subdomain and choose an implementation method.
05Configure display rules, presentation, and optional analytics.
06Save the settings and test the result on the front end.
03 / Source details
Frequently asked questions.
Is this plugin affiliated with Google?
No. It is an independent WordPress plugin that implements Google’s publicly documented Preferred Sources methods.
Does the plugin make my site eligible for Preferred Sources?
No. Google controls eligibility. Preferred Sources eligibility is domain/subdomain based, and a subdirectory such as example.com/blog is not a separately eligible source.
Which implementation should I use?
Google recommends the Standard JavaScript implementation. Use Advanced when you need a custom button design, or Deeplink when you want a regular link or locally served official badge.
Does this improve search rankings?
The plugin does not guarantee rankings or traffic. It only provides controls that help readers access Google’s Preferred Sources feature.
Does the plugin track visitors?
Optional analytics is disabled by default and uses aggregate local counters only. It does not build visitor profiles. Standard and Advanced modes do load Google’s documented external SDK when rendered; see External services for details.
Does the public counter show confirmed preferred-source selections?
No. It counts clicks on the Preferred Sources action. Google does not provide this plugin with a confirmed-completion callback for a successful selection.
Does the plugin use cookies for banner dismissal?
No. Dismissal settings use browser sessionStorage/localStorage.
Does it work with caching plugins?
The front-end visibility rules are designed to be cache friendly. The plugin also offers an optional cache purge after its settings are saved when a supported cache plugin is detected.
Does it require jQuery?
No.
What happens to plugin data when I uninstall it?
Full cleanup is enabled by default. Deleting the plugin removes its settings, public click counter, analytics database-version option, custom analytics table, and scheduled plugin events. You can turn off database cleanup in Advanced & Usage > Data Management if you intentionally want to keep the stored settings and analytics for a later reinstall. Scheduled plugin events are always removed because the plugin code will no longer be present.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati