Reading variable from URL and set it to analytics summary

More
5 years 5 days ago #86927 by motyla
motyla created the topic: Reading variable from URL and set it to analytics summary
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
5 years 5 days ago #86929 by Fred01
Fred01 replied the topic: Reading variable from URL and set it to analytics summary
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
5 years 3 days ago #87030 by motyla
motyla replied the topic: Reading variable from URL and set it to analytics summary
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
5 years 2 days ago #87035 by Fred01
Fred01 replied the topic: Reading variable from URL and set it to analytics summary
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 11 months ago #87148 by motyla
motyla replied the topic: Reading variable from URL and set it to analytics summary
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.

Start now!

Just create your account and start using Limesurvey today.

Register now