This article has moved to a new home. View the updated version

Integrate The Google Survey Opt-In Module

Integrating the Google survey opt-in module into your webstore is easy to install using a custom script.

  1. From the Neto dashboard, navigate to Setup & Tools > All settings & tools.

  2. Click on Analytics & 3rd Party Scripts tab and click Custom Scripts.

  3. Click the Add New button.

  4. Name the script Google opt-in survey.

  5. Scroll down to the Scripts section and click on the Purchase Confirmation (Thank You Page) tab.

  6. Insert the following script:

    <script src=""
      async defer>
      window.renderOptIn = function() { 
        window.gapi.load('surveyoptin', function() {
              // REQUIRED
              "merchant_id": MERCHANT_ID,
              "order_id": "ORDER_ID",
              "email": "CUSTOMER_EMAIL",
              "delivery_country": "COUNTRY_CODE",
              "estimated_delivery_date": "YYYY-MM-DD",
              // OPTIONAL
              "opt_in_style": "OPT_IN_STYLE"

  8. Save Changes. The opt-in survey will now appear once an order is complete on the Thank You page.

Was this article useful?

Be notified when this page is updated. Optional.

Last Modified: 28/09/2017 Neto Version: 6.10