Gravity Forms: Exclude Certain Forms For Submitting to Hubspot

Hi there

I have come across this issue before, but cannot seem to find a valid solution.

Problem:

Exclude certain Gravity Forms from Submitting Data to HubSpot.

Setup:

1. Gravity Forms connected to Hubspot via Addon WP Gravity Forms HubSpot Pro

2. Plugin has one main connection where the feed Data is Setup in terms of connecting it to the Hub ID

3. Further, within each form, there is a Hubspot Feed, only one form is setup with an actual feed, and the rest fo the forms do not. See attachment.

4. However, the forms all submit to Hubspot, even without the connection feeds as per the image. I want to ensure the Forms that are not connected, are excluded.

Solution (Doesnt work)

1. Remove connection from those forms we dont want data to submit

2. Added “fake” payment hidden fields to discourage hubspot from collecting the data fro those forms. As seen here

Neither work.

Reached out to plugin developers, who say its Hubspot, hence reaching for support here.
https://community.hubspot.com/t5/Lead-Capture-Tools/Ignore-a-specific-non-Hubspot-form-from-being-collected/m-p/246957

Any ideas?

Hey, @stefanok. Thanks for your question. Your link provided a hint. Do you have the non-HubSpot form setting enabled? In addition to using your Gravity Forms plug-in? This setting lives in Settings > Marketing > Forms > Non-HubSpot Forms.

Best,

Jaycee

Thank you for your reply. If i disable this setting in the image, what happens to the one form that i do want to collect data from? As we only have one lead pipeline format hat we need to collect and don’t want to disrupt this.

Hello @stefanok - did you happen to find the solution to this? We just hit the same issue; thought we were collecting data from one lead capture form, and now realise we’re getting it from other forms we don’t want to sync. Thank you!

Unfortunately not a direct or simple fix.

I noticed a correlation with the Hubspot tracking code that was directly installed in the theme for other functionality tracking.

It appears that this is the script that is automatically picking up other forms and including them in form submission tracking.

When inspecting the JavaScript in these forms on submission we noticed the tracking code was appending to the submission.

We tried various solutions but ultimately we had to come up with a custom and specific JavaScript to exclude this from the form. It was a process.

Well that’s very useful to know, thanks… we’ll look down the same road then. Much obliged.

Only a pleasure :blush:

To jump on the back of what stefanok has written, it is annoying that all submissions are sent to HubSpot even without a feed and I would love an option to exclude certain forms from submitting data if this is something the team could look into implementing or documenting the how to guide for this.