<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom form submitted into wrong Hubspot form in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-form-submitted-into-wrong-Hubspot-form/m-p/1156233#M82265</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/945724"&gt;@StijnCube&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As when, when you submit a custom-styled form through your site and rely on the HubSpot tracking code alone, HubSpot sees that as a non-HubSpot form. That’s why it creates a new form record in your account instead of attributing the submission to the one you already built in HubSpot. Unfortunately, even&amp;nbsp;using the form’s name, ID, and even data-hs-form-id won't work as you are hoping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The way around this is to use the &lt;A href="https://developers.hubspot.com/docs/guides/api/marketing/forms/forms" target="_blank" rel="noopener"&gt;HubSpot Forms API&lt;/A&gt;. With the API, you can post form data directly to a specific form using its GUID. This gives you full control over the front-end experience while still preserving native tracking in HubSpot, including attribution, reporting, and workflow enrollment tied to that form. This setup keeps everything centralized under the form you want, without having to embed the actual HubSpot form on the page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Josh&lt;/P&gt;</description>
    <pubDate>Fri, 23 May 2025 12:09:09 GMT</pubDate>
    <dc:creator>Josh</dc:creator>
    <dc:date>2025-05-23T12:09:09Z</dc:date>
    <item>
      <title>Custom form submitted into wrong Hubspot form</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-form-submitted-into-wrong-Hubspot-form/m-p/1156147#M82258</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created a packages that syncs my Hubspot forms to my websites CMS. I do this so I have full control over the form styling. Getting the form, mapping the fields and displaying it on my website works fine. However, when I submit the form on my website, it creates a new form in Hubspot and it isn't submitted into my existing form.&lt;BR /&gt;&lt;BR /&gt;The forms get submitted into Hubspot trough the general&amp;nbsp;HubSpot tracking code script I placed on my website. I get that Hubspot sees the form on my website as a 'non Hubspot form', because it technically is, but I would like to now if it is possible to tell Hubspot to submit the form to a specific existing form in Hubspot. I have tried adding the name of the form as 'name' and 'id' HTML attributes, and have even tried adding a 'data-hs-form-id' with the correct Hubspot form ID to get it to submit to the right form, but none of that seems to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could I get this to work correct?&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 07:33:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-form-submitted-into-wrong-Hubspot-form/m-p/1156147#M82258</guid>
      <dc:creator>StijnCube</dc:creator>
      <dc:date>2025-05-23T07:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom form submitted into wrong Hubspot form</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-form-submitted-into-wrong-Hubspot-form/m-p/1156233#M82265</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/945724"&gt;@StijnCube&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As when, when you submit a custom-styled form through your site and rely on the HubSpot tracking code alone, HubSpot sees that as a non-HubSpot form. That’s why it creates a new form record in your account instead of attributing the submission to the one you already built in HubSpot. Unfortunately, even&amp;nbsp;using the form’s name, ID, and even data-hs-form-id won't work as you are hoping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The way around this is to use the &lt;A href="https://developers.hubspot.com/docs/guides/api/marketing/forms/forms" target="_blank" rel="noopener"&gt;HubSpot Forms API&lt;/A&gt;. With the API, you can post form data directly to a specific form using its GUID. This gives you full control over the front-end experience while still preserving native tracking in HubSpot, including attribution, reporting, and workflow enrollment tied to that form. This setup keeps everything centralized under the form you want, without having to embed the actual HubSpot form on the page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 12:09:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-form-submitted-into-wrong-Hubspot-form/m-p/1156233#M82265</guid>
      <dc:creator>Josh</dc:creator>
      <dc:date>2025-05-23T12:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom form submitted into wrong Hubspot form</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-form-submitted-into-wrong-Hubspot-form/m-p/1156917#M82287</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2062"&gt;@Josh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for explaining.&amp;nbsp;Although I had hoped for a different solution, I now know what to do. I wil look into using the API!&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 06:54:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-form-submitted-into-wrong-Hubspot-form/m-p/1156917#M82287</guid>
      <dc:creator>StijnCube</dc:creator>
      <dc:date>2025-05-26T06:54:41Z</dc:date>
    </item>
  </channel>
</rss>

