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

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

callumsherin
Tourist
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="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(

{

// REQUIRED

"merchant_id": "MERCHANT_ID",

"order_id": "ORDER_ID",

"email": "CUSTOMER_EMAIL",

"delivery_country": "COUNTRY_CODE",

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

// OPTIONAL

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

"opt_in_style": "OPT_IN_STYLE"

});

});

}

</script>

<!-- 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)

EmmanuelFlossie
Shopify Partner
3350 255 805

I have a step by step guide on how to correctly install the code: https://feedarmy.com/kb/install-google-customer-reviews-in-shopify/

 

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?.