integrate with google reviews
-
can anyone help me with adding the right tags for the google merchant reviews?
The integration I’m trying to do is: https://support.google.com/merchants/answer/7106244
I need to pull the current order number, billing email and the delivery date into the integration code – I can get the user email but I’m failing to get the order number and a delivery address. Has any one done this – it looks like it should be easy to do.
Please help me ??
cheers
<?php $email = wpsc_get_customer_meta( 'billingemail' ); ?> <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": 113774940, "order_id": "orderid", "email": "<?php echo $email; ?>", "delivery_country": "UK", "estimated_delivery_date": "2018-10-31", }); }); } </script>
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘integrate with google reviews’ is closed to new replies.