The #1 Humanized Marketing Platform

Step 2 - Checkout questionnaire integration


Now that you have successfully finished with Step 1(Integrate e-satisfaction Library) of the Integration process, 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 customer finishes the checkout process and the code should be loaded on the corresponding checkout success page.


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 -->



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 an 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%.



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']); //where ORDER ID is the unique identifier of the order 
  _esatisf.push(['_token', 'TOKEN']); //TOKEN that is being generated in the beginning of this step
  _esatisf.push(['_email', 'EMAIL']); // EMAIL 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 on the website.

Please Check the bullets of the Integration Checklist you will find here.

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 at tech@e-satisfaction.com. 

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

Have more questions? Submit a request