Welcome to the LimeSurvey Community Forum

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

Capture 2 variables via surveyURL and then passback these variables at end.

More
11 years 3 months ago #89831 by Amar
Hi,

I am working with a panel provider who uses dynamic endlinks .i.e they send the panelists to my survey with 2 parameters. 1 a survey ID & second the respid.

I need to capture these both and then at the end of survey send these 2 variables back with an extra variable which identifies if the panelist completed or was terminated or quota full in the survey

eg. of entry links and exit links is like this
Complete:
mingle.respondi.com/s/253578/ospe.php3?c_0002=1&return_tic= [our ticket]

Screenout:
mingle.respondi.com/s/253578/ospe.php3?c_0002=0&return_tic= [our ticket]

Quotafull:
mingle.respondi.com/s/253578/ospe.php3?c_0002=2&return_tic= [our ticket]

All we need now is your survey URL, and if necessary the invitation codes.
We will attach [our ticket] to the survey URL (as parameter "tic") which must then be sent back via the redirect link (as parameter "return_tic").
Example:
http://your_survey/?tic=[our ticket]

"tic" will be a 32 character alphanumeric variable.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 3 months ago #89835 by Mazi
Have a look at the end URL feature: docs.limesurvey.org/Creating+a+new+surve...r+LimeSurvey#General

...as well as the panel integration feature at Limesurvey 2: docs.limesurvey.org/Creating+a+new+surve...tion_URL_parameters_

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: Amar
The topic has been locked.
More
11 years 3 months ago #89836 by Amar
So based on links, i add varibales to the survey link
www.limesurvey.com/index.php?sid=12446&subsid=9999

I have created a new question to capture free text , but it does not capture the variable value "9999"

If i manually enter the 9999 in anser field, then the exit link

http://www.bullseyeinfotech.com?{}={subsid}

passes 9999 out
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 3 months ago #89841 by DenisChenu
Hello,

ALready wotk with this system.

enter URL:
example.or/{INSERTANS:sssXsssXsss}=[our ticket]

Out url:
respondy/ospe.php3?c_0002=0&return_tic=sssXsssXsss

With sssXsssXsss the SGQA of a question.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Amar
The topic has been locked.
More
11 years 3 months ago - 11 years 3 months ago #89843 by Amar
Hi Denis,

i am trying all combinations, but still the variable value is not getting captured

The survey link I am using is
www.connect-survey.com/index.php?sid=124...NS:12446X350X12138}= [1234]

where sid=12446, gid=350, qid=12138 & subsid=1234. Subsid is the variable name and 1234 is the value being passed.

the question to capture "1234" has code "subsid" and is a short text type question.

can you please either send me step by step process
OR
tell me the complete link to pass the subsid value to 12446X350X12138.

Do I need to
- add any passthru variable?
- add any expression / condition in qid=12138?
- do something else

please also note I am using V 1.92 for this test.
Thanks for your help
Last edit: 11 years 3 months ago by Amar.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 3 months ago - 11 years 3 months ago #89852 by DenisChenu
Code:
http://www.connect-survey.com/index.php?sid=12446&12446X350X12138=123

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 11 years 3 months ago by DenisChenu.
The topic has been locked.
More
11 years 3 months ago - 11 years 3 months ago #89906 by Amar
Hi Denis,
the completion redirect works fine, but when I put a quota terminate redirect it does not work

here are links for you to test

survey link : www.connect-survey.com/index.php?sid=784...8478X334X12332=xxxxx

if you pick under 15 in second question that's where you should get terminated

complete redirect is mingle.respondi.com/s/253578/ospe.php3?c...2=1&return_tic={biid }


quotafull/terminate redirect is : mingle.respondi.com/s/253578/ospe.php3?c...2=0&return_tic={biid }

thanks for your help.
Last edit: 11 years 3 months ago by Amar.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose