• Resolved malhyp9

    (@malhyp9)


    Hi all, in relation to Google Reviews option at the checkout for WooCommerce. We used the following though noticing that the email is sent out from Google 7 days after the order is paid for. In most cases it can take 7-14 days for the customer to receive the order.

    Can anyone suggest if its possible to delay the email sent from Google Reviews to 14 days instead of 7?

    We asked Google Reviews team and they didnt know much, basically suggested that we contact our eCommerce support.

        <script>
          window.renderOptIn = function() {
            window.gapi.load('surveyoptin', function() {
              window.gapi.surveyoptin.render(
                {
                  // REQUIRED FIELDS
                  "merchant_id": 0000000,
                  "order_id": "<?php echo $order->get_id(); ?>",
                  "email": "<?php echo $order->get_billing_email(); ?>",
                  "delivery_country": "<?php echo $country_code; ?>",
                  "estimated_delivery_date": "<?php echo $estimated_delivery_date; ?>",
    
                  // OPTIONAL FIELDS
                  //"products": [{"gtin":"GTIN1"}, {"gtin":"GTIN2"}]
                });
            });
          }
        </script>

    we tried the following which we found online though it shows an error at the checkout when viewing source code.

    // OPTIONAL FIELDS
    //”products”: [{“gtin”:”GTIN1″}, {“gtin”:”GTIN2″}],
    “delay_days”: 14,
    });
    });
    }

    Any feedback is appreciated, take care.

Viewing 1 replies (of 1 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @malhyp9

    I understand you’re trying to adjust the timing of the Google Reviews email to be sent 14 days after the order is paid for, instead of the default 7 days.

    It’s important to note that Google Customer Reviews program controls the timing of when the review solicitation email is sent. The delay_days parameter you’re trying to use is not a recognized parameter in Google’s API for this purpose, which is why you’re getting an error at the checkout.

    Unfortunately, WooCommerce does not have any control over the timing of Google’s review emails. This is entirely managed by Google and their API. The Google Customer Reviews API does not currently support a delay_days parameter or any equivalent that would allow you to control the timing of the review email.

    I would recommend reaching out to Google Support once again and asking for a feature request for this. They may be able to provide a more definitive answer or possibly even add this feature in a future update.

    Please note that we can’t provide support for code customization as per our support policy. Still, if you have any further questions on development or custom coding, don’t hesitate to reach out to some of our great resources available for support. Our WooCommerce community is brimming with skilled open-source developers who are active on the following channels:

    I hope this information helps! Please let us know if you have any other questions or concerns related to WooCommerce.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Checkout Google Reviews & Email Date’ is closed to new replies.