# Web Forms: Referal URL

**URL:** <https://community.hubspot.com/t/web-forms-referal-url/114501>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [August 14, 2024, 7:52pm UTC](https://community.hubspot.com/t/web-forms-referal-url/114501 "2024-08-14T19:52:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![KhushbooP11](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/khushboop11/32/8252_2.png) [@KhushbooP11](https://community.hubspot.com/u/KhushbooP11)\
**Post date:** [August 15, 2024, 12:47pm UTC](https://community.hubspot.com/t/web-forms-referal-url/114501/2 "2024-08-15T12:47:29Z")

</div>

Hi @RJosefs,  
Yes, you can track all three pieces of information for an embedded form on your website.

This captures the URL of the website the user visited before landing on your site. You can capture this using JavaScript and include it as a hidden field in your form.

This captures the first page the user visits on your site. You can store this in a cookie when the user first lands on the site, and include it in the form submission.

This captures the page where the user actually fills out and submits the form. You can do this by adding the current page URL as a hidden field.

By including these hidden fields in your form, you’ll be able to track the previous page URL, the landing page, and the page on which the form was submitted.

I hope this helps. If you need further assistance, [let’s talk!](https://calendly.com/khushboo-pokhriyal/30min?month=2024-08)

![|130]()

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

[LinkedIn |](https://www.linkedin.com/in/khushboopokhriyal)9315044754 | [Email |](mailto:khushboo.pokhriyal@grorapid.com)[Website](https://www.grorapidlabs.com)

---

_[View the full topic](https://community.hubspot.com/t/web-forms-referal-url/114501)._
