Skip to content

Offline Conversion Tracking for B2B: Sending HubSpot and Salesforce Deals Back to Google and LinkedIn Ads

By Prince Srivaastav, Founder and Growth Lead

The setup has four parts: capture a click ID and contact identifiers when the lead converts; keep them attached to the record as it moves from lead to opportunity; decide which CRM stages count as conversions and what each is worth; and send those stages to each platform inside its time limits. Google accepts click-ID conversions up to 90 days after the click and email-matched conversions up to 63 days. LinkedIn accepts API events with timestamps from the past 90 days, and needs qualified-lead data within 30 days to use it for optimization. This guide covers each rule, the routes for HubSpot and Salesforce, and the owners and tests for each step. Our Google Ads management service builds this connection as part of account setup.

Why form-fill optimization misleads B2B bidding

Smart Bidding and LinkedIn's automated bidding both learn from the conversions you report. If the only conversion is a form submission, every form counts equally: a student downloading a guide, a competitor checking your pricing and a director asking for a demo. The algorithm finds more of whatever converts most cheaply, which in B2B is rarely the buyer.

Sending CRM stages changes what the algorithm is rewarded for. It also changes reporting. Cost per opportunity by campaign becomes visible inside the ad platform, so budget moves can be made on pipeline without a separate spreadsheet.

Google makes a related claim for its own product. Its help page on offline conversion imports states that advertisers using first-party data with click IDs "saw a median 10% increase in conversions compared to those using standard offline conversion imports." That is Google's figure for its enhanced conversions for leads feature, published without a method, so treat it as the platform's claim.

What the ranking pages leave out

When we checked "google ads offline conversion tracking salesforce" in US search results on 25 September 2026, 4 of 9 results were guides or blog posts, 3 were documentation pages, 1 was a software vendor page and 1 was a directory listing. Two of the three Google documentation results were for the Salesforce integration Google labels "Legacy," which its help page says "will no longer be supported beginning May 31, 2025." A reader following those pages would configure a route that no longer works.

For "hubspot google ads offline conversions," 4 of 9 results were guides, 2 were documentation pages, 2 were forum threads and 1 was a software vendor page. For "linkedin conversions api," 7 of 9 results were documentation pages. Every result we reviewed covers one platform and one CRM. None puts Google and LinkedIn time limits side by side, and none explains how to choose which stages to send when a sales cycle runs longer than those limits. That is the gap this guide fills.

The platform rules side by side

These are the rules that shape the design. Each comes from the platform's own documentation, fetched on 26 September 2026.

Rule Google Ads LinkedIn Ads
Main matching method Google Click ID (GCLID); enhanced conversions for leads adds hashed email and phone Hashed email, LinkedIn first-party click ID, IP address, name plus company, lead form response ID
Time limit for sending a conversion GCLID conversions up to 90 days after the click; enhanced conversions for leads up to 63 days Conversion timestamp must be within the past 90 days
Time limit for optimization use Upload "at least daily" for Smart Bidding Qualified leads "within 30 days" to be included in optimization
Correcting a conversion Adjustments "up to 55 days" after the conversion was first recorded Not stated in the documentation reviewed
Reporting delay 4 to 6 hour wait after creating a conversion action before uploading Up to 72 hours for complete data
CRM-specific stage types Any conversion action you define Conversion types include LEAD, QUALIFIED_LEAD, MARKETING_QUALIFIED_LEAD and SALES_QUALIFIED_LEAD
Deduplication Two conversions on one GCLID need unique timestamps Shared event ID with the Insight Tag

Sources: Google Ads Help pages on offline conversion import FAQs, GCLID setup and offline conversion imports; LinkedIn developer documentation on Microsoft Learn (Conversions API, use cases and FAQ).

Two platform changes matter for anyone reading older guides. Google's help page states: "Starting June 15, 2026, offline conversions import and enhanced conversions for leads uploads will be migrated to the Data Manager API and blocked in the Google Ads API." Custom scripts written against the old API route need review. And Google's native Salesforce connection now runs through Google Ads Data Manager; the legacy integration ended on 31 May 2025.

Which CRM stages to send, and what each one is worth

The best stage to send is the one closest to revenue that still happens inside the platform's time limits, often enough to give the algorithm a steady signal. Those two needs pull in opposite directions, so most B2B accounts send several stages.

