Get referrer problem

  • Profile Image
    PriceIT
    Asked on July 17, 2014 at 09:25 PM

    When using the iFrame code and you try to use the get referrer (URL from which form was submitted) function the URL does not show up in the notification email or on JotForm inbox. All it shows is, "referrer" with no URL next to it.

  • Profile Image
    ashwin_d
    Answered on July 18, 2014 at 05:07 AM

    Hello PriceIT,

    Unfortunately the getReferrer widget will NOT work if the form is embedded using iFrame embed code. It will always display your form URL in the submission. It is strange that it is just displaying "referrer" instead of displaying form URL. I would suggest you to please share the web page URL and we will take a look.

    We will wait for your response.

    Thank you!

  • Profile Image
    ashwin_d
    Answered on July 18, 2014 at 05:15 AM

    Hello PriceIT,

    I did test the scenario once again and the getReferrer widget seems to be working fine with iFrame.

    I created a simple form with getReferrer widget and embedded it in a html page. I did few tests and it does capture the web page URL correctly. 

    Please take a look at the following URL where I have embedded the form and also the submission report so that you can test the form and see the submission data as well:  https://shots.jotform.com/ashwin/screenshots/getReferrer.html

    It should work for you too. Please share the web page URl where you have embedded your form and we will take a look.

    Thank you!

  • Profile Image
    PriceIT
    Answered on July 18, 2014 at 07:59 AM

    I fixed the problem. The only thing I can suggest is to include scripts that don't interfere with other scripts on the page.

  • Profile Image
    Carina
    Answered on July 18, 2014 at 10:35 AM

    Thank you for updating us on this matter. I can forward the suggestion to minimize the use of potentially conflicting scripts,  although I believe this might be already a concern of our programmers.

    They will contact you via this thread when they have an update on this.

    Thank for your suggestion and please get back to us if further support is needed.