Google Product Reviews Survey Opt-In Module Code for Order Conf page

Hi,

I’m trying to add Google Product Reviews code to my Shopify Confirmation page. How do we make this work?

https://support.google.com/merchants/answer/7106244?hl=en&sjid=1355656527919146021-NC&visit_id=638439791006938080-3398689083&ref_topic=7105160&rd=1

Shopify said to go to settings, checkout and scroll down to order status page and add the code to the additional scripts section. However, there is language in the code that needs to be modified. See attached screenshot.

Anyone have any experience getting this to work?

After upgrading to the Shopify extensibilty, the Google opt-in reviews are not working. We have moved the code to the customer events sections as well, but still not working. Can you please help us in fixing this issue.

2 Likes

Hi, @Phani !

Thanks for reaching out here.

For context, our Community team can’t access accounts from our end, however we’d be happy to continue to assist you via our live support channels here at the link. Please share your query there so that our team can investigate this further!

If you are still trying to do this, here is the code we use in additional scripts. Just put your Google merchant id in the merchant_id field. This doesn’t work with the new Shopify post-purchase page, so if you have upgraded to that, it won’t work. I am waiting for help from Google and Shopify for a solution, so we can upgrade to the new page and still use the Google opt-in script:

{% if first_time_accessed %}

{% endif %}

2 Likes

Isn’t the Additional Scripts function depreciated?

1 Like

Following this thread as I have a client wanting to add this script to their site

1 Like

Yes. If you have upgraded to the new checkout extensibility, this code will not work. Unfortunately, Shopify has no solution for the scripts being deprecated as of yet.

Is there any update please to this issue? This is not working for us either. Thanks

1 Like

Thank you this works. But which tags should I use instead of GTIN1 and GTIN2?

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

I also have this issue. I don’t see anywhere to add additional scripts

With the new checkout extensibility this isn’t working anymore.
There are several apps out there such as https://apps.shopify.com/google-customer-reviews - they basically add a button, then leading to a proxy page which shows the opt-in popup.