CRM stage Typical timing after click Fits Google's 90-day GCLID limit? Fits LinkedIn's 30-day qualified-lead window? Role
Form submission (lead) Same day Yes Yes Volume signal; keep as secondary
Marketing qualified lead Days Yes Usually Early quality signal
Sales accepted or sales qualified lead Days to weeks Yes Often Main optimization target for most accounts
Opportunity created Weeks Usually Sometimes Strong quality signal if volume allows
Closed-won Months Only for short cycles Rarely Reporting and value; too late for most optimization

The timing column is illustrative. Measure your own median time from first ad click to each stage in the CRM before choosing.

Give each stage a value. Value-based bidding needs a number per stage. A simple method is expected value: average first-year contract value multiplied by the historical rate at which that stage becomes closed-won.

A hypothetical example, using illustrative figures only:

Stage Average first-year contract value Stage-to-won rate (from your CRM) Value to send
Sales qualified lead $40,000 10% $40,000 × 10% = $4,000
Opportunity created $40,000 25% $40,000 × 25% = $10,000
Closed-won $40,000 100% $40,000 (or actual amount)

These values tell the platform that one opportunity is worth two and a half sales qualified leads. Recalculate them each quarter from CRM data. If the values are guesses, the bidding will optimize toward the guess.

Keep the form fill in the account as a secondary conversion. Google lets you set conversion actions as primary or secondary, so the form fill remains visible in reports without steering bids. On LinkedIn, attach the qualified-lead rule to the campaigns you want optimized.

Capture identifiers at the form, and keep them on the record

Every route below fails if the identifiers are missing. This part belongs to the web owner and the CRM administrator.

Google click ID. Google's GCLID setup page requires auto-tagging and tells advertisers to "add a hidden form field for the GCLID. This is how the GCLID will be passed to your backend system." Store it in a dedicated CRM field.

LinkedIn click ID. LinkedIn's Conversions API documentation describes capturing its first-party click ID from the landing page URL and sending it with each event, which "improves match rates with LinkedIn profiles."

Contact identifiers. Work email and, where you collect it, phone number are the main match keys for enhanced conversions for leads and for LinkedIn. LinkedIn recommends lowercasing emails before hashing, and its API documentation advises sending several identifiers because "only matched events can be used for attribution and optimization."

Carry the fields through lead conversion. In Salesforce, a click ID captured on the lead must be mapped to the contact and opportunity when the lead converts, or the opportunity will have no GCLID to send. Search Engine Land's 2023 walkthrough, written for the legacy integration, recommends custom GCLID fields on both the lead and opportunity objects for this reason. The same logic applies to Data Manager. In HubSpot, the relevant properties sit on the contact, so check that deals are associated with the contact that carries them.

HubSpot to Google Ads

HubSpot offers two routes.

HubSpot's ad conversion events. HubSpot's knowledge base describes syncing lifecycle stage changes and form submissions to Google Ads as conversion events. A contact needs a Google click ID property value or contact data such as "email address, phone number, or address" to be sent. Two limits matter: "Only lifecycle stage changes that occur after creating the conversion event in HubSpot will be counted," so there is no backfill; and the number of events depends on plan, with up to 5 on Starter, 50 on Professional and 100 on Enterprise. The article does not describe deal stage events, so teams usually map deal progress to lifecycle stages such as Opportunity and Customer.

Google Ads Data Manager's HubSpot connection. Google's help page for the HubSpot connection says conditions "must use the Lifecycle Stage field, unless combined with another condition using an 'AND' logical operator." It also warns that imports pause when you hit HubSpot's quota for your subscription. Google's GCLID page states that for HubSpot and Salesforce connections, Data Manager "imports the last 14 days of data in the first successful run."

Pick one route per conversion action. Sending the same stage through both creates duplicates.

HubSpot to LinkedIn Ads

HubSpot's LinkedIn sync supports lifecycle stage changes only. HubSpot shares a SHA-256 hashed email plus first name, last name, title, company and country for matching. The same plan limits apply: 5, 50 or 100 ad conversion events.

The time limit is the key constraint. HubSpot states that "LinkedIn can ingest ad conversion events that happen within the last 90 days," and gives an example of a contact who clicked an ad on 1 January 2022 and became an SQL on 1 June 2022: "that contact won't be counted because it is outside the 90-day window." If your median time from click to SQL is longer than 90 days, pick an earlier stage for LinkedIn.

Salesforce to Google Ads

