Posted - 12/12/2017 : 09:35:23
Hi all,
I'm trying to implement the script for the Google Merchant Customer Reviews. It says to add a code to the order confirmation page (thanks.asp) and to adjust the variables as needed. Can someone help?
"order_id": "ORDER_ID", "email": "CUSTOMER_EMAIL", "delivery_country": "COUNTRY_CODE", "estimated_delivery_date": "YYYY-MM-DD"
Kind regards,
Mo
<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": 110586577, "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>
|