<?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 Adding UTM parameters to contacts created via API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1189557#M83792</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to get web analytics for most of our signups. However due to cookie consent the hubspot sdk doesnt load for many of our users.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make sure we have a hubspot contact for all our users we create users via api from our backend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To still track the "Original Traffic Source" we would like to pass along utm parameters which are understood by hubspot as if the user was created via a form with a tracking code. However there are no hubspot native utm parameter properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to still have hubspot correctly set its web analytics properties like "Original Traffic Source" when creating contacts via API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grateful for any help!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Aug 2025 20:35:10 GMT</pubDate>
    <dc:creator>BAK</dc:creator>
    <dc:date>2025-08-16T20:35:10Z</dc:date>
    <item>
      <title>Adding UTM parameters to contacts created via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1189557#M83792</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to get web analytics for most of our signups. However due to cookie consent the hubspot sdk doesnt load for many of our users.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make sure we have a hubspot contact for all our users we create users via api from our backend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To still track the "Original Traffic Source" we would like to pass along utm parameters which are understood by hubspot as if the user was created via a form with a tracking code. However there are no hubspot native utm parameter properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to still have hubspot correctly set its web analytics properties like "Original Traffic Source" when creating contacts via API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grateful for any help!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 20:35:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1189557#M83792</guid>
      <dc:creator>BAK</dc:creator>
      <dc:date>2025-08-16T20:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding UTM parameters to contacts created via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1189747#M83797</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/872681"&gt;@BAK&lt;/a&gt;&lt;/SPAN&gt; and welcome, we are delighted to have you here!&lt;BR /&gt;&lt;BR /&gt;Great question, thanks for asking the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;Just to confirm, you'd like to set the "original traffic source" property via API or manually?&lt;BR /&gt;&lt;BR /&gt;Because when looking at this article "&lt;A href="https://knowledge.hubspot.com/properties/hubspots-default-contact-properties" target="_blank"&gt;HubSpot's default contact properties&lt;/A&gt;", I can see that this property is automatically set by HubSpot. The property options are not editable, but an individual's Original source value &lt;STRONG&gt;can be manually changed&lt;/STRONG&gt; to any of the options.&lt;BR /&gt;&lt;BR /&gt;In case you'd like to set it via API, I'd love to put you in touch with our Top Experts: Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366"&gt;@sylvain_tirreau&lt;/a&gt;&lt;/SPAN&gt;, &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&lt;/SPAN&gt; do you have suggestions to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/872681"&gt;@BAK&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a wonderful day and thanks so much for your help!&lt;BR /&gt;&lt;BR /&gt;Bérangère, HubSpot Community Manager&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 07:14:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1189747#M83797</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-08-18T07:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding UTM parameters to contacts created via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1190395#M83837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/872681"&gt;@BAK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can not edit those properties as they are read only in HubSpot but for a work-around you can create a custom property and send values to it, and then you can filter the contacts out as per your need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 08:02:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1190395#M83837</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2025-08-20T08:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding UTM parameters to contacts created via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1190835#M83867</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&lt;/SPAN&gt;, I hope that you are well!&lt;BR /&gt;&lt;BR /&gt;Thanks for your contribution and for the workaround.&lt;BR /&gt;&lt;BR /&gt;Just to clarify, our articles have been recently updated and you can see on another source here: "&lt;A href="https://knowledge.hubspot.com/properties/understand-traffic-source-properties" target="_blank" rel="noopener"&gt;Understand Original and Latest traffic source properties&lt;/A&gt;" that:&lt;BR /&gt;&lt;BR /&gt;"The Original Traffic Source property tells you the first known source through which a contact interacted with your business. The Latest Traffic Source property shows the most recent known source. &lt;STRONG&gt;These properties are automatically set by HubSpot, but you can update the value on a contact record manually.&lt;/STRONG&gt;".&lt;BR /&gt;&lt;BR /&gt;You cannot edit the Original or Latest Traffic Source property options, but you can manually change a contact's property value to any of the existing traffic sources.&lt;BR /&gt;&lt;BR /&gt;If you edit a contact’s Original or Latest Traffic Source, the source drill-down property values will be cleared.&lt;BR /&gt;&lt;BR /&gt;Thanks and have a great day!&lt;BR /&gt;&lt;BR /&gt;Bérangère, HubSpot Community Manager&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 08:01:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1190835#M83867</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-08-20T08:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding UTM parameters to contacts created via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1192288#M83957</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/872681"&gt;@BAK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You’re right that HubSpot doesn’t let you set the system analytics fields (like Original Source) through the API. They’re auto-populated by the tracking code and only editable manually in the UI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What most teams do is capture the UTM values on your side and then push them into custom contact properties via the Contacts API. That way you can still report, segment, and filter based on the UTMs. Docs here explain the behavior of those source fields in detail and the list of default contact properties is here:&lt;/P&gt;
