Re: Google Merchant Center Customer reviews

Solved

How can I set the estimated delivery date to 10 days after the order in Google Merchant Center?

x264
Tourist
10 2 1

Hello,

i have set up the customer reviews in the merchant center.

 

i inserted the script in the checkout but there is one problem:

 

<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": XXX,
          "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>

 

I know there are dynamic tags that i can insert  in the script like email, currency etc. and i already did that but how can i set the estimated delivery date to 10 days from the order date?

 

What is the dynamic tag to set estimated delivery 10 days in the future from the order date?

 

Accepted Solution (1)

EmmanuelFlossie
Shopify Partner
3828 294 871

This is an accepted solution.

Here is a working code for you: https://feedarmy.com/kb/install-google-customer-reviews-in-shopify/

 

Basically what you do is add the days to the current date (now)

Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).

View solution in original post

Replies 3 (3)

EmmanuelFlossie
Shopify Partner
3828 294 871

This is an accepted solution.

Here is a working code for you: https://feedarmy.com/kb/install-google-customer-reviews-in-shopify/

 

Basically what you do is add the days to the current date (now)

Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).
MichaelB645
Visitor
1 0 0

We have used your code, but only a few customers have received the survey offers in our google merchant center dashboard. Less than 1% of customers have been offered? Your instructions don't state whether to put the code in the post purchase page additional scripts or the order status page additional scripts as those are now separated in Shopify. Assistance would be appreciated.

EmmanuelFlossie
Shopify Partner
3828 294 871

It should be order status.

Maximize Your Google Shopping Performance
Get in touch for expert guidance. Need Google Merchant Center or Google Shopping support?
Get expert help from Emmanuel Flossie, a Google Shopping Specialist, Google Ads Diamond Product Expert, and award-winning Google Product Expert (Education 2021 & Tailwind Champion 2023).