skip to Main Content

Google Merchant Customer Review Optin window not opening on order success page – Magento

I have integrated following code in my website order success page via GTM : <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": 87654376, "order_id": "{{dl.order.id}}", "email": "{{dl.order.customerEmail}}", "delivery_country": "{{dl.order.deliveryCountry}}", "estimated_delivery_date": "{{dl.order.estDeliveryDate}}" }); });…

VIEW QUESTION
Back To Top
Search