Welcome to the LimeSurvey Community Forum

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

Getting referring url into EM variable

  • fvanderstarre
  • fvanderstarre's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 3 weeks 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
The topic has been locked.
  • fvanderstarre
  • fvanderstarre's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 3 weeks 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
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
9 years 3 weeks ago #127371 by DenisChenu
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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • fvanderstarre
  • fvanderstarre's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 2 weeks 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.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose