Personalized checkout and custom promotions with Shopify Scripts
Hi there,
In the Google Merchant Center (GMC), there still shows we miss the setting/set-up for the ''Google Store Reviews''.
We tried to add it via a HTML script and instruction and put in at the Shopify Settings, and then at the Check-out HTML field. However it is not working & the GMC is also not recognizing it. We asked Google Support about it and they mentioned it need to be put at the 'Order Confirmation Page', but they could us not help us furtherly with the Integration or tips & advise on it, and re-directed us to Shopify Support for this. It could be therefore we are at the wrong section. Perhaps it should be put somewhere else (theme code), we are using the wrong html code, or it is only possibile if you have Shopify Plus (since then you have acces to the confirmation page we heard sometime before).
The html code we have in the additional scripts at the Checkout, at Settings is as per below. Our Merchant Center ID we made XXXXXXXXX. Hope someone is there that can help/guide, to also have this integrated & we can send Customers these official Google Store Review requests. Many thanks!
Url link for Store reviews Google provided when we click at the Store Google Review section, where it mentions to SET-UP the Google Store review automation: https://support.google.com/merchants/answer/190657
Quote:
{% 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”: XXXXXXXXXXX,
“order_id”: “{{ order.name }}”,
“email”: “{{ order.email }}”,
“delivery_country”: “{{ shipping_address.country_code }}”,
“estimated_delivery_date”: “{{ order.created_at | date:'%s' | plus:604800 | date:'%F' }}”
});
});
}
window.___gcfg = {
lang: ‘{{ shop_locale.iso_code }}'
};
</script>
<!– END Google Customer Reviews –>
{% endif %}
<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 FIELDS
"merchant_id": XXXXXXXXX,
"order_id": "ORDER_ID",
"email": "CUSTOMER_EMAIL",
"delivery_country": "COUNTRY_CODE",
"estimated_delivery_date": "YYYY-MM-DD",
// OPTIONAL FIELDS
"products": [{"gtin":"GTIN1"}, {"gtin":"GTIN2"}]
});
});
}
</script>
Because Shopify has moved to pixels, you will not get this working, unless you are using an app, such as https://apps.shopify.com/easy-google-customer-reviews
If you don't want to use this, then I recommend using a different review platform, there are plenty of 3rd party review aggregators supported, here is a list: https://support.google.com/merchants/answer/14620160
Thanks for your reply. Yes we already use different review apps, for Product reviews and Company/Brand Reviews. Only Google is also a ''welknown'' platform, where the Google Company Reviews also come in the heading, when searching for a Company.
Regarding this App, we don't want/need to have these Google Reviews on our website (it doesn't fit in our Lay-out). Also to embedd Google Reviews on your website is more an ''American'' thing (i believe), in ''Europe'' we use other platforms & again the lay-out from Google is not very suitable.
In the meantime we didn't found a suitable solution yet, where Google Company Review Invitations are being send Automatically to our Customers. - So in the ''Google Merchant center'' it still shows as ''INCOMPLETE'' because the Embeded HTTML code doesn''t work.
- Also we noticed that allthough we entered ''Shipment Settings'' with delivery days to all European offered countries, this section also shows still as ''INCOMPLETE". Maybe it has to do with that the ''location we ship from'' is also mentioned in a Section below, but here is only available GERMANY, FRANCE, and AMERICA. We are located and ship from The Netherlands (as per our company settings/details), So a bit ODD/Strange that the System is so Limited with Country choice.
For now we added some TEXT in a Mail Flow at the Order Confirmation Mail, to leave a review (how they thought website looked and how the order process went), but not much result on this yet. Mainly customers first want the product, so maybe we send a second mail flow on for this (allthhough we already have other review apps/mails, so it can become a bit to much)
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025