Google's current route is the Salesforce connection in Google Ads Data Manager. Its help page lists three importable objects, "Order," "Lead" and "Opportunity," and says separate connections are needed for each object you import from. For enhanced conversions for leads, each record needs "at least one of GCLID, Email, and Phone Numbers." Salesforce sandbox environments are not supported, so testing has to happen in production with clearly named test conversion actions.

Choose the object that carries the event you care about. Lead status changes suit sales qualified lead conversions; opportunity stage changes suit opportunity and closed-won conversions. CustomerLabs, which sells a first-party data platform, describes an alternative route using record-triggered Salesforce Flows and a middleware layer, with one Google Ads conversion action per stage. Middleware adds cost but can help when you need custom logic, several ad platforms from one feed, or tighter control over which fields leave Salesforce.

Salesforce to LinkedIn Ads

LinkedIn's conversion tracking page names Google Tag Manager, Zapier, HubSpot, Adobe, Tealium and Dreamdata as Conversions API partners; Salesforce is not named on that page. That leaves three options for Salesforce users: a partner or middleware tool that reads Salesforce and writes to LinkedIn; syncing Salesforce stages into a marketing automation platform that has a LinkedIn connection; or a direct build against the Conversions API.

A direct build is manageable for a competent developer. LinkedIn's documentation sets the limits: up to 5,000 events per batch request, 600 requests per minute and 500,000 requests a day per member access token. Each event needs a unique event ID, a timestamp within the past 90 days, and as many identifiers as you have. The integration needs the rw_conversions permission and a user with an account role such as account manager or campaign manager.

Implementation plan with owners and acceptance criteria

Step Owner Acceptance criterion
1. Measure click-to-stage timing RevOps Median days from first ad click to MQL, SQL, opportunity and closed-won are documented
2. Choose stages and values RevOps with paid media manager One primary optimization stage per platform, inside its time limits; values calculated from CRM rates
3. Capture identifiers Web owner Test submissions show GCLID, LinkedIn click ID and email stored on the CRM record
4. Map fields through conversion CRM administrator A converted test lead's opportunity carries the click IDs
5. Create conversion actions and rules Paid media manager Actions named by source and stage (for example "Salesforce SQL"); form fill set as secondary
6. Connect the route Marketing ops or developer Connection authorized; customer data terms accepted by an authorized person
7. End-to-end test Paid media manager A test conversion appears in each platform within its stated delay
8. Switch bidding Paid media manager Bid strategy changed only after the new conversion has recorded a steady weekly volume
9. Monitor RevOps Weekly check of import errors, match rates and CRM-to-platform count variance

Step 8 is where many teams lose performance. Changing the optimization target resets learning. Let the new conversion run as a secondary action long enough to confirm its volume and accuracy before making it primary.

Where offline conversion setups break

Failure Symptom Fix
GCLID not captured on some forms Many CRM records with blank click IDs Audit every form, including chat, meeting schedulers and gated content
Click ID lost at lead conversion Opportunities never import Map click ID fields from lead to contact and opportunity
Stage reached after the time limit Import errors saying the click is too old Send an earlier stage to that platform
Duplicate sends Conversions exceed CRM counts One route per conversion action; unique timestamps; shared event IDs on LinkedIn
Stage definitions change Sudden jumps or drops in conversions Freeze definitions or version the conversion actions
Low match rate on LinkedIn "Low Match Rate" status Send hashed email plus click ID and name and company fields
Quota reached HubSpot imports pause Review plan limits and event count
Test data in production Fake conversions in reporting Separate test actions; remove them before switching bidding

Google's FAQ lists the error "This click is too old for its conversion to be imported" and states: "We retain the GCLID for only 90 days." If you see it often, the stage is too late for Google.

Offline conversion tracking sends customer data to ad platforms, so it needs sign-off beyond the marketing team. Google's Data Manager setup asks you to accept its customer data policies and, for the EU, its user consent policy. HubSpot states it hashes identifiers with SHA-256 before sharing. LinkedIn's API accepts SHA-256 hashed emails without salting.

Hashing reduces exposure but does not remove the obligation to have a lawful basis and a privacy notice that covers the use. Ask your privacy lead to confirm three things before launch: that your privacy notice covers sharing hashed contact data with ad platforms for measurement; that consent is captured where required; and which fields may leave the CRM. Make the fields list explicit, and keep anything beyond identifiers, stage and value out of the feed.

How to judge whether it is working

Compare three numbers before and after the switch, using the same campaigns and a comparable period:

