CRM integration
Salesforce attribution from the first visit to closed-won
Organic search, paid social, a partner referral, or an AI assistant: SourceLoop records what brought each prospect in, stamps it on the Salesforce Lead and Opportunity, and ties the closed revenue back to it. No Account Engagement or Marketing Cloud licence needed.
Free 7-day trial. No credit card required.
- Auth
- OAuth, read and write
- Environments
- Production or sandbox
- Objects
- Lead, Contact, Account, Opportunity
- Licences needed
- No Marketing Cloud
What does SourceLoop add to Salesforce?
SourceLoop is a marketing attribution layer for Salesforce. It authenticates through OAuth against a production org or a sandbox, captures each prospect's origin with a first-party website tracker, and populates the Lead, Contact, Account, and Opportunity fields you choose with first-touch and latest-touch channel, UTM campaign data, and ad click IDs. Mapped values survive lead conversion, and closed-won Opportunity revenue returns to SourceLoop for channel ROI reporting and offline conversion uploads to Google Ads, Meta, Microsoft Ads, and ChatGPT Ads.
Updated November 2026
The gap
Why Salesforce reports can't name the channel
-
Lead Source holds a single picklist value
Web-to-lead or a rep fills in one option such as Web or Advertisement. It can't say which search term, post, or newsletter issue produced the lead.
-
Campaign Influence depends on discipline
Multi-touch influence leans on Account Engagement and clean campaign membership. In most orgs, members are added late or not at all, so the model is quietly incomplete.
-
Conversion drops unmapped values
Custom origin fields on a Lead only carry over if they are wired into the conversion mapping for Contact and Opportunity. Miss one and the trail ends at the Lead.
-
Ad platforms never learn what closed
An Opportunity can close a quarter after the first click, and Google Ads and Meta keep bidding without knowing which clicks turned into customers.
What you get
How SourceLoop fills the gaps in Salesforce
-
Origin data on Leads and Contacts
The channel, source, medium, campaign, and landing page of the opening visit and of the converting visit, plus any click IDs, written to fields you pick.
-
Opportunities credited to marketing
Each Opportunity takes its first and latest touch from the people attached to it, so pipeline and bookings can be grouped by channel or by attribution model.
-
Values that survive conversion
Map identical fields on Lead and Contact, add them to Salesforce's lead conversion mapping, and the origin follows the record when a rep converts it.
-
Your picklist stays untouched
SourceLoop writes only where you tell it to. Dedicated fields such as First_Channel__c keep your existing Lead Source reporting intact.
-
Statuses translated once
Map Salesforce lead statuses and Opportunity stages to SourceLoop stages, and MQL, SQL, and closed-won counts appear per channel with revenue and ROAS beside them.
-
Test in a sandbox first
Validate the field mapping in a sandbox org, then repeat on production. Lightning and Classic users see identical data.
The data
Fields you can map in Salesforce
SourceLoop writes only to the Salesforce fields selected on its Fields tab. Most teams create custom fields for these rather than reusing Lead Source.
| Field | Example | Written to |
|---|---|---|
| Opening-visit channel, source, medium, campaign | Referral · g2.com · referral · (none) | Lead, Contact, Opportunity |
| Converting-visit channel, source, campaign | Paid Search · google · cpc · emea-brand | Lead, Contact, Opportunity |
| Entry and conversion pages | /solutions/enterprise | Lead, Contact |
| Ad click IDs | gclid, msclkid, fbclid, li_fat_id | Lead, Contact |
| Quality rating and lead value | Good · $4,800 | Lead, Contact |
| Custom fields | Team size, Region | Lead, Contact |
Compared
Salesforce out of the box vs DIY vs SourceLoop
DIY usually means hidden UTM inputs on web-to-lead forms plus formula fields to copy them across. If you'd rather build that yourself, start with How to track UTM parameters in Salesforce.
| Capability | Salesforce standard | Web-to-lead inputs | SourceLoop |
|---|---|---|---|
| Specific campaign on each lead | Partly Lead Source picklist | Partly Hidden web-to-lead inputs | Yes Every UTM and click ID |
| Opening and converting touch | No | Partly One touch at best | Yes Both recorded |
| Marketing credit on Opportunities | Partly Campaign Influence setup | No | Yes From associated people |
| Booked meetings, chats, and calls | No | No | Yes Same fields for each |
| Extra Salesforce licences | Partly Account Engagement for multi-touch | Yes None | Yes None |
| Closed-won uploaded to ad platforms | No | No | Yes Opportunity amount |
Why it holds up
Attribution Salesforce admins can trust
SourceLoop captures origin data before a Lead exists and keeps it outside the browser's reach, so the fields you map are filled consistently, no matter which channel or device the prospect used.
First-party identifiers set on your own domain
Closed-won uploads travel server to server
The full path before the Lead was created
Bookings and revenue grouped by channel
How it works
Connecting Salesforce takes four steps
For screenshots of each screen, read How to track lead source in Salesforce.
-
<script async src="https://t.sourceloop.ai/tracking-v3.js"></script>
01Install the website tracker
One script tag records each visit's origin before the prospect fills in a form or books time.
-
02Authorise your org
Sign in through OAuth. Tick Connect to a Salesforce sandbox to point the connection at test.salesforce.com.
-
Field mapping
- First channel Lead
- Latest campaign Opportunity
- Lead quality Contact
03Choose target fields
Select which Lead, Contact, and Opportunity fields receive each value, then include them in the lead conversion mapping.
-
Statuses and stages
- Working - Contacted Working
- Qualified SQL
- Closed Won Won
04Define qualified and won
Mark which lead statuses count as qualified and which Opportunity stages count as closed-won.
Conversion sync
Upload Salesforce outcomes to your ad accounts
As Leads qualify and Opportunities close, SourceLoop uploads them with their value to Google Ads, ChatGPT Ads, Microsoft Ads, and Meta as offline conversions through each platform's conversions API, matched to the original click or hashed email, so value-based bidding learns from revenue rather than raw form fills.
- Lead status moves to Qualified
- Contact reaches SQL or Opportunity
- Opportunity closes won, with its amount
- Leads flagged as spam are never uploaded
Used by 750+ marketing teams, agencies, and SaaS companies
FAQ
Salesforce attribution FAQ
Does this need Marketing Cloud or Account Engagement (Pardot)?
No. SourceLoop works with the standard Lead, Contact, Account, and Opportunity objects through Salesforce's REST and Bulk APIs, so neither Marketing Cloud nor Account Engagement is part of the setup.
Can I try it in a sandbox before production?
Yes. Select Connect to a Salesforce sandbox before authorising and SourceLoop signs in through test.salesforce.com rather than login.salesforce.com.
Will my existing Lead Source values be replaced?
Only if you map SourceLoop to that field. Because SourceLoop writes exclusively to mapped fields, the usual approach is to add dedicated custom fields and leave the Lead Source picklist as it is.
Do the values carry over when a Lead is converted?
They do when the same fields exist on Lead and Contact and are part of Salesforce's lead conversion mapping. Opportunities then calculate their own first and latest touch from the people linked to them.
Is Lightning Experience supported?
Both Lightning and Classic are supported. Data arrives through the API, so every user sees the same values whichever interface they use.
Can won Opportunities be sent to Google Ads as conversions?
Yes. Set up a conversion sync on the Deal won moment and each closed-won Opportunity is uploaded with its amount to Google Ads, Meta, Microsoft Ads, or ChatGPT Ads, matched on click ID, email, or phone (click ID only for Microsoft Ads).
How does the tracker handle consent and privacy?
The SourceLoop identifier is first-party to your domain and respects Google Consent Mode, so visitors who decline are honoured. A cookieless mode is available, and uploads to ad platforms happen server-side with personal data hashed before it leaves SourceLoop.