i have created a hubspot form and shared it on my website. While tracking down the form it is giving direct traffic to that website, but i am sure that it is not a famous website and people are not directly coming to it, they are either searching some keyword thats bringing them to our page or are reffered by other pages. how can i track the original source of the lead in this case. please provide me with exact steps.
@Yogeshwari_m the UTM builder and the traffic analytics do not affect the correct capture of source information.
UTM parameters are typically already appended to URLs, then captured by HubSpot's tracking code. You would only add utm parameters to pages you own and where HubSpot doesn't do this automatically.
Since you've requested 'exact steps', let me share precisely these.
The first thing you must do is to make sure you have set up and correctly configured your tracking in HubSpot. Here's how:
Install the HubSpot Tracking Code on Your Website:
Ensure that the HubSpot tracking code is installed on every page of your website. This code is necessary for HubSpot to track visitors and their sources accurately.
You can find the tracking code in your HubSpot account underSettings > Tracking Code. Follow the instructions provided to add it to your website.
Use UTM Parameters for Better Tracking:
UTM parameters are tags you can add to your URLs to help HubSpot identify the source of your traffic. When sharing links to your website, make sure to append UTM parameters to them.
You can create UTM links using HubSpot’s URL Builder available inMarketing > Campaigns > Tracking URL Builder.
Enable Auto Tracking for Forms:
HubSpot automatically tracks the source of visitors who submit HubSpot forms. Ensure that your forms are set up correctly to capture this information.
In your HubSpot account, navigate toMarketing > Lead Capture > Forms. Select the form you want to edit, go to theOptionstab, and ensure that the tracking settings are enabled.
Check Original Source Data in Contacts:
HubSpot records the original source of each contact in the contact property called "Original Source". You can view this by navigating toContactsand selecting a contact to view their details.
Look at theOriginal Sourceproperty to see where the contact originally came from (e.g., Organic Search, Referrals, Social Media).
Create a Custom Report:
To get a comprehensive view of your lead sources, you can create a custom report in HubSpot.
Go toReports > Reportsand click onCreate Custom Report. SelectSingle ObjectorCross Objectdepending on your needs and use filters to include theOriginal Sourceproperty.
Add relevant properties and criteria to visualize and analyze where your leads are coming from.
Analyze Traffic Sources in Analytics Tools:
Use HubSpot's traffic analytics tools to get a broader view of your website traffic sources. Navigate toReports > Analytics Tools > Traffic Analytics.
Here, you can see a breakdown of your traffic by source, which can help you identify how visitors are finding your website.
I hope these steps can help you accurately track the source of the leads you are getting on your HubSpot form.
Thankyou SalmanLatif for the detailed explanation. Its really helpful. i just need to ask few more questions here and it would be a great help if you could answer them as well. 1. is it necessary to have UTM builder, actually my current plan does not include campaign and i suppose that is the reason i am not get the option of UTM builder. 2. Also i see no option relating to Traffic Analytics , is it possible to get the lead sources without this option. Also can we show it in the dashboard or it can only be tracked by reports.
if you could reply to this it would be greatly appreciated. thankyou in advance.
@Yogeshwari_m the UTM builder and the traffic analytics do not affect the correct capture of source information.
UTM parameters are typically already appended to URLs, then captured by HubSpot's tracking code. You would only add utm parameters to pages you own and where HubSpot doesn't do this automatically.
thankyou Karstenkoehler for the response. i have added the tracking code in the script but its still showing the lead as dirrect traffic, though it is within another website and i have navigated to that form via it, so its definitely not direct traffic. is there any other suggestion that could solve my error. thankyou
@Yogeshwari_m have you checked in your browser console whether the tracking code is loaded correctly? Have you looked into the cookie policy? How exactly are you testing?
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer
yes i did. i was suggested that the reason i am getting this error of direct traffic is because the form is getting embedded inside an i-frame. can you suggest me how to remove this i-frame. i am writing the embed code of form in my wordpress file.
I tried this and discovered that it isn't possible to remove the i-frame from wix forms, or wordpress forms. I am currently reffering to https://legacydocs.hubspot.com/docs/methods/forms/submit_form_v3_authentication . But here i am facing the issue that i am unable to comprehend as to where exactly i am to write the code. can you please explain this in detail/ stepwise.