APIs & Integrations

RJosefs
Member

Web Forms: Referal URL

SOLVE

Hi, I have an embedded form. Can I track

 

1) Referal URL: What website was the user on prior to my website?

2) Landing Page: What is the first webpage they visited on my site?

3) Form Page: What page did they fill out the form on? 

1 Accepted solution
TomM2
Solution
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Web Forms: Referal URL

SOLVE

Hey @RJosefs 

 

Technically speaking the web forms don't do any tracking. This is all handled by the HubSpot tracking code

Once the HubSpot tracking code and HubSpot form embed code is installed on your page the HubSpot form will send the tracking code cookie to the HubSpot contact record. 

 

Yes the analytics information will be tracked to the contact record, Have a look through HubSpot's default web analytics properties here

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a meeting

Did my post help answer your query? Help the community (and me) by marking it as a solution.


View solution in original post

2 Replies 2
TomM2
Solution
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Web Forms: Referal URL

SOLVE

Hey @RJosefs 

 

Technically speaking the web forms don't do any tracking. This is all handled by the HubSpot tracking code

Once the HubSpot tracking code and HubSpot form embed code is installed on your page the HubSpot form will send the tracking code cookie to the HubSpot contact record. 

 

Yes the analytics information will be tracked to the contact record, Have a look through HubSpot's default web analytics properties here

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a meeting

Did my post help answer your query? Help the community (and me) by marking it as a solution.


KhushbooRevOps
Member

Web Forms: Referal URL

SOLVE

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!

Logo

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

LinkedIn | 9315044754 | Email | Website

0 Upvotes