AmberWhite got a reaction from
onlineKarma in How to integrate google Customer Reviews survey opt-in module?
February 12, 2021
I have to add this:
<!-- BEGIN GCR Opt-in Module 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
"merchant_id": "MERCHANT_ID",
"order_id": "ORDER_ID",
"email": "CUSTOMER_EMAIL",
"delivery_country": "COUNTRY_CODE",
"estimated_delivery_date": "YYYY-MM-DD",
// OPTIONAL
"products":[{"gtin":"GTIN1"}, {"gtin":"GTIN2">}],
"opt_in_style": "OPT_IN_STYLE"
});
});
}
</script>
<!-- END GCR Opt-in Module Code -->
To the confirmation page, but I'm missing dynamic values for the " "estimated_delivery_date" and gtin1 and gtin2.
I figure order id one can use the tag squarespace provides {orderId} as well as email address.
But I can't find other values anywhere, not even customer service knows.
Can someone help me?
I am trying to collect seller reviews and product reviews so I can show these badges on shopping ads from google ads.
Has anyone done this or have they used a review aggregator? Or is there another service which will accomplish this?
THanks!
Amber