Google Customer Reviews, how to integrate?

New Member
5 0 0


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

I entered the below code in my checkout additional scripts:

{% if first_time_accessed %}
<!-- BEGIN Google Customer Reviews -->
<script src="" async defer></script>
  window.renderOptIn = function() {
    window.gapi.load('surveyoptin', function() {
          "merchant_id": 124030828,
          "order_id": "{{ }}",
          "email": "{{ }}",
          "delivery_country": "{{ shipping_address.country_code }}",
          "estimated_delivery_date": "{{ order.created_at | date:'%s' | plus:432000 | date:'%F' }}"
  window.___gcfg = {
  lang: 'en_GB'
<!-- 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.


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