<?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: Source attribution for a custom event in Dashboards &amp; Reporting</title>
    <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1225707#M13281</link>
    <description>&lt;P&gt;Thanks for thinking of me&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;- an welcome to the community&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/934169"&gt;@Kobekapoor&lt;/a&gt;. I wish I had some genuine solution to offer here, but I have not had this come up in my own usage, nor with clients. The best I can do is offer a little research.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found this interesting insight, I don't know if it will help with troubleshooting but wanted to share.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Standard UTM parameters (utm_source, utm_medium, utm_campaign) are only present in the URL on the initial landing page. They do not persist between domains unless they are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Passed via URL parameters when a user navigates from your main site to the subdomain (e.g., links like&amp;nbsp;&lt;A href="https://booking.mymainwebsite.com?utm_source=xxx" target="_blank"&gt;https://booking.mymainwebsite.com?utm_source=xxx&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;Managed by a script or middleware that “remembers” and appends UTMs when users cross from root to subdomain.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here's a table with basic &lt;A href="https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1224045" target="_blank" rel="noopener"&gt;pracical advice&lt;/A&gt; that may also help.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Area&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;What to Check/Do&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Tracking Code&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Exactly the same code on all domains/pages&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Cross-Domain Setup&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Both domains listed in HubSpot tracking settings&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;UTM Persistence&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;UTMs passed via all links between domain&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Event Payload&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Custom event includes hutk field if sent via API/script&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Session Continuity&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;No broken cookie/session between domains&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Testing&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Use incognito mode to confirm attribution starts fresh&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wish I had more practical advice to offer, but maybe something here will help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Nov 2025 14:26:18 GMT</pubDate>
    <dc:creator>danmoyle</dc:creator>
    <dc:date>2025-11-19T14:26:18Z</dc:date>
    <item>
      <title>Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1100360#M11598</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, HubSpot community!&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble getting source attribution for a custom event in HubSpot.&lt;BR /&gt;&lt;BR /&gt;We've created a custom event in HubSpot via Google Tag Manager to track successful bookings. The event completion is being captured correctly, but we cannot see the source channel for the event.&lt;BR /&gt;&lt;BR /&gt;Our setup includes:&lt;BR /&gt;- A main website (mymainwebsite.com) and a booking app hosted on a subdomain (booking.mymainwebsite.com).&lt;BR /&gt;- HubSpot tracking code is installed on both domains.&lt;BR /&gt;- Cross-domain tracking is enabled.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The GTM js code looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gtm-hubspot-event-imp.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/137023i887A646FA85274F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gtm-hubspot-event-imp.png" alt="gtm-hubspot-event-imp.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;The event completion is being captured fine but we can’t see the source of the event. We want to be able to see the default source channels like Paid Search, Organic Search, and Direct Traffic, similar to how we can see the data in Google Analytics. Is this default channel grouping even possible?&amp;nbsp; It seems I can only report based on UTM source, UTM campaign, etc.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Our HubSpot custom event uses the default properties which include “hs_touchpoint_source property” but this always shows as undefined, even if the UTM source is known. Should this be displaying one of the interaction sources as described &lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/guides/api/analytics-and-events/custom-events/custom-event-completions#interaction-sources" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;here&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; or am I missing something?&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;Additionally,&amp;nbsp;UTM parameters do not persist between the main website and the booking subdomain. If a user lands on mymainwebsite.com?utm_campaign=mycampaign, the UTM parameters are lost when they navigate to booking.mymainwebsite.com.&lt;BR /&gt;&lt;BR /&gt;My questions:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How can I ensure I capture the correct source for the custom event so I can report on it effectively in HubSpot?&lt;/LI&gt;&lt;LI&gt;Is it possible to maintain UTM parameter persistence between the main site and the booking subdomain without having to manually modify all URLs on the booking buttons?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any guidance or suggestions would be greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 06:18:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1100360#M11598</guid>
      <dc:creator>DankaHS</dc:creator>
      <dc:date>2025-01-28T06:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1100870#M11609</link>
      <description>&lt;P&gt;Hey &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/699094"&gt;@DankaHS&lt;/a&gt;&lt;/SPAN&gt;, thank you for posting in our Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like the issue is related to UTM parameter persistence between your main site and subdomain.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledge.hubspot.com/reports/how-do-i-know-if-my-hubspot-tracking-code-is-working" target="_blank"&gt;While the HubSpot tracking code &lt;/A&gt;and cross-domain tracking are set up, you may need to ensure both domains are correctly listed under HubSpot's cross-domain settings.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, UTM parameters won't persist automatically unless you implement a solution like appending them to links directing users to the subdomain.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For source attribution, confirm that the &lt;A href="https://knowledge.hubspot.com/reports/how-do-i-know-if-my-hubspot-tracking-code-is-working" target="_blank"&gt;HubSpot tracking code&lt;/A&gt; is the same across both domains and test whether the &lt;STRONG&gt;hs_touchpoint_source&lt;/STRONG&gt; property captures data after fixing parameter persistence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledge.hubspot.com/reports/how-do-i-know-if-my-hubspot-tracking-code-is-working" target="_blank"&gt;More information here.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly,&lt;/P&gt;
