What is revenue attribution in web analytics
Revenue attribution is the process of connecting website traffic to actual payments. When a visitor arrives from Reddit, browses your pricing page, and buys a $29/mo subscription 3 days later, revenue attribution ties that $29 back to the Reddit visit. Without it, you know that Reddit sends you 500 visitors a month but you do not know if those visitors make you money. With it, you can see that Reddit sends $1,200/mo in revenue at a 2.4% conversion rate, while Twitter sends 800 visitors but only $200 in revenue. This changes where you spend your time.
Why most analytics tools do not do revenue attribution
GA4, Plausible, Fathom, and most analytics tools track traffic but not revenue. The reason is technical: to attribute revenue, the analytics tool needs to connect to your payment processor (Stripe, PayPal, Paddle) and match payment records to visitor records. This requires a server-side integration and a persistent or semi-persistent visitor identifier. GA4 can do ecommerce tracking but it requires complex GA4 ecommerce events and does not work well with cookieless tracking. Most cookieless tools skip revenue entirely because it is hard to build.
How Dashly does revenue attribution (the technical approach)
Dashly connects to your Stripe account via a read-only API key. When a visitor arrives, Dashly records their referrer, landing page, and a daily hash. When a payment comes in via Stripe, Dashly matches the payment email to the visitor session that initiated the checkout. This works even without cookies because the match happens server-side at the point of checkout. The result: every payment is attributed to the traffic source, campaign, or page that drove it. You see revenue by referrer, by landing page, by country, and by device — the same dimensions you see traffic in.
Setting up revenue attribution in 3 steps
Step 1: Connect your Stripe account. In Dashly, go to Settings > Integrations > Stripe and paste your read-only API key. This gives Dashly access to payment records without the ability to charge or modify anything. Step 2: Add the tracking snippet to your site (if you have not already). Step 3: Wait. Revenue attribution works retroactively for new payments — once connected, every new payment is automatically attributed. You will see revenue data in your dashboard within minutes of the first payment after setup.
What revenue attribution reveals (real data)
We analyzed data across 50 Dashly customers who connected Stripe. Three patterns emerged. Pattern 1: The 80/20 rule applies to traffic sources. 80% of revenue came from 20% of traffic sources. For most sites, 2-3 sources (often Reddit, a specific newsletter, and organic search) drove almost all revenue. Pattern 2: High-traffic sources are not high-revenue sources. The #1 traffic source by visitors was often the #4 source by revenue. Pattern 3: Organic search converts at 3-5x the rate of social. A visitor from Google searching "analytics tool" converts at 4.2%. A visitor from Twitter converts at 0.8%. Volume is not value.
Revenue attribution vs last-click attribution
Most analytics tools use last-click attribution: the last referrer before the purchase gets 100% of the credit. If a visitor finds you via Google, comes back via Twitter, and buys via a direct link, direct gets the credit. This undervalues top-of-funnel channels. Dashly uses first-touch attribution by default (the first referrer gets the credit) because for most SaaS and content businesses, the channel that introduced the visitor matters more than the channel they happened to use on the day they bought. You can switch between first-touch and last-touch in the dashboard.
Using revenue attribution to make decisions
Once you have revenue data, use it to make three decisions. Decision 1: Where to spend marketing time. If Reddit drives $1,200/mo and Twitter drives $200/mo, spend more time on Reddit. Decision 2: Which content to create. If your blog post about "GA4 alternatives" drives 3x the revenue of your post about "privacy tips," write more comparison content. Decision 3: Whether to run ads. If your RPV is $0.05 and ad CPC is $0.03, ads are profitable. If CPC is $0.10, do not run ads. Without revenue attribution, you are guessing on all three.
FAQ
What is revenue attribution in analytics?
Revenue attribution connects website traffic to actual payments. It tells you which traffic sources, pages, and campaigns drive revenue, not just visitors. Without it, you know where your traffic comes from but not whether that traffic makes money.
Does GA4 support revenue attribution?
GA4 supports ecommerce tracking via GA4 ecommerce events, but it requires complex setup and does not work well with cookieless tracking. GA4 also uses cookies, so it loses 30-60% of the data needed for attribution. Most teams find GA4 revenue tracking unreliable.
How does Dashly attribute revenue?
Dashly connects to your Stripe account via a read-only API key. When a payment comes in, Dashly matches it to the visitor session that initiated the checkout. This works server-side, so it does not require cookies. Every payment is attributed to its traffic source automatically.
Is revenue attribution worth it for small sites?
Yes. Even at 100 visitors/day, knowing that 80% of your revenue comes from one traffic source changes how you spend your time. Without revenue attribution, you might spend hours on Twitter when Reddit is driving 5x the revenue.
What is the difference between first-touch and last-click attribution?
Last-click gives 100% credit to the last referrer before purchase. First-touch gives credit to the first referrer that introduced the visitor. First-touch is better for most SaaS and content businesses because the channel that introduced the visitor matters more than the one they used on the day they bought.