How can I set up Google customer reviews at the order confirmation stage?

8 0 4

Hi All,

I would like to set up google customer reviews at the order confirmation stage but it looks like I need to add a redirect due to the URL ?


Could anyone help me with this as I have no idea how to add this to the site?


I understand how to add the code below but I have tested it with no service review pop up (I have also changed the relevant merchant ID etc.. )


<!-- BEGIN GCR Opt-in Module Code -->

<script src=""

async defer>



window.renderOptIn = function() {

window.gapi.load('surveyoptin', function() {




"merchant_id": "MERCHANT_ID",

"order_id": "ORDER_ID",

"email": "CUSTOMER_EMAIL",

"delivery_country": "COUNTRY_CODE",

"estimated_delivery_date": "YYYY-MM-DD",


"products":[{"gtin":"GTIN1"}, {"gtin":"GTIN2">}],

"opt_in_style": "OPT_IN_STYLE"





<!-- END GCR Opt-in Module Code -->


Place the code just before the closing </BODY>


Any help would be greatly appreciated. it's probably something really simple but I am not 100% on it.


Best Regards 

The Smart Cave
Reply 1 (1)

Shopify Partner
3051 226 731

I have a step by step guide on how to correctly install the code:


My code is more extensive so it will look different, it just has more features included.

Get in touch with Emmanuel: a Google Shopping Specialist, Google Ads Diamond Product Expert, and also a a Google Product Expert Education 2021 & Tailwind 2023 Award winner.
Need Google Merchant Center or Google Shopping support?.