Jump to content

AmberWhite

Member
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    AmberWhite got a reaction from onlineKarma in How to integrate google Customer Reviews survey opt-in module?   
    I have to add this:
    <!-- BEGIN GCR Opt-in Module Code -->
    <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(
           {
    // REQUIRED
             "merchant_id": "MERCHANT_ID",
             "order_id": "ORDER_ID",
             "email": "CUSTOMER_EMAIL",
             "delivery_country": "COUNTRY_CODE",
             "estimated_delivery_date": "YYYY-MM-DD",
     
             // OPTIONAL
             "products":[{"gtin":"GTIN1"}, {"gtin":"GTIN2">}],
             "opt_in_style": "OPT_IN_STYLE"
           });
        });
     }
    </script>
    <!-- END GCR Opt-in Module Code -->
     
     
    To the confirmation page, but I'm missing dynamic values for the " "estimated_delivery_date" and gtin1 and gtin2.
     
    I figure order id one can use the tag squarespace provides {orderId}  as well as email address.
     
    But I can't find other values anywhere, not even customer service knows.
     
    Can someone help me?
     
    I am trying to collect seller reviews and product reviews so I can show these badges  on shopping ads from google ads.
     
    Has anyone done this or have they used a review aggregator? Or is there another service which will accomplish this?
     
    THanks!
     
    Amber
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.