e-satisfaction

The #1 Humanized Marketing Platform

Override Questionnaire Integration Settings

Follow

Full questionnaire integration settings

Below you can see an example of a single questionnaire integration settings script.

window.esat_config = {
application_id: "YOUR_APPLICATION_ID",
collection: {
"YOUR_QUESTIONNAIRE_ID": {
"questionnaire_id": "YOUR_QUESTIONNAIRE_ID",
"active": true,
"active_mobile": true,
"type": "embed",
"position": "#collection-holder",
"position_type": "inside",
"locale": "",
"locale_autodetect": true,
"delay_cap_minutes": 0,
"delay_cap_hours": 0,
"delay_cap_days": 0
}
}
};

You should extend the above settings for each questionnaire separately.

Override Questionnaire Language

To be able to set the questionnaire language on demand based on your page/user or any other condition, you should change the following items:

window.esat_config = {
application_id: "YOUR_APPLICATION_ID",
collection: {
"YOUR_QUESTIONNAIRE_ID": {
"questionnaire_id": "YOUR_QUESTIONNAIRE_ID",
"locale": "SELECTED_LOCALE",
"locale_autodetect": false
}
}
};

Disable autodetect and enforce the locale accordingly.

Set the SELECTED_LOCALE to the locale that you want. Here is a full list of all the supported languages:

  • el (Greek)
  • el-formal (Greek, using plural)
  • en-us (English)
  • es (Spanish)
  • ro (Romanian)
  • ca (Catalan)
Was this article helpful?
0 out of 0 found this helpful

Comments