&lt;P&gt;Pam&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 22:40:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1100870#M11609</guid>
      <dc:creator>PamCotton</dc:creator>
      <dc:date>2025-01-28T22:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1111014#M11751</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've fixed the&amp;nbsp;&lt;SPAN&gt;UTM parameter persistence and it is working now, and we can see the values in the reports.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;However, the&amp;nbsp;hs_touchpoint_source is still empty.&amp;nbsp; If a user is coming from an URL without UTM parameters (say it went directly to the website and from there click the button to the page to complete the booking) and the custom event is completed, how can I see the source like "direct traffic"?&lt;BR /&gt;&lt;BR /&gt;Sorry if it's a silly question, I'm new to custom events and still getting my head around on how they work.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 23:50:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1111014#M11751</guid>
      <dc:creator>DankaHS</dc:creator>
      <dc:date>2025-02-18T23:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1222330#M13233</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/699094"&gt;@DankaHS&lt;/a&gt;;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/60427"&gt;@PamCotton&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the exact same setup, did you manage to get this fixed? What part of the tracking code should I be testing is the same across both sites?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Did you end up needing to pass UTM paramaters across to get the hs_touchpoint_source accurate?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 02:50:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1222330#M13233</guid>
      <dc:creator>Kobekapoor</dc:creator>
      <dc:date>2025-11-11T02:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1223036#M13243</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/934169"&gt;@Kobekapoor&lt;/a&gt;&lt;/SPAN&gt; and welcome, we are so glad to have you here!&lt;BR /&gt;&lt;BR /&gt;Thanks for reaching out to the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;Here are some resources on the topic that might help you:&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="https://knowledge.hubspot.com/reports/set-up-sources-tracking" target="_blank"&gt;Set up site tracking in HubSpot&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code" target="_blank"&gt;Install the HubSpot tracking code&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now, let's consult 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/20405"&gt;@himanshurauthan&lt;/a&gt;&lt;/SPAN&gt;, &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/640"&gt;@Lucila-Andimol&lt;/a&gt;&lt;/SPAN&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/111325"&gt;@karstenkoehler&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/934169"&gt;@Kobekapoor&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a wonderful day and thanks so much!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 17:02:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1223036#M13243</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-12T17:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1223181#M13246</link>
      <description>&lt;P&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;I have definitely installed the tracking code and have a good understanding of that.&lt;BR /&gt;&lt;BR /&gt;We have the HubSpot forms api setup passing hutk to get some sort of source data. But we were hoping to migrate this to custom events as not all events we are good to use a form for.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 22:09:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1223181#M13246</guid>
      <dc:creator>Kobekapoor</dc:creator>
      <dc:date>2025-11-12T22:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1224045#M13249</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/934169"&gt;@Kobekapoor&lt;/a&gt;&lt;/SPAN&gt; and thanks for the additional information!&lt;BR /&gt;&lt;BR /&gt;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;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/123775"&gt;@danmoyle&lt;/a&gt;&lt;/SPAN&gt; and &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt; do you have any insights to share with &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/934169"&gt;@Kobekapoor&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a great day and thanks so much!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 17:28:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1224045#M13249</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-14T17:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1224385#M13251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don’t work with that client anymore, but up until the time I did, it still wasn’t working as expected. The hs_touchpoint_source property remained empty when the visit came from a URL without UTM parameters.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Sorry, I can’t be of more help!&lt;/P&gt;</description>
      <pubDate>Sun, 16 Nov 2025 21:39:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1224385#M13251</guid>
      <dc:creator>DankaHS</dc:creator>
      <dc:date>2025-11-16T21:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1225707#M13281</link>
      <description>&lt;P&gt;Thanks for thinking of me&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;- an welcome to the community&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/934169"&gt;@Kobekapoor&lt;/a&gt;. I wish I had some genuine solution to offer here, but I have not had this come up in my own usage, nor with clients. The best I can do is offer a little research.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found this interesting insight, I don't know if it will help with troubleshooting but wanted to share.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Standard UTM parameters (utm_source, utm_medium, utm_campaign) are only present in the URL on the initial landing page. They do not persist between domains unless they are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Passed via URL parameters when a user navigates from your main site to the subdomain (e.g., links like&amp;nbsp;&lt;A href="https://booking.mymainwebsite.com?utm_source=xxx" target="_blank"&gt;https://booking.mymainwebsite.com?utm_source=xxx&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;Managed by a script or middleware that “remembers” and appends UTMs when users cross from root to subdomain.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here's a table with basic &lt;A href="https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1224045" target="_blank" rel="noopener"&gt;pracical advice&lt;/A&gt; that may also help.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Area&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;What to Check/Do&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Tracking Code&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Exactly the same code on all domains/pages&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Cross-Domain Setup&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Both domains listed in HubSpot tracking settings&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;UTM Persistence&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;UTMs passed via all links between domain&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Event Payload&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Custom event includes hutk field if sent via API/script&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Session Continuity&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;No broken cookie/session between domains&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="30px"&gt;Testing&lt;/TD&gt;
