If you’re running an eCommerce store on Shopify, displaying the Google Merchant Center Store Badge can help build trust with potential customers and improve your store’s credibility. This badge is available to merchants who meet Google’s quality requirements, and once enabled, it appears on free listings and shopping ads.
In this guide, we’ll walk you through how to check your eligibility and install the Google Merchant Center Store Badge on your Shopify store.
Step 1: Check Your Eligibility
Before adding the badge to your store, you need to check if you’re eligible.
- Log in to Google Merchant Center
- Go to “Store Quality”
- Check if the badge option is available
- If you see the option “Show the badge on your website,” you’re eligible.
- Clicking on this option will provide the required code snippet.

Step 2: Copy the Badge Code
Google provides a default code snippet to display the store badge. To adjust its positioning, you can modify the margin settings within the code.
You can also copy the code below.
<!-- GMC Store Badge -->
<script id='merchantWidgetScript' type="lazyload_int" data-src="https://www.gstatic.com/shopping/merchant/merchantwidget.js" ></script>
<script type="lazyload_int">
merchantWidgetScript.addEventListener('load', function () {
merchantwidget.start({
position: 'RIGHT_BOTTOM',
sideMargin: 21,
bottomMargin: 33,
mobileSideMargin: 11,
mobileBottomMargin: 19
});
});
</script>
<!-- GMC Store Badge -->
Placement Considerations
- Ensure the badge does not overlap UI elements, such as a chatbox.
- Common placements include the bottom-left or bottom-right corners of the website.
Once you’ve chosen your placement settings, copy the code provided by Google Merchant Center.
Step 3: Add the Code to Shopify
Method 1: Directly in the Theme Code
- Log in to Shopify Admin
- Go to Online Store → Themes
- Click on the three-dot icon and select Edit Code
- Open the theme.liquid file
- Locate the <head> section and paste the badge code at the bottom
- Click Save
Method 2: Using a Snippet (Recommended for Clean Code)
If you want to keep your theme code clean, create a snippet file for the badge.
- In the Shopify code editor, go to the Snippets folder
- Click “Add a new snippet” and name it gmc-badge
- Paste the badge code into the snippet and save it
- Include the snippet in your theme
- Open theme.liquid
- Add {% render ‘gmc-badge’ %} at the bottom of the <head> section
- Click Save
This method keeps your main theme file cleaner and easier to manage.
Step 4: Wait for Activation
Once you’ve added the code:
✅ The badge will be displayed on your store.
✅ Google takes around a month to activate it fully.
This delay happens because Google periodically verifies your store’s quality before officially enabling the badge.
How the Badge Appears on Your Site
- When the page loads, the badge may briefly appear as a large icon before shrinking.
- Clicking on the badge will display store quality details as seen in Google Merchant Center.
- If your store has lower ratings in some areas, it may affect customer perception, so ensure your merchant quality metrics are in good standing before adding the badge.



Benefits of the Google Merchant Center Store Badge
- Boosts Trust & Credibility
- Customers are more likely to purchase from a verified store.
- Appears in Shopping Ads & Free Listings
- Initially available only for free listings, this badge also appears on paid Google Shopping Ads, improving visibility.
- Higher Click-Through Rates (CTR) & Conversions
- Visualizing your store’s quality can increase clicks and boost sales.