- hpeetersAsked on September 25, 2014 at 08:50 AM
This works 9/10 times but very few times the website name & url is not sent with the form. Then we we can not identify from which website the form is sent. Any idea why this sometimes doesn't work?
- JotForm SupportdavidAnswered on September 25, 2014 at 10:46 AM
Though I am unsure why your code does not work all the time, we do have a "Get Referrer" widget that can accomplish the same thing:
Adding this would allow you to potentially capture the referral sources that your script does not.
- hpeetersAnswered on October 06, 2014 at 11:22 AM
How do I set this up? Where can I see what the referrer widget sents?
- JotForm SupportdavidAnswered on October 06, 2014 at 11:36 AM
Simply add the widget to your form and the referral URL will be included in each submission.
No other set up is needed.
Let us know if you have any further questions and we will be happy to help.
- hpeetersAnswered on October 13, 2014 at 12:03 PM
I now have rewritten my forms to work with the referral widget, but still sometimes the conditions don't work and the fields are not filled (are empty). Strange thing is that the referral widget shows the URL that form is sent from. So it seems that the conditions don't work all the time?
I use these conditions:
If referrer contains "www.URL.com" then insert "www.URL.com" into URL
If referrer contains "www.URL.com" then insert "Name of Website" into URL
If referrer contains "www.URL.com" then redirect to "http://www.URL.com/thankyoupage.html"
Any help to sort this issue out is appreciated!