User Guide

How to Know which Page or Form the Submission Came From

Last Update: April 27, 2017

Update: Here's the updated guide: https://www.jotform.com/help/95-Capture-the-Page-URL-Where-the-Form-is-Embedded


The first thing you need to do is insert a Hidden Box into your form. You can find it under the Widgets section of the Form Builder.



Name that box with something that's easy to remember. Let's say, "website".

Get your iframe embed code. 

Append this piece of code: "?website=google" at the end of the URL so it becomes

Replace google with any identifier, i.e. your website's name.

Embed your form.

As an example, filling out this form with the url parameters ?website=google


sends me this notification email:

6 Comments...

  • carefreetees

    whats this?

  • hosker4u

    This was very useful, how do I do this with JavaScript and not iFrame?

  • Istvan

    Hi! This could be automated? I mean, the form automatically could detect the page, where it is embedded. I would use it at my online store: I would embedd this form in every product-page, and if the buyer needs info about a product, he can fill this form, and I would know, about which product he is asking info. Could this be done?

  • drakeladue

    GREAT!

  • marcomm

    You can use the "Referrer" widget. It will give you the url for the page the form was on.

  • panziowebsite

    Hi, unfortunatelly I can't get the text instead of "google" I just get numbers in order (1,2,3). Why is it? I would like to identify my pages with a choosen name.

Send Comment