[Snippet] Google Customer Reviews Snippet for WooCommerce

With this snippet, you can implement Google Customer Reviews in your WooCommerce store.

In order to make this snippet work, you will need to get your merchant ID from your Google Merchant Center.

The snippet consists of three parts:

(1) action to add the Google Customer Reviews language code to your store. Use this to ensure the opt-in will use the same language as your store. Available language codes can be found at https://support.google.com/merchants/answer/7106244

(2) action to add the GCR opt-in to your checkout confirmation page. This will result in an opt-in overlay on WooCommerce’s thank-you page. Your customers will be able to opt-in to Google Customer Reviews emails.

(3) action to embed the Google Customer Reviews badge on your store. This will show the GCR logo with your current rating. The default positioning is in the bottom right. Find more about positioning options at https://support.google.com/merchants/answer/7105655

Get the Snippet

Find this snippet on Github.

Need Help?

Please let us know in the comments if the snippet does not work for you or if you need any help.

Share on whatsapp
Share on email
Share on facebook
Share on twitter
Share on linkedin

About the author


Join the discussion about ‘Google Customer Reviews Snippet for WooCommerce’

4 Responses

  1. Thank you very much, it worked perfectly!

    One question, I done one test order, and I got the pop-up message. How much time usually takes to google email customer? After a hour and half i didn’t received email. Or there is some other way to test that the system is actually working?

    1. Hi there, thanks for the feedback!
      If you see the pop-up, the review system is working correctly. Google will take care of the rest.
      To set the time delay for the emails, you need to configure the estimated delivery date (line 70 above). Google will only send review emails after the customer has received the goods. Therefore, this setting will directly influence the time it takes until those emails will be sent.

Leave a Reply