CRM integration
HubSpot attribution that reaches every contact and deal
Whether a lead found you through Google, a LinkedIn post, a newsletter, or ChatGPT, SourceLoop writes that channel, the campaign, and the visits behind it onto the HubSpot record, then follows the deal to revenue. No Marketing Hub Enterprise required.
Free 7-day trial. No credit card required.
- Sync
- Two-way, via OAuth
- Works on
- Free, Starter, Pro, Enterprise
- Objects
- Contacts, companies, deals
- Freshness
- Near real time, 15-min sweep
How does SourceLoop work with HubSpot?
SourceLoop connects to HubSpot over OAuth and syncs in both directions. Its first-party website tracker records how each visitor arrived, and SourceLoop writes the first-touch and converting-visit channel, UTM values, click IDs, and lead quality into a dedicated property group on HubSpot contacts and deals. Lifecycle stages and closed-won amounts flow back, so SourceLoop reports pipeline and revenue by marketing channel and can pass won deals to Google Ads, Meta, Microsoft Ads, and ChatGPT Ads as offline conversions.
Updated November 2026
The gap
What HubSpot's built-in attribution misses
-
Attribution reports are a paid tier
Contact create attribution arrives with Marketing Hub Professional, and deal and revenue attribution with Enterprise. Free and Starter portals are left with the Original Source property.
-
Imported and API contacts become Offline Sources
Leads created by a scheduler, an outside form tool, a call tracker, or any app writing through the API often land as Offline Sources, which hides whether search, social, or a referral produced them.
-
One property for a months-long journey
Original Source captures the session that created the contact. The webinar, the comparison article, and the retargeting ad that finally converted them never reach the record.
-
Deals don't know which channel sourced them
Deal source tends to describe the rep or the pipeline, so reporting pipeline and closed revenue by marketing channel means exporting and stitching data by hand.
What you get
What changes inside your HubSpot portal
-
A ready-made property group
One button creates the Sourceloop attribution group on contacts and deals with every property already mapped, so nobody builds custom properties by hand.
-
Both ends of the journey on each contact
Where the person first came from and where they came from on the visit that converted: channel, source, medium, campaign, term, content, and landing page for each.
-
Deals carry their own attribution
Each deal inherits the touches of its associated contacts, counts the visits made before it was created, and links to the full journey.
-
A journey card on the record
The SourceLoop panel shows the path behind a contact, company, or deal in plain sentences, right inside HubSpot, so sales sees context before the call.
-
Lifecycle stages drive the reporting
Lifecycle stage and lead status map to SourceLoop once, which turns MQLs, SQLs, customers, and closed-won revenue into a by-channel report under first-touch, last-touch, or multi-touch attribution models, with ROAS next to the spend.
-
Nothing you already own gets overwritten
SourceLoop only writes to properties you map, and a property set to write on create is filled once and then left alone.
The data
Properties SourceLoop fills in HubSpot
These are created for you with internal names like sourceloop_first_channel. Prefer your own properties? Point any value at an existing one on the Fields tab.
| Field | Example | Written to |
|---|---|---|
| First-touch channel, source, medium, campaign | Organic Search · google · organic · (none) | Contact, deal |
| Converting-visit channel, source, campaign | Paid Social · linkedin · demo-retarget | Contact, deal |
| Landing pages | /blog/attribution-guide | Contact |
| Click identifiers | gclid, msclkid, fbclid, li_fat_id | Contact |
| Lead quality, score, value | Good · 82 · $1,200 | Contact |
| Visits before the deal | 7 | Deal |
| Journey link | Opens the path in SourceLoop | Deal |
| Custom fields you define | Service, Budget | Contact |
Compared
HubSpot native attribution, hidden fields, or SourceLoop
The middle column is the do-it-yourself setup: hidden form fields that copy UTM values into HubSpot properties. We walk through it step by step in How to track UTM parameters in HubSpot CRM.
| Capability | HubSpot native | Hidden form fields | SourceLoop |
|---|---|---|---|
| Available on Free and Starter | Partly Original Source only | Yes Any tier | Yes Any tier |
| Real source on contacts other apps create | No Usually Offline Sources | Partly Only forms you wire up | Yes Forms, bookings, chats, calls |
| First touch and converting touch | Partly Original and latest source | Partly Normally one touch | Yes Both, every UTM |
| Channel attribution on deals | Partly Enterprise reports | No Needs workflows | Yes On every deal |
| Visit history behind a record | Partly HubSpot-tracked pages | No | Yes Panel on the record |
| Closed-won value sent to ad platforms | Partly Ads tool, linked accounts | No | Yes Amount included |
Why it holds up
Clean HubSpot data starts before the form
Every property SourceLoop writes comes from first-party tracking on your own site, so HubSpot gets the real source even for contacts another app created.
Visitor data stays on your domain, consent respected
Won deals reach ad platforms from the server, not a pixel
Each visit before the contact existed, in order
Closed-won revenue split by channel
How it works
Four steps from install to attributed deals
Every screen of the setup is documented in How to track lead source in HubSpot.
-
<script async src="https://t.sourceloop.ai/tracking-v3.js"></script>
01Add the SourceLoop snippet
Place the script in your site's head. From then on, each visit is stored first-party with its channel and campaign.
-
02Approve the HubSpot connection
Accept SourceLoop on HubSpot's consent screen, then decide whether every lead is sent or only the ones rated Good.
-
Sourceloop attribution
- First channel Created
- Latest campaign Created
- Lead value Created
03Generate the properties
Click Create Sourceloop fields in HubSpot and tell SourceLoop which deal stages mean won and lost.
-
Lifecycle stages
- Marketing qualified lead MQL
- Sales qualified lead SQL
- Customer Customer
04Line up lifecycle stages
Pair HubSpot's lifecycle stages and lead statuses with SourceLoop's so reports and ad platforms see the real funnel.
Conversion sync
Teach your ad platforms which HubSpot deals close
Bidding algorithms optimise toward the event you report. SourceLoop reports the HubSpot milestones that matter, an SQL, a qualified lead status, a closed-won deal with its amount, to Meta, Google Ads, Microsoft Ads, and ChatGPT Ads through each conversions API, tied back to the click that started it.
- Contact becomes an MQL or SQL
- Lead status changes to Qualified
- Deal closes won, with the amount
- Spam leads are held back automatically
Used by 750+ marketing teams, agencies, and SaaS companies
FAQ
HubSpot integration questions
Is Marketing Hub Professional or Enterprise required?
No. Any HubSpot portal works, Free and Starter included, because the integration only reads and writes contacts, companies, and deals. SourceLoop calculates attribution itself rather than relying on HubSpot's paid attribution reports.
Does SourceLoop change Original Source or other default properties?
Not unless you map to them. Values go into SourceLoop's own properties inside the Sourceloop attribution group, and any mapping can be set to write on create so it is never replaced later.
Why are so many of my HubSpot contacts marked Offline Sources?
HubSpot uses Offline Sources when a contact is created by an import, an integration, or the API instead of a tracked HubSpot page view. Scheduler bookings, third-party form tools, and phone leads often arrive that way. SourceLoop records the source on your site before the conversion happens, so those contacts still show their real channel.
Can SourceLoop attribute deals and revenue, not just contacts?
Yes. Deals receive the first and latest channel, source, and campaign of their associated contacts, the count of visits before the deal, and a journey link. Deal name, amount, and stage stay under HubSpot's control.
How quickly do changes move between the two systems?
HubSpot changes reach SourceLoop as they happen, backed by a full check every 15 minutes, and new leads appear in HubSpot within minutes.
Can closed-won HubSpot deals become Google Ads offline conversions?
Yes. A conversion sync on the Deal won moment sends each won deal and its amount to Google Ads, Meta, Microsoft Ads, or ChatGPT Ads, matched by click ID, email, or phone (Microsoft Ads matches on its click ID alone).
Is the tracking compatible with cookie banners and privacy rules?
Yes. SourceLoop stores its identifier first-party on your domain and honours Google Consent Mode signals from banners like Cookiebot and OneTrust, with a cookieless option if you prefer. Ad conversions go out server-side, so they don't rely on browser tags that blockers remove.
What happens to contacts created before the connection?
Run Find matching records on the Sync tab to add attribution to existing HubSpot contacts SourceLoop has already matched. Historic leads are never created as new contacts.