e-satisfaction

The #1 Humanized Marketing Platform

Step 2 - Checkout questionnaire integration

Follow

The next step in the process is the checkout integration. In the end of this step, you will be able to collect feedback from customers, right when they finish the checkout process. 

Important: The integration steps mentioned below should be made every time a customers finishes the checkout process and the code should be loaded on the corresponding checkout success page.

First, you should create a unique authentication token by using the YOUR_AUTH_KEY variable of the website (if you cannot find the value of this variable read here

<!-- generates the token, you have to get the content -->
https://www.e-satisfaction.gr/miniquestionnaire/genkey.php?site_auth=YOUR_AUTH_KEY

Next, you must insert the following code under the form element you want the questionnaire to be displayed.

<div class="esatisf-form"> <!-- here the questionnaire will append --> </div> 

Important: It is highly recommended to place the checkout questionnaire in a element that is positioned relatively high and definitely above the fold. A checkout questionnaire that is displayed right under the header section of the website is expected to be filled by significantly more customers. An average response rate for high-placed checkout questionnaires is 25%.

Finally, in a javascript tag that will be placed in the footer of the website, the following code should be inserted. This code is used to push the responses that the customer provided, alongside with the order id and the email of the customer where after sales questionnaires will be sent.

 var _esatisf = _esatisf || [];
  _esatisf.push(['_responder', '{$order_id}']); //unique identifier of the order 
  _esatisf.push(['_token', '{$token}']); //token that is being generated in the beginning of this step
  _esatisf.push(['_email', '{$email}']); // e-mail of the customer who made the purchase
  _esatisf.push(['_showQuestionnaire', '.esatisf-form']); 

To validate correct completion of this process, you should proceed and make a test order in the website. If the integration has been completed correctly, the checkout questionnaire should be displayed in the thank you page, where you selected it to be displayed. A sample of the checkout questionnaire that should be displayed can be found in the following snapshot.

 

If you have reached this stage successfully, you are set to start collecting feedback. If you are having trouble integrating this step, you can check our troubleshooting guide or contact our support team. 

Was this article helpful?
0 out of 0 found this helpful

Comments