Google Customer Reviews integration
Posted: Thu Apr 06, 2017 5:52 pm
Has anyone been able to successfully integrate Google Customer Reviews? I have seen the mod for it but don't know if its worth getting.
here is the code for it
<script src="https://apis.google.com/js/platform.js? ... enderOptIn" async defer></script>
<script>
window.renderOptIn = function() {
window.gapi.load('surveyoptin', function() {
window.gapi.surveyoptin.render(
{
"merchant_id": ******,
"order_id": "ORDER_ID",
"email": "CUSTOMER_EMAIL",
"delivery_country": "COUNTRY_CODE",
"estimated_delivery_date": "YYYY-MM-DD"
});
});
}
</script>
Thanks
here is the code for it
<script src="https://apis.google.com/js/platform.js? ... enderOptIn" async defer></script>
<script>
window.renderOptIn = function() {
window.gapi.load('surveyoptin', function() {
window.gapi.surveyoptin.render(
{
"merchant_id": ******,
"order_id": "ORDER_ID",
"email": "CUSTOMER_EMAIL",
"delivery_country": "COUNTRY_CODE",
"estimated_delivery_date": "YYYY-MM-DD"
});
});
}
</script>
Thanks