Connecting HubSpot, Salesforce, and GA4
What pipeline and analytics data unlocks, and which objects are read.
ENWritten by Elena Novak· Documentation LeadLast updated
Writes and maintains the Paid Lens documentation, from first connection to workspace administration.
CRM is the highest-value connection in the product. It replaces platform-reported conversions with revenue that actually closed.
Objects read
- HubSpot — contacts, deals, lifecycle stages, deal amounts, close dates.
- Salesforce — leads, opportunities, stages, amounts, close dates.
- GA4 — session-scoped source, medium, campaign, and conversion events.
Matching deals back to campaigns
Matching uses the click identifier captured on the landing page, then falls back to first-touch source stored on the contact record. Store the identifier on your form submissions to maximise match rate:
html
<input type="hidden" name="pl_click_id" id="pl_click_id" />
<script>
const p = new URLSearchParams(location.search);
document.getElementById('pl_click_id').value =
p.get('gclid') || p.get('fbclid') || p.get('li_fat_id') || '';
</script>Match rate is shown per source on the connection card. Below 60%, attribution recommendations are downgraded in confidence automatically.
See also
Run these steps on your own accounts — start a free 14-day trial
Start 14-day free trialNo credit card required.