Zen Follower
- Join Date:
- Mar 2006
- Location:
- Rosebud, Victoria, Australia
- Posts:
- 308
- Plugin Contributions:
- 2
Google Customer Reviews
G'day,
Google is migrating its Google Trusted Stores program to Google Customer Reviews (acessed via Google Merchant Centre).
There is a code snippet that needs to be added to the order confirmation page.
<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( { "merchant_id": MERCHANT_ID, "order_id": "ORDER_ID", "email": "CUSTOMER_EMAIL", "delivery_country": "COUNTRY_CODE", "estimated_delivery_date": "YYYY-MM-DD" }); }); } </script>
Has anyone implemented this for Zen Cart yet?
Best regards, Lloyd Borrett.
Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42