Add as Preferred Source on Google plugin displays a banner and inline button on your website that directs visitors to Google's preferred sources feature. When clicked, the banner takes users to Google's preferences page where they can add your site as a preferred source for their personalized search results.
What it does:
- Displays a customizable banner on your website
- Links to Google's preferred sources feature
- Allows users to set your site as a preferred source in their Google Search settings
- Provides banner customization options (colors, text, position)
- Includes device-specific display controls
- Controls exactly where the banner appears with Display Rules (all pages, posts only, pages only, or front page only)
- Excludes specific categories or individual posts/pages from showing the banner
- Triggers the banner immediately on page load, after the visitor scrolls a set percentage, or after a time delay
- Tracks impressions, clicks, and dismissals with a built-in 30-day analytics dashboard
- Custom text badge — type your own button label for any language not in the built-in list; the badge renders with the Google logo in the same style as the official badges
- Inline badge style switcher — choose between the full card layout (title, subtitle, badge) or a clean simple style that shows only the badge
About Google Preferred Sources:
Google's preferred sources is a feature that allows users to indicate which sources they want to see more of in their search results. This is a Google feature, not affiliated with this plugin. Users who add your site as a preferred source may see your content more frequently in their personalized search results.
DISCLAIMER: This plugin is not associated with Google and was created to help website owners make a banner and inline card for adding their sites to Google's Preferred Source. The term "Google" is used solely to convey the plugin's function, and we are not related to Google in any way.
Thank you for using the Add as Preferred Source plugin :) If you like it, please leave a
★★★★★ rating to support us on
WordPress.org to help us spread the word to the community.
Plugin Features:
- Custom domain override for the Google Preferred Source link
- Customizable banner text with website name variable
- Color customization for background and text
- Position control (top or bottom of page)
- Device-specific display (mobile, desktop, or both)
- Cookie-based dismissal (banner stays hidden for 7 days after user closes it)
- Responsive design
- Translation ready
- Display Rules - show the banner everywhere, on posts only, pages only, or the front page only; exclude specific categories or individual post/page IDs
- Display Trigger - show immediately on page load, after the visitor scrolls a configurable percentage of the page (10-90%), or after a set time delay (1-60 seconds)
- Click-Through Analytics Dashboard - view 30-day impressions, clicks, dismissals, and click rate with a visual bar chart directly in the admin
- Custom Badge Text - type your own button label for any language not in the built-in list; the badge renders with the Google "G" logo matching the official badge style
- Inline Badge Style - switch the inline button between "Default" (full card with title and subtitle) and "Simple" (badge image only, no card)
Technical Requirements:
- WordPress 5.0 or higher
- PHP 7.2 or higher
- Modern web browser with JavaScript enabled