HubSpot takes names from the ‘label’ instead of the ‘‘name’’ attribute in input fields. We are using WooCommerce forms. Where is the problem, and what can be done about it? How can this be changed?
Hi,
It may be that your WooCommerce form is sending the field label to HubSpot instead of the field name, which HubSpot doesn’t recognize
You could consider using a HubSpot form to avoid this issue
Hope this helps!
Cheers,
Harsh
Thank you, what should I do to send the field name so that hubspot gets the field name?
Regards
Hi @S4ndy,
We know you had this question a few days ago, and we would like to know if you have already resolved it. If so, could you please share the procedure you followed? And if you haven’t resolved it yet, could you let us know so we can continue investigating?
Thank you!
Diana
Hi @S4ndy
I’ve seen this with WooCommerce + HubSpot’s “Non-HubSpot forms.” The collector doesn’t rely on your HTML name attribute; it parses the visible label/placeholder and then auto-maps to a HubSpot property. You can override this by editing the field mappings: in HubSpot go to Settings > Marketing > Forms > Non-HubSpot Forms, open your captured form, and map each external field to the correct HubSpot property
If the auto-mapping still looks off, adjust the mapping directly on the form record so “Email,” “First name,” etc. point to the exact properties you want. One quick check: are you using WooCommerce checkout or a custom form on WordPress pages? Knowing which template helps confirm which fields the collector sees.
If you prefer full control, submit to HubSpot via the Forms API so you send canonical property names from Woo directly. If you’re juggling data across tools, Stacksync keeps HubSpot and your source in two-way sync, which prevents these clean-up cycles.