&lt;P&gt;(&lt;A href="https://knowledge.hubspot.com/properties/understand-traffic-source-properties" target="_blank"&gt;https://knowledge.hubspot.com/properties/understand-traffic-source-properties&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;(&lt;A href="https://knowledge.hubspot.com/properties/hubspots-default-contact-properties" target="_blank"&gt;https://knowledge.hubspot.com/properties/hubspots-default-contact-properties&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you absolutely need them in the “official” Original Source property, you can technically overwrite it via API, but keep in mind that HubSpot clears the drill-down fields when you do this. So best practice is usually custom properties + workflows for reporting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On a related note, some teams sidestep the SDK limitations by syncing UTM data directly from backend signups into HubSpot in real time. A sync platform like Stacksync makes that part smoother since it keeps those UTM properties aligned between systems without extra scripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 21:44:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1192288#M83957</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-08-22T21:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding UTM parameters to contacts created via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1192401#M83965</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/537570"&gt;@RubenBurdin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the answer and elaborating on the problem here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a related note, some teams sidestep the SDK limitations by syncing UTM data directly from backend signups into HubSpot in real time. A sync platform like Stacksync makes that part smoother since it keeps those UTM properties aligned between systems without extra scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm a little confused by this part. We already are creating the contact via the api triggered by signups which we record in our backend.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We decided to do this as we felt the frontend wasn't bullet proof with ad blockers etc.&lt;/P&gt;&lt;P&gt;The backend doesnt know the UTM parameters though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We started using the "identify" function on the frontend to match frontend activity with a created contact. This works well sometimes but not always.&lt;/P&gt;&lt;P&gt;However it doesnt solve the problem thas Original Traffic Source is always "offline sources".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Sat, 23 Aug 2025 12:44:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1192401#M83965</guid>
      <dc:creator>BAK</dc:creator>
      <dc:date>2025-08-23T12:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding UTM parameters to contacts created via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1192403#M83966</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for the initiative.&lt;/P&gt;&lt;P&gt;Is the possibility to edit the "original traffic source" new?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are already writing utm parameters from a third party tool to hubspot to custom properties and have created a waterfall similar to hubspots calculation of the traffic source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A big problem however is that for many european visitors that dont accept our cookies and thus the hubspot sdk doesnt load, we dont have much information about them, which results to a lot of our signups being "unknown".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 23 Aug 2025 12:48:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1192403#M83966</guid>
      <dc:creator>BAK</dc:creator>
      <dc:date>2025-08-23T12:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding UTM parameters to contacts created via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1192869#M83976</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/872681"&gt;@BAK&lt;/a&gt;&lt;/SPAN&gt;, I hope that you are well!&lt;BR /&gt;&lt;BR /&gt;So, to confirm, the property options of the "organic traffic source" are not editable, but an individual's Original source value can be manually changed to any of the current options.&lt;BR /&gt;&lt;BR /&gt;As &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&lt;/SPAN&gt; mentioned, one of the workarounds, even if I understand this is not ideal, would be to create a custom property (which I see you are already doing).&lt;BR /&gt;&lt;BR /&gt;In that case, for new feature suggestions, I'd recommend first to search and check if this idea is already present &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank"&gt;on our Ideas Forum here&lt;/A&gt;. If you find a similar idea, give it an upvote and share your unique use case in the comments.&lt;BR /&gt;&lt;BR /&gt;If the idea doesn't exist already, please consider &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank"&gt;posting and creating a new Idea on our Ideas Forum here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Thank you for being part of the discussion!&lt;BR /&gt;&lt;BR /&gt;Have a lovely day!&lt;BR /&gt;&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 14:50:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Adding-UTM-parameters-to-contacts-created-via-API/m-p/1192869#M83976</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-08-25T14:50:51Z</dc:date>
    </item>
  </channel>
</rss>

