SeizeTheDay Posted December 16, 2017 Share Posted December 16, 2017 Hello to everyone. I trying to add google customer reviews codes to order-confirmation-tpl but code does not appear on order confirmation page. Where am I doing wrong? Thanks for your help. The code I'm trying to implement is: <!-- GCR Katılım Modülü Kodu BAŞLANGICI --> <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": 119470194, "order_id": "{$id_order}", "email": "{$customer->email}", "delivery_country": "$country", "estimated_delivery_date": "2017-12-05", "opt_in_style": "CENTER_DIALOG" }); }); } </script> <!-- GCR Katılım Modülü Kodu SONU --> <!-- GCR Dil Kodu BAŞLANGICI --> <script> window.___gcfg = { lang: 'tr' }; </script> <!-- GCR Dil Kodu SONU --> Link to comment Share on other sites More sharing options...
SeizeTheDay Posted December 18, 2017 Author Share Posted December 18, 2017 up Link to comment Share on other sites More sharing options...
BonPresta Posted January 8, 2018 Share Posted January 8, 2018 On 12/18/2017 at 4:02 AM, nadirdag said: up I wrote such a module Module Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now