Attribute every channel

Attribute Stripe revenue to your traffic

Link every Stripe payment to the channel, page and campaign that brought the customer.

Alberto

Alberto

Founder of DataEasy · 3 min read

Stripe tells you who paid. DataEasy tells you where they came from. Connecting the two takes one metadata field and a webhook.

The short version

  • Read the dataeasy_visitor_id cookie on your server when you create the Checkout Session.
  • Pass it as metadata.dataeasy_visitor_id (and in subscription_data.metadata for subscriptions).
  • Add the DataEasy webhook in Stripe and paste the signing secret in Website settings → Revenue.

Full code and the list of webhook events: Stripe guide.

What you get

Revenue next to visitors in every breakdown, revenue per visitor, renewals attributed to the original channel, refunds subtracted, and each customer's journey from first visit to payment.

Keep learning

View all

Find revenue hiding in your traffic

Discover which marketing channels bring customers so you can grow your business, fast.

Start a 14-day free trial
Jules
Mira
Teo
Ravi
Nadia
Oskar
Lena
Pablo
Loved by 27,590 users