I am using non-hubspot forms on my website, and leads are captures correctly in wordpress, so the forms are working correctly.
However, most leads, when transferred to hubspot, have missing info like phone numbers or other fields, it works once in awhile, but not everytime. This is happening to all forms from my website, not just a specific form. I have tried making a new form to no avail.
Please let me know if there something I can do resolve this. Thanks
For the non- HubSpot forms, to get the submission correctly there are proper mapping of non-HubSpot form fields to be done. Here are the steps that you can perform for mapping fields:-
Go toSettings > Propertiesand review the properties that you're mapping from your forms.
Ensure all relevant fields (name, email, phone number, etc.) have corresponding properties in HubSpot.
Also, you can go through below KB for more information on how you can efficiently fetch data from non-HubSpot form in HubSpot.
Thanks
Did my post help answer your query? Help the community by marking it as a solution.
I created a new Phone Number property, as im using Hubspot free and the new property is Single-line text. how do i map this to my current forms and override the hubspot-created phone number property?
If you want to map your custom field to HubSpot using JavaScript, you can leverage theHubSpot Tracking Codealong withJavaScript Form Submission. Steps:
Use the HubSpot tracking script (HubSpot's tracking code) on your site, which automatically tracks visitor data.
Attach your custom phone number field to the form submission event using JavaScript, and map it to HubSpot’s API for submission.
Sample Code:-hbspt.forms.create({ portalId: "your-portal-id", formId: "your-form-id", onFormSubmit: function($form) { var customPhoneNumber = document.getElementById("custom-phone-field").value; // Get value from your custom phone field // Submit the form data to HubSpot hbspt.forms.submit({ portalId: "your-portal-id", formId: "your-form-id", values: { "custom_phone_number": customPhoneNumber // Map your custom field } }); } });