Google Customer Reviews, how to integrate?

Highlighted
New Member
5 0 0

Hi,

I've tried to integrate the Google Customer Reviews. I followed the below instruction:

https://www.digitaldarts.com.au/how-to-integrate-google-customer-reviews-in-shopify

I entered the below code in my checkout additional scripts:

{% if first_time_accessed %}
<!-- BEGIN Google Customer Reviews -->
<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": 124030828,
          "order_id": "{{ order.name }}",
          "email": "{{ order.email }}",
          "delivery_country": "{{ shipping_address.country_code }}",
          "estimated_delivery_date": "{{ order.created_at | date:'%s' | plus:432000 | date:'%F' }}"
        });
    });
  }
  window.___gcfg = {
  lang: 'en_GB'
};
</script>
<!-- END Google Customer Reviews -->
{% endif %}

 

And it doesnt work. Should i doo anything else? I'm not familiar with coding. So if anyone could write a step by step guide, please.

0 Likes

Hi Nat-UI.

Thanks for checking out my guide :-). Hundreds of store owners and marketers have followed it to setup Google Customer Reviews in Shopify.

Have you followed all the other steps? You cannot simply copy and paste the line of code. You will need to register for the program and replace values in the script.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
0 Likes