Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Redirect links don't seem to work

  • Alisdi1
  • Alisdi1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 4 months ago #192172 by Alisdi1
Redirect links don't seem to work was created by Alisdi1
Hey everyone,
I have a survey I need to connect to a external panel. I need two variables (ID1 and ID2) to collect respondents' IDs from panel.
I created them as long free text type and always hidden.

Then, Panel sent me links:

- success (used as endlink) - myexample.com/projects/end?rst=1&ID1= XXXXX&basic=93268
- terminate (used in quota=0) - myexample.com/projects/end?rst=2&ID1= XXXXX
- quota full (used in regular quota) - myexample.com/projects/end?rst=3&ID1= XXXXX
The parts marked red are those I changed to ID1 value.


I also got links for survey: mylimesurveylink.com/index.php?r=survey/...x&sid=765137&lang=pl &ID1=XXXXX&ID2=YYYYY
Those two marked red I also change to variables values. I have three languages, so every link got the same part added.


The problem is, respondents' IDs do not show up, as ID1 and ID2 variables remain empty, even though responses in survey are collected. I tried to add also ID2 parameter to links, but without any success.
I also used tested this survey with links from another panel and it worked just fine.
Any ideas what's wrong?

Thanks a lot!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 months ago #192177 by Joffm
Replied by Joffm on topic Redirect links don't seem to work
Hi,
what can we say, if we don't see how you set the panel integration and the other settings.

But here is a short working example.

File Attachment:

File Name: limesurvey...3656.lss
File Size:19 KB


Though you did not mention the LimeSurvey version you are using I assume it is 3.x

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Alisdi1
  • Alisdi1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 4 months ago #192181 by Alisdi1
Replied by Alisdi1 on topic Redirect links don't seem to work
Sorry, my bad.
Here is shortest version of survey with proper links.
I use Version 2.06 :)

thanks!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 months ago - 4 years 4 months ago #192182 by Joffm
Replied by Joffm on topic Redirect links don't seem to work
Hi,
I tested in 2.06 and saw now issue.
http://www.examp..le.de/lime6/index.php/313656?lang=en&PSID=123456&PID=ABC
and the screenout url as
https://dkr1.ssi...s.com/projects/end?rst=2&psid={PSID}
I get the expected link
https://dkr1.ssi...s.com/projects/end?rst=2&psid=123456

and the end-url
https://dkr1.ssi...s.com/projects/end?rst=1&psid={PSID}&basic=93268



Joffm

I changed the quota action to "Umfrage beenden"

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 4 months ago by Joffm.
The topic has been locked.
  • Alisdi1
  • Alisdi1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 4 months ago #192185 by Alisdi1
Replied by Alisdi1 on topic Redirect links don't seem to work
Thank you :)

Hopefuly last two questions from me.
How exactly should link to survey look like? Like below? http://www.examp..le.de/lime6/index.php/313656?lang=en&PSID=&PID=

Also, what should I have here: {PSID} - is it ID of this variable and should it be in brackets?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 months ago #192190 by Joffm
Replied by Joffm on topic Redirect links don't seem to work
At the moment I am a bit confused.
First you showed a redirect link with the parameter ID1, but in your sample survey it is PSID.

1. Okay, the panel provider adds a parameter to the survey link like this
http://www.examp..le.de/lime6/index.php/313656?lang=en&PSID=123456
So, please, clarify how this added parameter is called.

2. You grab this parameter using "panel integration". This is fine in your sample. Now the value (123456) is stored in this target question.

3. In the redirect links you have to insert this value, again as added parameters.
https://dkr1.ssi...s.com/projects/end?rst=1&psid={PSID}&basic=93268
You called this target question of the panel integration "PSID" (you are free how to call it) and the passed parameter also is called "psid".
Of course you have to use curly brackets. Here you use Expression Manager to insert the value of your target question,
manual.limesurvey.org/Expression_Manager...#Access_to_variables

But what about this second parameter? You called it ID2 resp. PID?
What is it needed for? There is no reference to it in the redirect links.

Joffm

And something off-topic:
In my opinion
Ich befürchte, dass bei elektronischen Zahlungen zu viele persönliche Informationen über mich gesammelt werden.

is better than
Ich befürchte, dass elektronische Zahlungen zu viele persönliche Informationen über mich sammeln.

"Die Zahlung selbst sammelt nicht."

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose