- Posts: 77
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Add parameters to the final URL
- Mon2016
- Topic Author
- Offline
- Senior Member
Less
More
3 years 11 months ago #197900
by Mon2016
Add parameters to the final URL was created by Mon2016
Hello everyone,
I'm trying doing a survey with panelists, which I have added a parameter in the panel integration section,
I understand that this parameter is assigned an ID to identify the person who answered.
my question is is it possible to assign two parameters to the same link to identify them separately in the database?
If so, could you help me know how to set these parameters?
I appreciate your help again.
I'm trying doing a survey with panelists, which I have added a parameter in the panel integration section,
I understand that this parameter is assigned an ID to identify the person who answered.
my question is is it possible to assign two parameters to the same link to identify them separately in the database?
If so, could you help me know how to set these parameters?
I appreciate your help again.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12906
- Thank you received: 3969
3 years 11 months ago #197902
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Add parameters to the final URL
Hi,
though I do not understand this
But browsers limit the amount. (between 2kB in Microsoft browsers and 64kB in Firefox and Safari)
You see here a usual link to a survey:
There are added two parameters.
The first parameter is "lang" which has the value "de".
The second parameter is "newtest" which has the value "Y".
You see: This parameter list starts with a question mark.
And additional parameters are joined by an ampersand
Now you may add more parameters like
?lang=de&newtest=Y&firstname=John&ID=ABC123XYZ&A1=B2&flag=111
Always the syntax: "name=value"
Here:
name: lang, value: de
name: newtest, value: Y
name: firstname, value: John
name: ID, value: ABC123XYZ
name: A1, value: B2
name: flag, value: 111
And working with a panelist you have to return the given ID in the end-url.
Coming back to
As any question this is stored in the database.
Do it by yourself.
Create a small survey with two questions of type "short text".
In panel intergation assign two parameters to these two questions.
Activate the survey.
Run it several times by adding your two parameters to the link,
like
Joffm
though I do not understand this
generally you can add as many parameters as you like.to identify them separately in the database?
But browsers limit the amount. (between 2kB in Microsoft browsers and 64kB in Firefox and Safari)
You see here a usual link to a survey:
Code:
https://www.myServer.de/limesurvey/index.php/123456?lang=de&newtest=Y
There are added two parameters.
The first parameter is "lang" which has the value "de".
The second parameter is "newtest" which has the value "Y".
You see: This parameter list starts with a question mark.
And additional parameters are joined by an ampersand
Now you may add more parameters like
?lang=de&newtest=Y&firstname=John&ID=ABC123XYZ&A1=B2&flag=111
Always the syntax: "name=value"
Here:
name: lang, value: de
name: newtest, value: Y
name: firstname, value: John
name: ID, value: ABC123XYZ
name: A1, value: B2
name: flag, value: 111
And working with a panelist you have to return the given ID in the end-url.
Coming back to
Using Panel integration you usually use a question of type "short text" to capture the added parameter.to identify them separately in the database?
As any question this is stored in the database.
Do it by yourself.
Create a small survey with two questions of type "short text".
In panel intergation assign two parameters to these two questions.
Activate the survey.
Run it several times by adding your two parameters to the link,
like
Code:
https://www.myServer.de/limesurvey/index.php/123456?lang=de&newtest=Y&Param1=My first Parameter&Param2=My second parameter
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: cdorin
The topic has been locked.
- Mon2016
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 0
3 years 11 months ago #197924
by Mon2016
Replied by Mon2016 on topic Add parameters to the final URL
Thanks joffm
I have one more question
My league is as follows:
cmmkt.com/online/index.php/survey/index/...newtest/Y/lang/es-MX
But the panellist says he doesn't recognize their IDs
I added the parameter to the end of the league that looks like this
cmmkt.com/online/index.php/survey/index/...g/es-MX&LSid="xxxxxx "
Is something wrong with my league?
Thsnks
I have one more question
My league is as follows:
cmmkt.com/online/index.php/survey/index/...newtest/Y/lang/es-MX
But the panellist says he doesn't recognize their IDs
I added the parameter to the end of the league that looks like this
cmmkt.com/online/index.php/survey/index/...g/es-MX&LSid="xxxxxx "
Is something wrong with my league?
Thsnks
The topic has been locked.
- Mon2016
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 0
3 years 11 months ago #197927
by Mon2016
Replied by Mon2016 on topic Add parameters to the final URL
Hi JOfmm
In this version of LS I only adjusted the garter in this way and it worked correctly for me.
cmmkt.com/online/index.php/survey/index/...Y&lang=es&LSid="xxxx "
Now I will try to do the parameters that you comment
Greetings
In this version of LS I only adjusted the garter in this way and it worked correctly for me.
cmmkt.com/online/index.php/survey/index/...Y&lang=es&LSid="xxxx "
Now I will try to do the parameters that you comment
Greetings
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2738
3 years 11 months ago #198068
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Add parameters to the final URL
panellist = someone who participates in a panel (not the person that works at the panel)
So please explain where the problem is?
There are two different parts to this: First your panel provider needs to add their IDs to your survey link, so you can read it into your survey via the panel integration. So your actual survey link should look something like the link that you say you use for the end URL.
Now in the different END URLs you usually need to redirect to a link that your panel provider gives you and add the ID that you have received through the panel integration. These are the basics of how panels work, you really should talk to your panel provider and understand what they need. Seems like you are quite confused about how panels work.
So please explain where the problem is?
There are two different parts to this: First your panel provider needs to add their IDs to your survey link, so you can read it into your survey via the panel integration. So your actual survey link should look something like the link that you say you use for the end URL.
Now in the different END URLs you usually need to redirect to a link that your panel provider gives you and add the ID that you have received through the panel integration. These are the basics of how panels work, you really should talk to your panel provider and understand what they need. Seems like you are quite confused about how panels work.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12906
- Thank you received: 3969
3 years 11 months ago #198120
by Joffm
In a company I worked for the panel provider also was called panelist.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Add parameters to the final URL
Might cause some confusion.panellist = someone who participates in a panel (not the person that works at the panel)
In a company I worked for the panel provider also was called panelist.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2738
3 years 11 months ago - 3 years 11 months ago #198130
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Add parameters to the final URL
Really? OK, that is weird. I always had panelists as the participants in a panel, which as far as I know is also the official definition. But I know that sometimes words get used a different way.
Well, then ignore my comment.
Well, then ignore my comment.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 3 years 11 months ago by holch.
The topic has been locked.