Check out the LimeSurvey source code on GitHub!

Reading variable from URL and set it to analytics summary

More
4 years 4 months ago #86927 by motyla
Hi,
I'm trying to send user to the limesurvey via url like:
www.domain.com/survey.php?id=XX-XXXXX
The X is unique variable I set with external tool.

Now in summary in analytics part I would love to detect, that this survey was filled by the user with XX-XXXXX ID.

Is that possible in easy way?

Kind regards
Mariusz

Please Log in to join the conversation.

More
4 years 4 months ago #86929 by Fred01
The easiest way might be to use the "X" as your token. Enable tokens for the survey and then import a list of participants and put the X in the token. Then it will be included in the custom survey invitation URL that is mailed to each participant and saved with their responses.

Please Log in to join the conversation.

More
4 years 4 months ago #87030 by motyla
No no.. you've misunderstood me
well, I've already got another application which generates token/ID.
Now I want to direct user via URL like: www.domain.com/survey.php?id=XX-XXXXX , where X is generated by another service.

And I want this token to be saved at the results.

I hope it's clear for now...

Please Log in to join the conversation.

More
4 years 4 months ago #87035 by Fred01
It's also possible to prefill survey questions using parameters from the URL... Maybe this is what you're looking for.

docs.limesurvey.org/Workarounds%3A+Surve...using_the_survey_URL

Please Log in to join the conversation.

More
4 years 4 months ago #87148 by motyla
Fred, you are the MAN!

Thank you!

Now I am going to verify if URL and token combination works to fill input field with the XX-XXXXX

Regards!

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form