DATALYR

HubSpot to LinkedIn Conversions API.

Send HubSpot qualified leads to LinkedIn so campaigns find more people who become pipeline. Each lead reaches a LinkedIn conversion with the ad click and hashed email.

What gets sent.

What DATALYR sends from HubSpot to LinkedIn Conversions API
DATALYR eventWhen it firesSent to LinkedIn asWhat it carries
lead_qualifiedA deal moves to your qualified stageQualified lead conversionThe hashed contact email, the li_fat_id click ID when the email matches a visit, and the DATALYR event ID
lead_submittedA new contact is created. Optional ruleLead conversionThe hashed contact email, the li_fat_id click ID when the email matches a visit, and the DATALYR event ID

How it's matched.

DATALYR checks these in order and stops at the first one that finds the ad click.

  1. The contact email. HubSpot events match by email alone, to a visit DATALYR already knows from an identify call on your form, a booking or a payment

LinkedIn gets the li_fat_id click ID and the customer's email hashed with SHA-256, plus one stable customer ID and the DATALYR event ID. LinkedIn adds li_fat_id to ad clicks when enhanced conversion tracking is on for your Insight Tag.

How it works.

  1. 01

    Connect HubSpot.

    HubSpot has no one-click connection. Send each stage to DATALYR from Zapier or a HubSpot workflow with your write key, using the request bodies on the HubSpot card in Sources. Put the tracking script on your landing pages.

  2. 02

    Connect LinkedIn.

    In LinkedIn Campaign Manager, keep enhanced conversion tracking on for your Insight Tag. In Sources, connect LinkedIn Ads and pick the ad account. Then build the rule by hand: in Conversions, select manage rules, then new rule: trigger event lead_qualified, target platform LinkedIn, and a Qualified lead conversion.

  3. 03

    Check one conversion.

    Move one test deal to your qualified stage for a contact who filled in your form from a LinkedIn ad click. Find lead_qualified in Events, then open the newest row in Conversions and read the reply from LinkedIn.

Check it worked.

  • In Events, the lead_qualified row has source hubspot, and in Users the pageview and the lead_qualified sit on one user. If rules never fire, the request body is missing "source": "hubspot".
  • LinkedIn has no test mode. Select send test event and DATALYR checks the event without sending it.
  • Trigger one real conversion and confirm the rule's sent count went up by 1. In Campaign Manager, open Measure, Conversion tracking. The conversion reads Active once LinkedIn sees the event.

View docsHubSpotLinkedIn AdsConversion delivery

Questions, answered.

Contact us
  • LinkedIn takes events up to 90 days old, so a lead qualified weeks after the click still counts. Campaigns then optimize toward people who become pipeline, not just form fills.

  • By email. When DATALYR has seen that email on a tracked visit, through your form, a booking or a payment, the lead picks up the li_fat_id from that visit. LinkedIn can also match on the hashed email.

  • A DATALYR write key, Zapier or HubSpot Data Hub Professional to send each stage, a LinkedIn ad account role other than Viewer, and an Insight Tag with enhanced conversion tracking on.

  • LinkedIn counts conversions after a click or a view inside each conversion's windows, and most types once per member per window. It takes up to 24 hours to take in an event and up to 48 more to report it.

See what really drives revenue.

Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.

Get started