Expect cost per lead to rise when bidding moves to a later stage. That is normal. The platform is buying fewer, better leads. Judge the change on cost per opportunity once enough time has passed for leads to progress.

Offline conversion data also improves audits and channel comparisons. Our guide to what a paid media audit checks uses it as a baseline test, and our comparison of LinkedIn Ads and Google Ads for B2B relies on cost per opportunity for a fair comparison.

Where to start with your CRM data

If your CRM stages are inconsistent, fix them first: a RevOps review of lifecycle and opportunity definitions pays for itself before any data reaches an ad platform. If the stages are sound and the problem is the connection, our Google Ads management team can set up and test the Google side, and our LinkedIn Ads management service covers the Conversions API and CRM routes for LinkedIn.

Frequently asked questions

How far back can I import offline conversions into Google Ads?

Google's FAQ says you can upload a conversion with a GCLID "so long as it's no longer than 90 days," and a conversion using personal data for enhanced conversions "so long as it's no longer than 63 days." For HubSpot and Salesforce connections, Data Manager imports the last 14 days of data in its first successful run.

Does the old Salesforce integration in Google Ads still work?

No. Google's help page states the legacy Salesforce integration "will no longer be supported beginning May 31, 2025" and directs users to Google Ads Data Manager, which imports from the Lead, Opportunity and Order objects.

Can HubSpot send deal stages to Google Ads and LinkedIn?

HubSpot's native ad conversion events use lifecycle stage changes, plus form submissions for Google. Its articles do not describe deal stage events, so most teams map deal progress to lifecycle stages such as Opportunity and Customer.

What should B2B companies send to LinkedIn: MQLs, SQLs or closed deals?

Send the latest stage that reliably happens within LinkedIn's limits. LinkedIn needs qualified-lead data within 30 days for optimization and accepts API events up to 90 days old. For most B2B sales cycles that points to a sales qualified or sales accepted lead.

Do I need a developer to use the LinkedIn Conversions API?

Not always. LinkedIn names partners including Google Tag Manager, Zapier, HubSpot, Adobe, Tealium and Dreamdata. A direct build needs developer time and the rw_conversions permission, and suits teams with custom CRM logic.

Will offline conversion tracking lower my cost per lead?

Usually the opposite. When bidding optimizes toward later stages, the platforms buy fewer, better leads, so cost per lead often rises. Judge the change on cost per opportunity from the CRM.

Sources

  1. Google Ads Help, "Offline conversion imports FAQs", undated. support.google.com
  2. Google Ads Help, "Set up offline conversions using Google Click ID (GCLID)", undated. support.google.com
  3. Google Ads Help, "About offline conversion imports", undated (states the 15 June 2026 Data Manager API migration). support.google.com
  4. Google Ads Help, "About Google Ads Conversion Import for Salesforce (Legacy)", undated (states end of support 31 May 2025). support.google.com
  5. Google Ads Data Manager Help, "Salesforce", undated. support.google.com
  6. Google Ads Help, "HubSpot", undated. support.google.com
  7. Google Ads Help, "Using Google Ads Data Manager with enhanced conversions for leads", undated. support.google.com
  8. HubSpot Knowledge Base, "Create and sync ad conversion events with your Google Ads account", last updated 9 Sep 2026. knowledge.hubspot.com
  9. HubSpot Knowledge Base, "Create and sync ad conversion events with your LinkedIn Ads account", last updated 9 Sep 2026. knowledge.hubspot.com
  10. LinkedIn (Microsoft Learn), "Conversions API", API version li-lms-2026-08, undated. learn.microsoft.com
  11. LinkedIn (Microsoft Learn), "Conversions API Use Cases", API version li-lms-2026-08, undated. learn.microsoft.com
  12. LinkedIn (Microsoft Learn), "Conversions FAQ", API version li-lms-2026-09, undated. learn.microsoft.com
  13. LinkedIn Marketing Solutions, "Conversion Tracking", undated. business.linkedin.com
  14. Search Engine Land (Christine Askew), "How to set up an offline conversion import from Salesforce into Google Ads", 18 Apr 2023 (legacy integration era; used for field design only). searchengineland.com
  15. CustomerLabs (first-party data platform vendor), "Salesforce to Google Ads Offline Conversions", 23 Aug 2026. customerlabs.com

Related guides

More from B2B Performance Marketing & ABM, which holds 100 guides in all.