Welcome to the LimeSurvey Community Forum

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

How to manually set a referrer-URL

  • Johan01
  • Johan01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #99950 by Johan01
How to manually set a referrer-URL was created by Johan01
Hi all,

I´m running a psychological experiment via LimeSurvey (LS). Since I´m recruiting participants in diverse online forums I want to keep track of which participant is coming from which forum. Hence, I activated the referrer-URL option in the general settings of my survey.But apparently, this is not working. I only get a refurl saved if I use the test survey-function inside LS. In all other cases the refurl field is just blank.
I also tried to manually enter the refurl with something like "?refurl=forum1" at the end of the survey link to identify participants but that did not work out as well.

I would be very grateful if somebody could help me out with that.

Cheers,
J.

à chacun son goût
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
11 years 1 month ago - 11 years 1 month ago #99968 by DenisChenu
Replied by DenisChenu on topic How to manually set a referrer-URL
Hi,

Think best is to use PASSTHRU settings.

You see this in survey settings/Panel integration
The youn can prefill a Question with a param from url. Choose a text questioon type and set 'allways hide this question' to yes.

Denis
www.limesurvey.org/manual/Creating_a_new....28URL_parameters.29

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 11 years 1 month ago by DenisChenu.
The following user(s) said Thank You: Johan01
The topic has been locked.
  • Johan01
  • Johan01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #99977 by Johan01
Replied by Johan01 on topic How to manually set a referrer-URL
Got it! Thanks a lot!

à chacun son goût
The topic has been locked.
More
7 years 7 months ago #151090 by taunus
Replied by taunus on topic How to manually set a referrer-URL
Hey guys,

sorry that if have to pick this up again. I am trying to do the same thing as Johan and include IDs for two different groups of respondents, but my panel integration parameters dont work properly. I dont really get the combination of the passthru command and the parameter.

Currently my survey URL looks like this:

.../index.php/351982?lang=de&id=123

Now when I try to transfer this ID into a question via Panel Integration, I add a parameter "id" and link it to a short text question (which is hidden in the survey). However, this does not work out and I do not see any ID in the recorded answers.

What am I doing wrong? Unfortunately, I can't find any specific help in the manual.

Cheers and thanks in advance

Manu
The topic has been locked.
More
7 years 7 months ago #151096 by jelo
Replied by jelo on topic How to manually set a referrer-URL
Hard to tell without the surveyfile. ID is dangerous because that might be used internal by LimeSurvey. Which version/build of LimeSurvey is used?

Try the following:
Add another shorttext question as the first question of the survey.
Name the question "xxxx", which hopefully is a name which isn't used in any context inside the survey.
Do NOT hide the question!
Your URL syntax is correct, but let's try this URL
Yourhostdomaintld/index.php/351982?xxxx=test&id=123
Is xxxx shown in the not hidden question?

www.limesurvey.org/manual/URL_fields

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: taunus
The topic has been locked.
More
7 years 7 months ago #151101 by taunus
Replied by taunus on topic How to manually set a referrer-URL
Thanks, that helped!

I use a 2.62 LS hosted at my university.

Actually, the question name in the URL did not work. I have no clue why. But the predefined QTEXT from the manual worked eventually (though it also produces some answers where it doesnt work).

Anyway, I think that will do! Thank you very much
The topic has been locked.
More
7 years 7 months ago #151103 by jelo
Replied by jelo on topic How to manually set a referrer-URL
Sound quite strange to me. You might create a small survey for testing and attach it here in a post. Or test on your own via the demo.limesurvey.org to see if no server issue is causing the trouble.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose