Reporting & Analytics

JZhai
Member

How to get the source traffic of every submitted form?

Hi,

 

I have a form on a marketing page, and I'm able to pull out all the submission data via this API:https://legacydocs.hubspot.com/docs/methods/forms/get-submissions-for-a-form

 

However the output doesn't show what the traffic source (email, direct, etc) is of each submission. Is there a way to get the source at all? Thank you!

3 Replies 3
codeandtonichq
Contributor

How to get the source traffic of every submitted form?

Is the form added to your website?

If it is I recommend you use Google Analytics and follow  this tutorial (or one of the Google Tag Manager tutorials for form submit tracking)

0 Upvotes
webdew
Guide | Diamond Partner
Guide | Diamond Partner

How to get the source traffic of every submitted form?

Hi @JZhai ,

it isn't currently possible to capture the 'Original Source' of a contact record from that API.  However, you could use the 'Get a contact API' (documentation here), and use it alongside the Form API to get the contact source 🙂

Hope this helps!


If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards.

0 Upvotes
JZhai
Member

How to get the source traffic of every submitted form?

Sorry there is a source field which I overlooked. Please ignore the post:)