Original Source not populated correctly when using Forms Submission API

forms

#1

Hi,
I am using Forms submission API to submit a contact who registers on our external website. The contact gets created fine. However, I noticed one thing:
The original Source shows as “Offline Sources”, even though original source drill-down 1 shows “FORM”

https://app.hubspot.com/contacts/2608901/contact/2342301/properties?eschref=%2Fcontacts%2F2608901%2Fcontact%2F2342301%2F&esclabel=Back%20to%20contact%20record

Also, what is the Original Source Drill-Down 2 value? I was thinking it is the HubSpot form GUID. However, that does not seem to be the case

Thanks,
Johnson


#2

That number is an internal number we would use to fill in for the blank campaign associated to it. Are you passing along the page in the form submission? On the contacts timeline does it say what page the form was filled out on? You might not be passing in all of the necessary information for the form submission to know where it came from. Also are you passing in the cookie?


#3

Hi,
On the contacts I can see that the page was filled out from the form submission. Yes I am passing in the cookie.


#4

@jmichaelRS Can you post an example of the post body you are sending in?


#5

POST https://forms.hubspot.com/uploads/form/v2/PORTALID/FORMGUID HTTP/1.1
User-Agent: Fiddler
Content-Type: application/x-www-form-urlencoded
Host: forms.hubspot.com
Content-Length: 389

firstname=TestFName400&lastname=TestLName391&email=636257920500%40test.com&company=TestFName391+company&leadsource=Roofstock+Registered&salesforceaccountid=&lead_record_type__c=01215000001UdEpAAK&roofstock_account_id__c=1234&lifecyclestage=lead&hs_context=%7b%22hutk%22%3anull%2c%22ipAddress%22%3a%2210.40.2.222%22%2c%22pageUrl%22%3a%22https%3a%2f%2fqa.roofstock.com%22%7d

When I go to the contact I see the following message:
Some of this contact’s activity has been excluded based on their IP address

Not sure if this has anything to do with the issue. I can see that other users who directly register on our website, which in turn calls the forms API to create the contact in HubSpot, are created with the correct Original Source - Direct Traffic


#6

@jmichaelRS Are you filtering out your IP address? This is common for people to filter out their own IP address to get a more accurate sense of traffic.


#7

Yes, my IP Address was in the filter list. Removing this fixed the issue. The new contact was created as Direct Traffic. I would still think this is kind of weird. Why should the Original Source depend on the filters for IP Address?


#8

@jmichaelRS It has to do with reporting. Generally people don’t want page views and other web analytics tracked from their own domain. Your source would never get saved as we wouldn’t store the source or the page view in our analytics Back End


#9

Thanks for the response.