Want Google Seller Star Ratings on your Google Shopping ads? Get Setup on WhatsApp (+44 7473 983848) →
ScaleGMC Logo
SOCIAL PROOF & CONVERSION

How to Add Google Customer Reviews Badge to Shopify (Free Liquid Snippet — Zero Monthly Apps)

Author: ScaleGMC Theme Engineering Lab Reading Time: 7 Mins Updated: 2026 Edition
OFFICIAL GOOGLE SELLER RATING PREVIEW
★★★★★ 4.9 / 5.0 (1,240 Reviews)

Stores with Google Seller Ratings achieve an average +17% higher Click-Through Rate (CTR) on Google Shopping and Search Ads compared to non-rated competitors.

1. What Is Google Customer Reviews?

Google Customer Reviews is a free official Google program. After a buyer places an order on your Shopify store, Google automatically shows a modal asking if they would like to review their purchase experience. Once your store collects 100 verified reviews in a country, Google awards you official Seller Rating Star Badges on your Google Ads and Shopping listings.

2. Copy-Paste Code: Shopify Order Status Page (Checkout)

Go to Shopify Admin > Settings > Checkout > Order status page scripts (or Customer Events) and paste the following snippet:

{% if first_time_accessed %}
<!-- BEGIN Google Customer Reviews Opt-in -->
<script src="https://apis.google.com/js/platform.js?onload=renderOptIn" async defer></script>
<script>
  window.renderOptIn = function() {
    window.gapi.load('surveyoptin', function() {
      window.gapi.surveyoptin.render(
        {
          "merchant_id": "YOUR_GMC_ACCOUNT_ID",
          "order_id": "{{ order.order_number }}",
          "email": "{{ order.email }}",
          "delivery_country": "{{ order.shipping_address.country_code }}",
          "estimated_delivery_date": "{{ 'now' | date: '%s' | plus: 604800 | date: '%Y-%m-%d' }}"
        });
    });
  }
</script>
<!-- END Google Customer Reviews Opt-in -->
{% endif %}

3. Adding the Floating Google Reviews Badge

To display the floating badge on your storefront, paste this in layout/theme.liquid before the closing </body> tag:

<script src="https://apis.google.com/js/platform.js" async defer></script>
<g:ratingbadge merchant_id="YOUR_GMC_ACCOUNT_ID" position="BOTTOM_RIGHT"></g:ratingbadge>

4. Zero Speed Penalty Guarantee

Because this script is served directly from Google's lightning-fast CDN with async defer, it loads with zero speed penalty and saves you over $600/year in third-party review app subscriptions.

Need Custom Liquid Code Integration?

Let our Shopify developers integrate Google Customer Reviews and custom theme widgets cleanly.

Chat on WhatsApp (+44 7473 983848)