Tutorials / Find what makes money
Revenue tracking for online stores: find where each sale came from
What revenue tracking means for an online store
Revenue tracking means recording every sale, tying it to the source that brought the buyer, and checking that total against money you actually collected, not against an ad dashboard. To track revenue this way, you need your store, your payments and your ad accounts reporting into one place.
The point is simple. You want to know which channels make money, so you can spend more on those and stop paying for the rest.
The revenue formula, and gross vs net
The formula for revenue is price × units sold. Gross revenue is that number before anything comes off. Net revenue is what is left after refunds and discounts. Here is a made-up store selling one $50 product:
| Measure | What it includes | Worked example |
|---|---|---|
| Gross revenue | Price × units sold | 200 orders of a $50 product = $10,000 |
| Refunds and discounts | Money returned or taken off at checkout | $600 refunds + $400 discount codes = $1,000 |
| Net revenue | Gross minus refunds and discounts | $10,000 − $1,000 = $9,000 |
Use net when you judge a channel. In DataStated, net revenue is revenue minus refunds and lost disputes, and refunds come off on the day they happen. DataStated reports sales in US dollars for now.
Why ad platform revenue never matches your bank
Ad platform revenue rarely matches your bank because each platform grades its own work. Add up what Meta and Google each say they drove, and the total often beats what you collected.
- Double-claiming: a shopper clicks a Meta ad, later clicks a Google ad, then buys. Both platforms report the order.
- View-through credit: a platform can claim a sale from someone who only saw an ad and never clicked.
- Attribution windows: each platform picks its own lookback period, so the same order can count for one and not another.
DataStated starts from the other end. Every order comes from a payment Stripe or Shopify confirmed, and Meta's claim sits beside the orders from its own paid traffic, so the gap is visible. Each channel is read three ways: the orders it took part in, the orders it started and the orders it closed. The rules are in how attribution works.
How to track revenue by source, step by step
Revenue tracking software automatically ties each order to its source once it is connected to your store, payments and ads. Setup with DataStated looks like this:
- Connect your store. On Shopify, install from the Shopify App Store. On any other site, add one script tag.
- Add Stripe so payments are checked against real money collected.
- Connect Meta Ads. The connection is read-only and never changes your campaigns. Google Ads is coming soon.
- Tag your links in emails, newsletters and posts so each one shows up as its own source.
- Bring in past data. Connecting Shopify imports the last 60 days of orders on its own, and you can import a Google Analytics report so visitor charts do not start at zero. See importing history.
- Read the Monday email. Switch on the weekly summary and it puts Meta's claims next to your orders.
The 14-day free trial includes every feature and needs no card.
Spreadsheets, free tools or revenue tracking software
A spreadsheet is free but manual, a free analytics tool is cheap but leaves gaps, and dedicated revenue tracking software does the matching for you. Here is how they compare.
| Option | Cost | Accuracy | Effort |
|---|---|---|---|
| Spreadsheet | Free | As good as your exports and your patience | High: export, paste, reconcile every week |
| Free analytics such as GA4 | Free | Shows traffic; does not check ad claims against money collected | Medium: setup and interpretation |
| Revenue tracking app (DataStated) | From $9 a month, 14-day free trial | Orders from confirmed payments, with Meta's claims beside them | Low: connect once, read the weekly email |
Revenue management tools are a different thing. They set prices and forecast demand. Tracking tells you what already sold and where it came from.
DataStated plans scale with monthly pageviews and orders, starting at $9 a month. Every plan has every feature and unlimited team members.
Where online-store revenue usually comes from
Online-store revenue typically comes from a handful of channels, and your own data should rank them for you. These are the ones to track separately:
- Paid ads: Meta today, with Google Ads coming soon to DataStated.
- Organic search: see what SEO makes in dollars.
- Email and newsletters: tagged links show which sends sell.
- Social: learn to attribute revenue from YouTube, Reddit and X.
- AI assistants: DataStated shows ChatGPT and other AI assistants as named traffic sources.
Once you know the sources, find the pages that sell to see where buyers land.
Mistakes to avoid
The most costly revenue tracking mistake is trusting an ad dashboard as your total. Watch for these too:
- Trusting ad dashboards alone. Compare them with money collected.
- Ignoring refunds. Gross revenue flatters every channel.
- Leaving links untagged. Untagged sales land in a vague bucket. If you run partnerships, track sponsor and affiliate links separately.
- Starting charts from zero. Import past data so you can compare.
- Replacing Google Analytics. You do not need to. Run DataStated alongside it.
Frequently asked questions
What is the formula to find revenue?
Revenue equals price × units sold. For net revenue, subtract refunds and discounts. Selling 200 units at $50 gives $10,000 gross.
Is there a free way to do revenue tracking?
Yes. You can use a spreadsheet or a free analytics tool. Both take more manual work and neither checks ad claims against money collected. DataStated offers a 14-day free trial with every feature and no card needed.
What is the difference between revenue management tools and revenue tracking?
Revenue management tools handle pricing and demand forecasting. Revenue tracking records what sold and which source brought each sale.
What are the top 3 sources of revenue for an online store?
It depends on the store, so measure it. Common candidates are paid ads, organic search and email. Social and AI assistants can matter too, and DataStated shows ChatGPT and other AI assistants as named traffic sources.
Can I look up another business's revenue?
No. You can't look up another business's revenue with DataStated, which tracks sales for the sites you connect.
Do I need to replace Google Analytics to track revenue by source?
No. DataStated runs next to Google Analytics, and you can import a Google Analytics report so your charts do not start at zero.
Every step above works on the 14-day trial, every feature on, no card. Add my site