Welcome to the LimeSurvey Community Forum

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

CAPTURE THE OUTPUT URL

  • atrevia
  • atrevia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 7 months ago #158524 by atrevia
CAPTURE THE OUTPUT URL was created by atrevia
Good morning community,
I have a question that I can not solve, I need your help.

I work with a panel provider, which redirects its panelists to my survey scheduled with LimeSurvey.
For redirects, this provider orders me to redirect respondents to the following addresses:


complete: transit.nicequest.com/transit/participat..._0&c=ok&ticket=12345
filterout: transit.nicequest.com/transit/participat..._0&c=ok&ticket=12345
cuotafull: transit.nicequest.com/transit/participat..._1&c=ok&ticket=12345


That's it.

Now comes the problem:

The panel provider (netquest) orders me to comment on how the respondents go, because according to the redirect, they receive a reward or another. I managed to capture the ID of each respondent with a simple question, but I do not know which is the output URL of each respondent.
What I need now is to know if it is possible to capture with Limesurvey the output URL of each of the panelists, is it possible?

Thank you so much for your help
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 7 months ago - 6 years 7 months ago #158541 by Joffm
Replied by Joffm on topic CAPTURE THE OUTPUT URL
Hello, atrevia,
you asked this four days ago. So why this new post?

First question: How does the panelist redirect to your survey?

If we have a "normal" survey link like:
www.example.com/limesurvey/index.php/123456?lang=en
the panel provider adds the participant code like
www.example.com/limesurvey/index.php/123...ang=en&pcode=abcdefg or
www.example.com/limesurvey/index.php/123...ng=en&ticket=abcdefg .
This you have to ask and know.

This code you grab by panel integration ("Survey properties / General settings / Panel integration")

You said you did that. So you have it in this question and you use it like {question}.
Let's call it "pcode".

You saw that your link includes the result in the "tp" variable.
The only variable part is the "ticket". So I think this is the participant code.

Now you have three results:

1. completes:
This is what you enter in the end url of the survey
Let's assume ,"ticket" is the participant code.
So you just enter the variable you grabbed :
transit.example.com/transit/participation?tp=co_0&c=ok&ticket={pcode} (your question code)

2. Quotafull
For each quota you can create a specific end url.
In your case you just enter the quotafull link with the participant id.
transit.example.com/transit/participation?tp=qf_1&c=ok&ticket={pcode}

3. Screenouts
LS does not know screenouts.
You have to "fake" this with a quota with a value of "0".
So if you only interview people older than 18, you set a quota on the age question.
Set it to "0", meaning "I am going to interview 0 people younger than 18.
Again you enter the appropriate end url (here the screenout url:
transit.example.com/transit/participation?tp=fo_0&c=ok&ticket={pcode}

I attach a small sample.
You see the end url with two parameters (ID and result)
in the quota management you see two quotas:
One real quota and one which fakes the screenout.

Now it's up to you.
Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 7 months ago by DenisChenu. Reason: Usage of example.(com|org) please
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 7 months ago #158562 by DenisChenu
Replied by DenisChenu on topic CAPTURE THE OUTPUT URL

Joffm wrote: …
This code you grab by panel integration ("Survey properties / General settings / Panel integration")

You said you did that. So you have it in this question and you use it like {question}.
Let's call it "pcode".

Quickest way : create the 2 hidden question with the same name : manual.limesurvey.org/URL_fields#Prefill...using_GET_parameters

PS : i edit your post : please use example.com or .org for example link. Website is done for this ;)

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 topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 7 months ago #158570 by Joffm
Replied by Joffm on topic CAPTURE THE OUTPUT URL
Thank you, Denis,

I just copied Atrevia's links.

Kind regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • atrevia
  • atrevia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 7 months ago #158575 by atrevia
Replied by atrevia on topic CAPTURE THE OUTPUT URL
Thank you very much for your answers, Joffm.
Anyway I have not explained well, so it gives the feeling that I ask the same thing. I'm a rookie in this and I find it hard to explain.
Basically I wanted to ask if there is any way to know if the respondent really gets into the final link to the survey redirects, or closes the screen. As a kind of tracking.

kind regards
Atrevia
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 7 months ago #158578 by Joffm
Replied by Joffm on topic CAPTURE THE OUTPUT URL
Oh, this is something quite different.

You see it in the answer table.
If status=complete...
If status= not complete, you can check the last page. You know where are the screenout / quotafull questions.

See screenshot (filtered by "completed")

One addition:
Let's say there is a screenout on "gender" on page 5. (only males are asked)
If a female respondent is screenouted here, the result is "not complete" and lastpage 5.
If a male respondent answers this question and closes the browser on the next question, the result is "not complete" and lastpage 5.
So you have to check the screnout conditions as well.

If you have the ability to write a small php script:
Redirect from the survey to your script, which grabs the parameters - mainly the result and pertticipant ID- saves it in a database and then redirect to the panel provider with his redirect link.

Best regards
Joffm

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