Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all articles
Browse latest Browse all 17529

Treatment groups based on SAVEDID - by: ahog

$
0
0
Hello everyone,

I'm conducting an experiment with 6 treatment groups. At the end of the pre-survey (using Limesurvey), the participant gets forwarded to a different site. The treatment group ID needs to be forwarded to this site.

I see two ways to to this:
1.) create a random ID (tgroup=rand(1,6)) in a hidden question i use to filter the shown questions - then I append this tgroup to the endURL. Is this possible? According to the manual only (?) {SAVEDID}, {TOKEN}, {SID} and {LANG} can be appended to the endURL.
2.) use the SAVEDID to assign the group (SAVEDID%6), as the SAVEDID is included in the endURL already. How do I then best refer to the SAVEDID to filter the the questions? JS feels a bit "dirty", perhaps there is an easier way.

The question to be filtered according to the treatment group is already on the first page after the welcome page. The pre-survey has only one question page with one text display question that exists in two versions, depending on the treatment group. I understood from a different board post, that the SAVEDID is not available before any questions are submitted. So I am not entirely sure, how to best solve this.

Thanks you :)
Andreas

Viewing all articles
Browse latest Browse all 17529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>