URL Variables sometimes not sent with form

  • Profile Image
    hpeeters
    Asked on September 25, 2014 at 08:50 AM

    I use extra variables in the URL (website= & url=) to identify the website the form is sent from. For example I use javascript and call the form with the following url:

    https://secure.jotformeu.com/jsform/40192850735354?website=Website%20Name&url=www.websiteurl.nl

    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?


    Rgds,


    Henry

  • Profile Image
    david
    Answered on September 25, 2014 at 10:46 AM

    Hi,

    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:

    http://widgets.jotform.com/app/get_referrer

    Adding this would allow you to potentially capture the referral sources that your script does not.

  • Profile Image
    hpeeters
    Answered on October 06, 2014 at 11:22 AM

    Hi David,


    How do I set this up? Where can I see what the referrer widget sents?

    Regards,


    Henry

  • Profile Image
    david
    Answered on October 06, 2014 at 11:36 AM

    Hi,

    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.

  • Profile Image
    hpeeters
    Answered on October 13, 2014 at 12:03 PM

    Hi there,

    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!

     

    Rgds,

    Henry