DATALYR
SaaS attribution

Connect the first ad click to every Stripe dollar

See which campaigns create paid subscriptions, upgrades, and renewals. Then give Meta, Google, and TikTok the revenue events they should optimize for.

Your ad platform sees the signup. Stripe sees the payment. Neither one knows the whole customer journey on its own.

Datalyr keeps one visitor ID attached from the landing page through checkout and the subscription lifecycle.

Where tracking breaks

The event you optimize for is not the event that makes money

A signup may convert today, two weeks from now, or never. When campaigns optimize on signups alone, they learn to find people who start the funnel, not necessarily the people who become valuable customers.

Stripe has the ground truth, but its webhook does not automatically include the campaign that introduced the customer.

How it works

Carry one ID from the landing page into Stripe

Datalyr captures the campaign on the first visit. You pass its visitor ID into Stripe Checkout. When Stripe confirms the payment, Datalyr joins the charge to the original click and keeps that source attached to future subscription events.

01
Ad click
We tag the click
minutes later, signup
02
Stripe Checkout
Checkout carries the click
Identity Bridge
7–30 days later, trial to paid
03
Payment made
Sent back to Meta
Enriched identity
{click,customer,location,plan value,MRR}
Meta Ads logoGoogle Ads logoTikTok Ads logo
The click provides the source. Stripe provides the confirmed revenue.
Setup

Go live in three steps

01

Install web tracking

Add the Datalyr script to your marketing site and app so the original campaign survives across sessions.
02

Pass the visitor ID to Stripe

Add the ID to Checkout as the client reference or metadata field.
03

Connect ads and verify revenue

Link your ad accounts, complete a test payment, and check the joined event in Live Events.

Track the customer lifecycle, not one conversion

  • Signups and trial starts from the web session
  • Confirmed subscription and one-time payments from Stripe
  • Upgrades, renewals, cancellations, and refunds
  • Revenue by campaign, ad set, ad, keyword, and landing page
  • Server-side conversion events for each connected ad platform

Common setup questions

Do I need to rebuild my checkout?

No. You add one Datalyr visitor ID to the Stripe Checkout session you already create.

Should purchases also fire from the browser?

No. Stripe webhooks are the source of truth for confirmed revenue, refunds, and subscription state.

Where is the implementation detail?

The Stripe and web tracking guide covers the script, identity call, Checkout field, and test flow.

Optimize for customers who pay

Connect Stripe revenue to the campaign that created it.

Read the Stripe setup guide

7-day trial · No credit card