Lead Capture Tools

FCorbaci
Top Contributor

Submit Form Context Data without hutk

SOLVE

Hello all,

I am using n8n to submit form data from non-hubspot form to hubspot form to mimic the submissions . I can submit data when its also a contact property, but fields such as page URL or other form fields that is not a contact property (e.g. a message field in the form) , I cant pass it.

In the documentation It's specified that I should be adding those parameters in hs_context

FCorbaci_0-1705055703891.png


My question:
 Is it possible to pass form context information without including hutk, because we don't use hs cookies on the website

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

Submit Form Context Data without hutk

SOLVE

Hey @FCorbaci yes, as I mentioned in my last comment, you don't need the cookie or IP address to pass the pageURL, but it still needs to be in the hs_context block of the submission. You can follow the documentation to add this and just not pass a HUTK or IP address. If you have a pageURL it should still show the form submitted on that page URL, you just won't get any page analytics. 

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

Book a consultation

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


View solution in original post

4 Replies 4
TomM2
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Submit Form Context Data without hutk

SOLVE

Hey @FCorbaci the hs_context block is for all meta data in the submission (including the page url, page title etc) it's not just for cookies. The HubSpot cookie is the "hutk" field which would be included in the hs_context block. You could still pass a page url and information in the hs_context block and not include a "hutk" field in here to pass the page title the submission happened on and not pass a HubSpot cookie. 

It's important to note however that without a cookie and IP address the submission and corresponding contact record will not track any page views or analytics as this is all done through the cookie. 

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

Book a consultation

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


FCorbaci
Top Contributor

Submit Form Context Data without hutk

SOLVE

@TomM2  thank you for the reply.

I just need to be able to see from the contacts profile, when I click on the form submission that I see which page it was submitted to. Right now I can pass any contact property and see it on the contact profile but I don't see pageurl. Is it possible to have it without cookie and an IP address? Or am I trying something impossible.

FCorbaci_0-1705343065432.png




TomM2
Solution
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Submit Form Context Data without hutk

SOLVE

Hey @FCorbaci yes, as I mentioned in my last comment, you don't need the cookie or IP address to pass the pageURL, but it still needs to be in the hs_context block of the submission. You can follow the documentation to add this and just not pass a HUTK or IP address. If you have a pageURL it should still show the form submitted on that page URL, you just won't get any page analytics. 

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

Book a consultation

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


PamCotton
HubSpot Employee
HubSpot Employee

Submit Form Context Data without hutk

SOLVE

Hey, @FCorbaci, thank you for posting in our Community!

 

Regarding your question about passing form context information without including hutk, if your website doesn't use hs cookies, you might need an alternative approach.

 

You can try using a custom method to capture and pass the relevant information.

 

I want to invite our top experts to this conversation, @TomM2, @Whathcock @Crocodilemarket any recommendations for @FCorbaci?

 

Thank you,

Pam

 

0 Upvotes