<?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: How to pass UTM information when creating a contact through the API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/500013#M47123</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/182962"&gt;@Mansoor&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will only work with contacts, but you could create a workflow that creates a deal when a form is submitted. You could use one single form for all submissions, but you could create unique forms for each submission type.&lt;/P&gt;
&lt;P&gt;The process you described is correct.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2021 07:15:44 GMT</pubDate>
    <dc:creator>Teun</dc:creator>
    <dc:date>2021-09-24T07:15:44Z</dc:date>
    <item>
      <title>How to pass UTM information when creating a contact through the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/499259#M47080</link>
      <description>&lt;P&gt;Hey!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am currently able to create a contact using the hubspot API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'd like to pass the UTM information so when creating it doesn't say created by the API but created by the correct campaign.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried adding the hutk cookie value and passed it as a property in hubspot but nothing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Maybe my approach is wrong would love some insight on how to accomplish this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Analytics says we are creating the contact from the API (which is technically correct)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected outcome:&lt;BR /&gt;Create a contact and have the Analytics say its from the campaign we put together rather then created by the API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 00:40:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/499259#M47080</guid>
      <dc:creator>Mansoor</dc:creator>
      <dc:date>2021-09-23T00:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass UTM information when creating a contact through the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/499356#M47088</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/182962"&gt;@Mansoor&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are probably using the &lt;A href="https://developers.hubspot.com/docs/api/crm/contacts" target="_blank" rel="noopener"&gt;Contacts API&lt;/A&gt;. But what you want is the &lt;A href="https://legacydocs.hubspot.com/docs/methods/forms/submit_form" target="_blank" rel="noopener"&gt;Form submission API&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Form submission API expects you to create a certain form and send the contact data as a form submission to this endpoint. You can also pass it the '&lt;SPAN&gt;hutk' cookie value and it will show you everything you need (including website behaviour etc.) if you have the HubSpot tracking script installed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It will show up as a form submission on the form you created and the contact will have all data you need in the timeline and the properties.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 06:39:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/499356#M47088</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2021-09-23T06:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass UTM information when creating a contact through the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/499732#M47112</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;That is correct I am using the Contacts API.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So what does the flow look something like this.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Create a form that on submission creates a contact&lt;/P&gt;&lt;P&gt;API will then submit to the form and send over the hutk.&lt;BR /&gt;&lt;BR /&gt;Does this work with deals? Does it mean that I always have to create a new form?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 17:36:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/499732#M47112</guid>
      <dc:creator>Mansoor</dc:creator>
      <dc:date>2021-09-23T17:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass UTM information when creating a contact through the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/500013#M47123</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/182962"&gt;@Mansoor&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will only work with contacts, but you could create a workflow that creates a deal when a form is submitted. You could use one single form for all submissions, but you could create unique forms for each submission type.&lt;/P&gt;
&lt;P&gt;The process you described is correct.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:15:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/500013#M47123</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2021-09-24T07:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass UTM information when creating a contact through the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/789093#M63652</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With v3 of the HubSpot API being deprecated, do you know how to do this with the latest version of the API? There doesn't seem to be an equivalent form submission endpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 21:18:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-UTM-information-when-creating-a-contact-through-the/m-p/789093#M63652</guid>
      <dc:creator>BBlakeley</dc:creator>
      <dc:date>2023-05-02T21:18:39Z</dc:date>
    </item>
  </channel>
</rss>