&lt;TD width="50%" height="30px"&gt;Use incognito mode to confirm attribution starts fresh&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wish I had more practical advice to offer, but maybe something here will help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 14:26:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1225707#M13281</guid>
      <dc:creator>danmoyle</dc:creator>
      <dc:date>2025-11-19T14:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1226036#M13285</link>
      <description>&lt;P&gt;Thanks heaps for this!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Great info &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;When passing hutk in a script/api, should I be passing that in the properties or outside?&lt;BR /&gt;&lt;BR /&gt;_hsq.push([&lt;BR /&gt;'trackCustomBehavioralEvent',&lt;BR /&gt;{&lt;BR /&gt;name: "pe441883400_location_selected",&lt;BR /&gt;properties: {&lt;BR /&gt;location: locationName,&lt;BR /&gt;hutk: HUBSPOTUTKTOKEN&lt;BR /&gt;},&lt;BR /&gt;},&lt;BR /&gt;]);&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;_hsq.push([&lt;BR /&gt;'trackCustomBehavioralEvent',&lt;BR /&gt;{&lt;BR /&gt;name: "pe441883400_location_selected",&lt;BR /&gt;properties: {&lt;BR /&gt;location: locationName,&lt;BR /&gt;},&lt;BR /&gt;hutk: HUBSPOTUTKTOKEN&lt;BR /&gt;},&lt;BR /&gt;]);&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 22:00:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1226036#M13285</guid>
      <dc:creator>Kobekapoor</dc:creator>
      <dc:date>2025-11-19T22:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Source attribution for a custom event</title>
      <link>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1226375#M13288</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/934169"&gt;@Kobekapoor&lt;/a&gt;&lt;/SPAN&gt; and thanks for getting back to us!&lt;BR /&gt;&lt;BR /&gt;When using trackCustomBehavioralEvent with the JavaScript API, hutk should be passed OUTSIDE of the properties object, as shown in your second example.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The correct structure is:&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;_hsq.push([&lt;BR /&gt;'trackCustomBehavioralEvent',&lt;BR /&gt;{&lt;BR /&gt;name: "pe441883400_location_selected",&lt;BR /&gt;properties: {&lt;BR /&gt;location: locationName,&lt;BR /&gt;},&lt;BR /&gt;hutk: HUBSPOTUTKTOKEN&lt;BR /&gt;},&lt;BR /&gt;]);&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The hutk parameter is used for source attribution and should be at the same level as name and properties, not nested inside properties.&lt;BR /&gt;&lt;BR /&gt;This allows HubSpot to properly associate the event with the visitor's tracking cookie for attribution purposes.&lt;BR /&gt;&lt;BR /&gt;I hope this helps!&lt;BR /&gt;Bérangère&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;This post was created with the assistance of AI tools.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 11:27:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Dashboards-Reporting/Source-attribution-for-a-custom-event/m-p/1226375#M13288</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-20T11:27:47Z</dc:date>
    </item>
  </channel>
</rss>

