Hey pagetopixel,
Sorry about this, I could’ve sworn I answered you earlier this week… the forms send, by default, the form name and current page, and you are given an opportunity to override it.
This is part of the “HSContext” which sends the cookie, and some context for HubSpot to determine if the user is new or not, and where they’re coming from.
You have two “apply_filter” functions accessible to you at that point.
'pageUrl' => apply_filters( 'gf_hubspot_context_url', site_url() ),
'pageName' => apply_filters( 'gf_hubspot_context_name', rgars($form, 'title') ),
Can you clarify where the “collected forms” are that you’re referring to? I will look into manipulation based on the “Lead Source” but I wasn’t aware that it was something I could manipulate during form submissions.
No problem, thanks for your reply.
The collected forms are under the Marketing section in Hubspot, its in the main navigation to the left of the Settings tab. Is there an email I can send a screenshot?
To add the filters do I simply need to paste those 2 lines into functions.php?
It is possible to set the Lead Source from Gravity forms using Zapier but I would prefer to use your plugin.
Thanks again.
My bad, I see that you can change the form names. So the only question left is how to set the Form name as the lead source for the contact.
Thanks.