Jump to content
Sign in to follow this  

Google Customer Reviews Problem

Recommended Posts

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>

  window.renderOptIn = function() { 
    window.gapi.load('surveyoptin', function() {
          "merchant_id": 119470194,
          "order_id": "{$id_order}",
          "email": "{$customer->email}",
          "delivery_country": "$country",
          "estimated_delivery_date": "2017-12-05",
          "opt_in_style": "CENTER_DIALOG"
<!-- GCR Katılım Modülü Kodu SONU -->

<!-- GCR Dil Kodu BAŞLANGICI -->
  window.___gcfg = {
    lang: 'tr'
<!-- GCR Dil Kodu SONU -->


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More