Personalized checkout and custom promotions with Shopify Scripts
Hi community,
I have been collection Google Shopping reviews for long time and this went all well until a few weeks ago, where my customer kept on accepting to receive the Google Survey but the survey was not send.
If you are not familiar with this system: in the additional checkout scripts, there is a script added that shows up a pop-up with request for a survey at the confirmation page of the customer after the order is place.
I am using the following script:
{% 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": [MY MERCHANT ID],
"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: '{{ shop_locale.iso_code }}'
};
</script>
<!-- END Google Customer Reviews -->
{% endif %}
What could be the reason that Google is not able to send the survey to my customer, what seems to be happening.
Could this be dependent on the following line of code: "email": "{{ order.email }}",
Any suggestions are more than welcome 🙂
Kind regards,
Wouter van der Meer
I believe emails are sent out after x amount of time, I thought it was 2 weeks, so you should see a gap where no emails are sent, due to waiting till the correct time has reached.
I have actually never looked at this, as most my clients use other review platforms.
User | RANK |
---|---|
4 | |
2 | |
2 | |
1 | |
1 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023