With this plugin you can get userAgent information : his browser and version
Question to use
You have can get the 3 option : browser name + browser version (major) , only browser name and only browser major version.
Only one question in each survey can be used for each option: the question code must use the global question code in the plugin settings.
The question must be a short text (S) question type or a List (radio) (L) . If you use a short text question : the answer is directly filled with the browser information.
If you need to use the answer in quota for example, you must use a single choice question type. If the browser information is not found and the question allow other : the other choice is set and the other text is the final browser information.
Then the browser list to put in answers (answer text) are:
- Bing Bot
- Internet Explorer
- MSN Bot
- MSN Browser
- Netscape Navigator
- Nokia Browser
- Nokia S60 OSS Browser
- Opera Mini
- Pocket Internet Explorer
- W3C Validator
- Yahoo! Slurp
For browser version, we search for the upper number in the answer (answer text). Then if your answer text are
Internet explorer 9 check the number 6 and FireFox 50 check 11. Netscape 4 is set of other if the question allow other.
If the plugin is activated in a survey, we first find the browser information and put it in a session variable. After we search for corresponding question and answers.
We use the same system than prefilling a survey using GET parameters then that don’t update an already started survey. The browser informations are only set when starting a new survey.
You can hide the questions, and use of this questions in quota  if you use Single choice question.
You have an example survey in the plugin directory, you can import and see some conditions in action according to browser name and version. You can test this survey on our demo website