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_idcookie on your server when you create the Checkout Session. - Pass it as
metadata.dataeasy_visitor_id(and insubscription_data.metadatafor 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.