How to Capture Referrer URL
What is Referrer URL?
It's basically the address of the webpage where a person clicked a link that sent them to your page where your form is embedded. In other words, it's the webpage that a person was on right before they landed on your page.
How to Capture Referrer URL?
Capturing the Referrer URL is super easy. Follow these 2 simple steps.
1. While in the form builder, open the Form Elements panel on the left side
2. Go to Widgets tab and search Get Referrer then add this widget to your form


That's it!
Here's an example submission with referrer URL captured by the widget.

Send Comment
3 Comments...
Related Forum Questions
- New Form Layout: When review option is enabled, get referrer widget is assumed as a field on review card.
- Error Messages (Certificate unverified) on Referrer link submissions
- Is there a way for the submissions to automatically list the url of the page it came from?
- Not able to differentiate Adwords Conversions Vs Organic through Jotform Submission
- Hidden Fields are not being prefilled with the data
- Get referrer problem
- Bug - Problem with prefilling fields
- Auto-Checking Checkboxes Based on Referrer
- can you explain in more details the "1.
- I have a questions form which I use on two different websites.
dog
Can questions have dynamic text? I don't want fields to be pre-populated, but rather want "referrer" above to customized. If this can be done, how do I do it?
I integrated this form with Mailchimp and I am trying to see how I can add tracking on my Mailchimp side to show that the subscriber came from Jotform. I set up the integration and tested but when I go to see the subscriber It says it came from API Generic. I tested the above Todo and it didn't function properly.
This is my IFRAME CODE: Where do I add this code? $_SERVER['HTTP_REFERER'] or maybe I am missing a step?
window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;case "collapseErrorPage":if (iframe.clientHeight > window.innerHeight) {iframe.style.height = window.innerHeight + "px";}break;case "reloadPage":window.location.reload();break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}