• Hello,
    how to add Google Customer Reviews opt-in and survey?

    On google sites, there is an example, I added it with my merchant id to NextMove HTML content on Thank You page, but only an empty field is showing

    <!– BEGIN GCR Opt-in Module Code –><script src=”https://apis.google.com/js/platform.js?onload=renderOptIn&#8221;
    async defer>
    </script>

    <script>
    window.renderOptIn = function() {
    window.gapi.load(‘surveyoptin’, function() {
    window.gapi.surveyoptin.render(
    {

    “merchant_id”: XXXXXX,
    “order_id”: “<?php echo $order_id ?>”,
    “email”: “<?php echo $email_address ?>”,
    “delivery_country”: “<?php echo $user_country ?>”,
    “estimated_delivery_date”: “<?php echo $delivery_date ?>”,
    “products”: [{“gtin”:”<?php echo $gtin_1 ?>”}, {“gtin”:”<?php echo $gtin_2 ?>”}],
    “opt_in_style”: “BOTTOM_LEFT_DIALOG”
    });
    });
    }

    </script>

    <!– END GCR Opt-in Module Code –>

    <!– BEGIN GCR Language Code –>

    <script>
    window.___gcfg = {
    lang: ‘en_US’
    };
    </script>

    <!– END GCR Language Code –>

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google customer reviews’ is closed to new replies.