How to track lead source in Pipedrive
Push UTMs and lead source from SourceLoop into Pipedrive Person, Organization, and Deal records. Native OAuth integration that handles regional API domains automatically.
On this page
Pipedrive is the pipeline-first CRM most growing sales teams reach for. Its native fields cover the pipeline state well; what they don’t cover is which marketing channel produced each Person. SourceLoop adds: first-touch and last-touch source on every Person, the full UTM trail, the visitor’s pre-conversion journey, and multi-touch attribution models that follow Persons through to closed-won Deals.
This article covers the OAuth connect flow only. After connecting, see:
- Push UTMs and lead source to Pipedrive Person fields
- Map SourceLoop stages to Pipedrive labels and statuses
Why connect Pipedrive to SourceLoop?
Pipedrive’s native attribution is limited. SourceLoop adds:
- First-touch and last-touch source on every Person, not a single Source field
- Full UTM trail (source, medium, campaign, content, term) per touchpoint
- Multi-touch attribution models (first, last, linear, position-based, time-decay)
- Visitor journey viewable on the Person record (every page browsed pre-conversion)
- Revenue-by-channel when payment integrations are connected, attributed back to the original Person
All of this lives on Pipedrive Person, Organization, and Deal custom fields, so it shows up in Pipedrive list views, filters, and the Insights builder.
Before you start
You’ll need:
- A SourceLoop workspace with the tracking pixel installed
- A Pipedrive company account (any plan)
- A Pipedrive Admin user (required for OAuth + creating custom fields)
- Admin or Owner role in SourceLoop
Step 1: Open the CRM integrations page
- Sign in to SourceLoop.
- Click Setup in the left sidebar.
- Click the CRM tab inside Setup.
- Scroll to the Pipedrive card and click Connect.
You’ll be redirected to Pipedrive’s OAuth consent screen.
Step 2: Authorise SourceLoop on Pipedrive
- Sign in to Pipedrive if you aren’t already.
- Pick the Pipedrive company you want to connect (if you have multiple).
- Review the scopes SourceLoop is requesting (read/write on Persons, Organizations, Deals, Pipelines, Stages, Users, plus custom field management).
- Click Allow and install.
Pipedrive redirects you back to SourceLoop. The connection card flips to Connected and shows your Pipedrive company domain (e.g., acme.pipedrive.com).
Step 3: Pick what to sync
After connecting, the Pipedrive drawer opens with sync settings:
- Inbound sync (Pipedrive → SourceLoop): pulls your existing Persons, Organizations, and Deals into SourceLoop so SourceLoop can stitch attribution onto them and dashboards reflect your real pipeline.
- Outbound sync (SourceLoop → Pipedrive): pushes UTM and source data from SourceLoop into Pipedrive custom fields on Person, Organization, and Deal records.
- Sync scope — choose between Contacts and Deals (most teams) or Deals only (if you don’t want SourceLoop touching the Person object).
Most teams enable both directions and the full Contacts and Deals scope. Click Save to start the first sync.
Step 4: Wait for the initial sync
The initial sync pulls existing Pipedrive records into SourceLoop. Duration depends on volume:
- Small account (under 5k Persons): under 5 minutes
- Mid-size (5k-50k): 10-30 minutes
- Large (50k+): up to a couple of hours
The sync runs server-side. Watch the Last sync timestamp on the Pipedrive card.
After the initial run, deltas sync every 15 minutes automatically.
What gets written to Pipedrive
Out of the box, SourceLoop creates and writes to these custom fields on the Person object:
sourceloop_first_source,sourceloop_first_medium,sourceloop_first_campaign, etc.sourceloop_latest_source,sourceloop_latest_medium,sourceloop_latest_campaign, etc.sourceloop_first_landing_page,sourceloop_latest_landing_pagesourceloop_id— internal link (don’t delete or edit)
These custom fields are created on Pipedrive’s side automatically the first time SourceLoop writes to them, no manual setup required (provided the connecting user is an Admin).
For mapping to your own existing custom fields or to push to Organizations and Deals, see Push UTMs and lead source to Pipedrive Person fields.
What’s next
- Field mapping — by default SourceLoop maps to its own
sourceloop_*fields. To map to your existing fields or push to Organization / Deal custom fields, see Push UTMs to Pipedrive. - Label / status mapping — translate SourceLoop’s lifecycle stages into Pipedrive label_ids and deal stages. See Map SourceLoop stages to Pipedrive labels.
- Troubleshooting — if a sync looks stuck or fields aren’t writing, see Troubleshoot Pipedrive sync issues.
Frequently asked questions
-
Do I need Pipedrive Professional or higher?
No. The OAuth integration works on every Pipedrive plan including Essential. Some advanced features like automation triggers based on the UTM fields require Pipedrive Advanced or higher, but the sync itself doesn't.
-
Pipedrive separates Persons and Organizations. How does SourceLoop handle that?
Both. SourceLoop pushes contact-level attribution to Persons and (optionally) company-level attribution to Organizations. Most teams enable both, leads come in as Persons, account-level rollups land on Organizations.
-
Does this sync historic Persons or only new ones?
Both. The initial sync pulls existing Persons (matched by email) and stamps SourceLoop attribution onto any new activity from those people. Forward Persons sync on the 15-minute delta cadence.
-
What if my Pipedrive company is on a different region (e.g., EU)?
SourceLoop handles regional API domains automatically. The OAuth response includes your company-specific Pipedrive domain (e.g., `acme.pipedrive.com` or `acme-eu.pipedrive.com`), which SourceLoop stores per connection. All API calls route through the correct regional endpoint.
-
Can I sync multiple Pipedrive companies?
One Pipedrive company per SourceLoop website. For multiple Pipedrive accounts, create a separate SourceLoop website for each and connect them independently.
-
Does this work with the Pipedrive Marketplace?
SourceLoop uses Pipedrive's standard OAuth flow, the same one Marketplace apps use. The connection is authorised through Pipedrive's official consent screen and can be revoked any time from Pipedrive's Settings -> Tools and apps -> Marketplace apps.