- Posts: 176
- Thank you received: 36
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Getting referring url into EM variable
- fvanderstarre
- Topic Author
- Offline
- Elite Member
Less
More
8 years 5 months ago #127223
by fvanderstarre
Getting referring url into EM variable was created by fvanderstarre
Hi, I'd like to get the referring URL into a E.M. variable, but can not quite work out how to do this.
Do I have to access $_SERVER? If so. how? Or can I use "refurl" column from survey table (this does not seem to work, {refurl} is not recognized as a variable)?
Any help much appreciated!
Frank
Do I have to access $_SERVER? If so. how? Or can I use "refurl" column from survey table (this does not seem to work, {refurl} is not recognized as a variable)?
Any help much appreciated!
Frank
The topic has been locked.
- fvanderstarre
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 176
- Thank you received: 36
8 years 5 months ago #127351
by fvanderstarre
Replied by fvanderstarre on topic Getting referring url into EM variable
So in the end I had to use javascript to get "document.referrer" and put that into a variable.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
8 years 5 months ago #127371
by DenisChenu
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.
Replied by DenisChenu on topic Getting referring url into EM variable
Have REFURL in EM var can be a Feature Request.
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.
- fvanderstarre
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 176
- Thank you received: 36
8 years 5 months ago #127384
by fvanderstarre
Replied by fvanderstarre on topic Getting referring url into EM variable
Yes thank you (
see request
)
The topic has been locked.