Email for Google Reviews dont come

Mromat
Excursionist
15 0 4

Hello, 
i have problem about Google Rewiev script.

The emails form Google dont come to customers. I paste script and somewhere is wrong line that emails dont come.

After purchasing, after payment there is good windows with good customer email with asking about reviewing. When I click Yes then email dont come after set time.

Now my time is 10 sekonds becouse I want to check if it works and dont want to wait 3 days.

i paste You my script. Do you see any problem?

<!– 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": 448097054,
"order_id": "{{ order.name }}",
"email": "{{ order.email }}",
"delivery_country": "{{ shipping_address.country_code }}",
"estimated_delivery_date": "{{ order.created_at | date:'%s' | plus:10 | date:'%F' }}"
});
});
}
window.___gcfg = {
lang: '{{ shop_locale.iso_code }}'
};
</script>
<!– END Google Customer Reviews –>

0 Likes
Mromat
Excursionist
15 0 4

SOLVED

0 Likes