HubSpot to Google Ads.
Send HubSpot won deals to Google Ads so campaigns optimize on the leads that close. Each won deal uploads as a conversion with its deal value.
What gets sent.
| DATALYR event | When it fires | Sent to Google as | What it carries |
|---|---|---|---|
| deal_won | A deal moves to Closed won | Your purchase conversion action | The deal amount as the value, with the deal ID as the order ID, and the hashed contact email. Never counted as revenue |
How it's matched.
DATALYR checks these in order and stops at the first one that finds the ad click.
- 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
Google gets the gclid (or gbraid or wbraid), looked up within 90 days of the click, plus email and phone hashed with SHA-256. DATALYR uploads only when the conversion has a click ID, an email or a phone number.
How it works.
- 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.
- 02
Connect Google.
In Google Ads, create a conversion action of type Import from clicks (Goals, Conversions, New, Import, Manual import using the API). In Sources, connect Google Ads and set your customer account as primary. In Conversions, create a rule: trigger event deal_won, target platform Google, that conversion action. Set value to dynamic and pick the currency.
- 03
Check one conversion.
Move one test deal to Closed won for a contact who filled in your form from a Google ad click. Find deal_won in Events, then open the newest row in Conversions and read the reply from Google.
Check it worked.
- In Events, the deal_won row has source hubspot and the deal amount in value. An empty amount arrives, but conversion rules skip it as money unavailable, never as a $0 purchase.
- Select send test event on the rule. The request carries validateOnly, so Google checks it without recording a conversion.
- Trigger one real conversion. Its row reads processing, then sent within 40 minutes once Google's own diagnostics confirm it.
View docsHubSpotGoogle AdsConversion delivery
Questions, answered.
Contact usSetup sends Google won deals only, and sends qualified leads to Meta. You can create a Google rule for lead_qualified yourself in Conversions.
HubSpot events match by email alone. A won deal joins an ad click only when DATALYR already knows that email from a tracked visit, through an identify call on your form, an iClosed or Calendly booking, or a payment source. Google also accepts the hashed email on its own.
No. deal_won is contract value, so no DATALYR revenue report counts it. Cash comes from a payment source such as Stripe or Commas.

See what really drives revenue.
Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.