Integration Guide
Tie your website traffic and marketing campaigns directly to Stripe revenue — without manual GA4 e-commerce events.
Understanding which marketing campaigns, content paths, or social referrers are driving actual revenue — not just pageviews or button clicks — is the holy grail of web analytics. Typically, setting this up in Google Analytics 4 requires a complex developer integration using custom e-commerce events, data layers, and tag manager configurations.
TrackWhy keeps it simple. You paste a read-only Stripe API key in Site Settings → Revenue attribution, and TrackWhy periodically polls your completed payments and attributes them back to the original session referrer, landing page, and marketing campaign. No OAuth dance, no webhook to register, and no tracking cookies beyond the first-party tw_visitor cookie the tracker already sets.
Get a clear view of your Customer Acquisition Cost (CAC) and Customer Lifetime Value (LTV) right on your dashboard. Filter your entire traffic flow by 'paying customers' or group your revenue by landing page to see exactly which content makes money.
Step-by-step
Capabilities
No need to write custom JavaScript to track ecommerce conversions. TrackWhy reads completed payments directly from the Stripe API.
Trace user journeys from the first search query or social click to the final paid checkout in Stripe.
Attach the tw_visitor_id at checkout and TrackWhy ties each payment back to its first-touch channel, country, and campaign.
FAQ