Get Referrer widget: Ability to capture the URL path.

  • Jamie Larkin
    Asked on August 23, 2023 at 12:40 AM

    Same issue, how can this display the full URL not just the root domain?

  • Billy JotForm Support
    Replied on August 23, 2023 at 4:42 AM

    Hi Jamie,

    Thank you for reaching out to Jotform Support. You need to use the Get Form Page URL widget instead of the Get Referrer widget. Below is an example of the captured URL of my sample form that's embedded inside a CodePen sandbox:

    Get Referrer widget: Ability to capture the URL path Screenshot 30

    You can find this widget under the Widgets tab along with the Get Referrer widget and others:

    Get Referrer widget: Ability to capture the URL path Screenshot 41

    Reach out again if you need any other help.

  • JamieLarkin
    Replied on August 23, 2023 at 2:15 PM

    Hello,

    Thanks for the response. Here is my issue. We are trying to redirect a user back to the page from which they came from after a submission. The Get Referrer widget, when we tested it only shows the root domain. So for example, if the user clicks a button to fill in the form on the page example.com/form the Get Referrer widget is only showing the root URL, example.com in that form response. Is there a way to get the whole URL, example.com/form in the response?

    Thanks

  • Amin JotForm Support
    Replied on August 23, 2023 at 6:58 PM

    Hi Jamie,

    Thanks for reaching out to Jotform Support. Upon some testing, unfortunately, the Get Referrer widget doesn't include the URL path right now. We've gone ahead and escalated your request to our developers, but when or if it's developed depends on their workload, how viable it is, and how many other users also request it. If there are any updates, we’ll circle back to this thread and let you know.

    Thanks for your patience and understanding, we appreciate it.