- dmcfeetAsked on January 13, 2015 at 02:18 PM
When someone comes to my site, I would like to capture and display the URL where they clicked. I think the referrer widget will capture the URL, but it does not display.
- BenAnswered on January 13, 2015 at 03:16 PM
The referrer widget will actually only show you the location from where the jotform was submitted, not from where the people came to your website.
To do that you would need to capture this info on your website and then pass it to the jotform to some field - which would in turn show it on your jotform.
Example would be through the $_SERVER['HTTP_REFERER'].
You can see more on this here: http://stackoverflow.com/questions/16374704/php-how-to-get-referrer-url
- dmcfeetAnswered on January 13, 2015 at 03:42 PM
OK. So this seems like all I need to understand is the syntax. Can you help with that?
Lets say that my form is
2) and the field I want to fill is called "website"
What do I do next?
- JotForm SupportMikeAnswered on January 13, 2015 at 04:53 PM
- dmcfeetAnswered on January 13, 2015 at 05:06 PM
First of all this form will be embedded at Weebly.
I have pasted the source code into weebly, so that is set.
Just in case you care, this is my test page www.editmob.com/jot/. the form on the left is a weebly form the one on the right is yours. The main reason I am thinking about switching is to get this feature.
- BenAnswered on January 13, 2015 at 05:20 PM
I am trying to find a guide or anything in their support docs, but I am coming up short. Please contact them and check with them if there is any way that their system would let you pass the $_SERVER['HTTP_REFERER'] info into your code.
Once you know how to capture this info on your pages, please let us know and we would be more than happy to help you set it all up.
If they can not provide you with this info, then I am afraid that there is not much that we can do in regards to this info.