Integration of Google Surveys activation service
-
Hello!
Where can I find the values in the location required in this code?
<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
“order_id”: ” ???? “,
“email”: ” ???? “,
“delivery_country”: ” ???? “,
“estimated_delivery_date”: ” ???? “,
// OPTIONAL FIELDS
“products”: [{“gtin”: ” ???? “}, {“gtin”: ” ???? “}]
});
});
}
</script>
Hi al2min,
Thanks for reaching to us.
This is related to Google Reviews configurations, you can read more here https://support.google.com/merchants/answer/7124018?sjid=9290603683790807750-AP&hl=en
Or contact Google support team for more details.
Regards,
I have done all the steps on Google because I have to match the code with the site and fill out the matching procedure with the site, but I do not know where to find the values for the site, the values of the order number, the values of the email, the country, the date, and the barcode.
“order_id”: ” ——— “,
“email”: ” ———- “,
“delivery_country”: ” ——— “,
“estimated_delivery_date”: ” ——– “,
“products”: [{“gtin”: ” ——– “}, {“gtin”: ” ———- “}]
Hi al2min,
Unfortunately, we currently do not have a ready solution that requires customization, which is not included in our support.
Regards,