Welcome to the LimeSurvey Community Forum

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

does not save refurl

  • Creamax
  • Creamax's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #231506 by Creamax
does not save refurl was created by Creamax
Greetings
I'm starting to test the operation of:
LimeSurvey Community Edition
Version 5.3.29 + 220801
template: Fruity

but immediately I have a problem:
when I fill out the survey from a link sent everything is saved except the "refurl"
if I try to fill in the survey from the "Run Survey" link within the management system, then the "refurl" is saved in the answers(Write here your question/remark)

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago #231507 by Joffm
Replied by Joffm on topic does not save refurl
Hi,
I should say:
If you call the survey out of a mail program there is no URL to refer to.
The same when you enter the link directly into your browser.

It's different if you include the link into a website like this
 

Here the four possible results:
1. Run from the GUI
2. Enter the URL into the browser
3. Clicked the link in a mail
4. Run from a link in a different website
 

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Creamax
  • Creamax's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #231509 by Creamax
Replied by Creamax on topic does not save refurl
Thanks for the quick response.

in fact:

1. Run from the GUI (refurl is registered)
2. Enter the URL into the browser (refurl is not logged)
3. Clicked the link in a mail (refurl is not registered)
4. Run from a link in a different website (?)

 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago #231510 by Joffm
Replied by Joffm on topic does not save refurl
What is the meaning of the question mark?
This is the only case to get a referrer URL.
You see, if you use the link in the GUI you exactly do this, you call the survey from a different site.
So case 1 and case 4 are the same.

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
1 year 8 months ago #231511 by jelo
Replied by jelo on topic does not save refurl
The heydays of the referrer are over. If you want to register different sources of your respondents, you better rely on parameter which you attach to your URL.
The referrer is too often blocked or changed by browser or security tools.
manual.limesurvey.org/URL_fields/en#Start_URL
 

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: holch

Please Log in to join the conversation.

  • Creamax
  • Creamax's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 7 months ago #231526 by Creamax
Replied by Creamax on topic does not save refurl
the question mark is why I didn't understand "different site"

now I try to explain my need:
I have several active surveys and I download the answer files in excel.
to avoid confusing the answers of the various surveys, it is convenient for me to extrapolate the url link for that survey from excel.
the problem is that it is not registered even if the GUI during activation asks me specifically whether to register it or not (such as the IP address)
Thanks and sorry for my english

Please Log in to join the conversation.

More
1 year 7 months ago #231528 by jelo
Replied by jelo on topic does not save refurl

I have several active surveys and I download the answer files in excel.
to avoid confusing the answers of the various surveys, it is convenient for me to extrapolate the url link for that survey from excel.

 
If you have several active survey, you have several excel files. Where do you see a risk to confuse answers?
Why is the referrer helping to differentiate different surveys?

The referrer is no longer reliable. So you need to choose other ways. To attach a parameter to the URL is one way.
To pass variables, you can check the manual
manual.limesurvey.org/URL_fields/en#Start_URL

 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 7 months ago #231531 by holch
Replied by holch on topic does not save refurl
I also don't really understand your need for the referrer URL, just like Jelo.

Are the referring websites https://? Is your Limesurvey installation https:// ?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 7 months ago #231534 by Joffm
Replied by Joffm on topic does not save refurl

If you have several active survey, you have several excel files. Where do you see a risk to confuse answers?
Why is the referrer helping to differentiate different surveys?

I think there is a big misunderstanding about the referrer URL by @Creamax.

A use case of a referrer URL could be:

Your target group are football fans.
Therefore you add the link to the survey to the homepage of various football clubs.
Now, if someone visits his club's homepage and clicks on the link that leads to the survey, the URL of this homepage will be saved as the referrer URL.
This way you could differentiate which club side the participant came from.

Or you share the link on several social media accounts
You may find out from which one you got the most participants.

Just not even to clarify.

But in your case (the participant just clicks a link in the invitation email), what would you get even if this URL was saved?
It always looks something like "myServer/limesurvey/index.php/123456/..."
The only difference is the SurveyID.
And this ID is the only thing you need.
However, this SurveyID is also part of the export filename "results_survey123456.xlsx"
Then it's easy to add this SurveyID to the data, either using a small macro or by hand (if you really think it to be necessary)

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Creamax
  • Creamax's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 7 months ago #231565 by Creamax
Replied by Creamax on topic does not save refurl
@ jelo and holch
I have no need and I do not want to pre-fill the survey, I just want to extrapolate the survey that was answered from excel.

I have described my need, I do not think that understanding the reason for my need leads to the solution of the problem.

to "Joffm"
you hit the problem and gave me a great idea for the solution!
I had the solution under my nose but I didn't see it.
with the macro I read the last digits of the downloaded file and obtain the survey ID.
thank you so much.

even if I have solved my problem the fact remains that the software does not register the "refurl" so it is a bug, since it says to do so.

Thank you all
for me it can be closed

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 7 months ago #231573 by tpartner
Replied by tpartner on topic does not save refurl

even if I have solved my problem the fact remains that the software does not register the "refurl" so it is a bug, since it says to do so.

Nope, not a bug. The software behaves as expected.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 7 months ago #231583 by holch
Replied by holch on topic does not save refurl

I have described my need, I do not think that understanding the reason for my need leads to the solution of the problem.


Well, you didn't. Joffm took a guess and seemed to nail it. And describing the reason for your need would have helped for us to understand what you wanted. It was not clear to me, nor to Jelo. But anyway, the way you respond to volunteers that try to help you in the forum seems a little weird.

even if I have solved my problem the fact remains that the software does not register the "refurl" so it is a bug, since it says to do so.


No, Limesurvey can only register the refurl if the Browser provides it.

1. Run from the GUI (refurl is registered)
2. Enter the URL into the browser (refurl is not logged)
3. Clicked the link in a mail (refurl is not registered)
4. Run from a link in a different website (?)


You tested it and under certain circumstances it is recorded.

2 and 3 is logical that thereit doesn't record any refurl, because there is non. If you put the URL directly into the browser, which refurl should be recorded? There is no site that it referring. The same for emails.

But I am out.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose