- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
does not save refurl
- Creamax
- Topic Author
- Offline
- New Member
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
- Offline
- LimeSurvey Community Team
- Posts: 12944
- Thank you received: 3979
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
- Topic Author
- Offline
- New Member
- Posts: 8
- Thank you received: 0
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
- Offline
- LimeSurvey Community Team
- Posts: 12944
- Thank you received: 3979
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.
- jelo
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
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
Please Log in to join the conversation.
- Creamax
- Topic Author
- Offline
- New Member
- Posts: 8
- Thank you received: 0
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.
- jelo
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
If you have several active survey, you have several excel files. Where do you see a risk to confuse answers?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.
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
- Offline
- LimeSurvey Community Team
- Posts: 11660
- Thank you received: 2742
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
- Offline
- LimeSurvey Community Team
- Posts: 12944
- Thank you received: 3979
I think there is a big misunderstanding about the referrer URL by @Creamax.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?
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
- Topic Author
- Offline
- New Member
- Posts: 8
- Thank you received: 0
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
- Offline
- LimeSurvey Community Team
- Posts: 10110
- Thank you received: 3593
Nope, not a bug. The software behaves as expected.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.
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
- Offline
- LimeSurvey Community Team
- Posts: 11660
- Thank you received: 2742
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.