Add my site

Tutorials / Find what makes money

Revenue tracking for online stores: find where each sale came from

5 minute read

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:

MeasureWhat it includesWorked example
Gross revenuePrice × units sold200 orders of a $50 product = $10,000
Refunds and discountsMoney returned or taken off at checkout$600 refunds + $400 discount codes = $1,000
Net revenueGross 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.

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:

  1. Connect your store. On Shopify, install from the Shopify App Store. On any other site, add one script tag.
  2. Add Stripe so payments are checked against real money collected.
  3. Connect Meta Ads. The connection is read-only and never changes your campaigns. Google Ads is coming soon.
  4. Tag your links in emails, newsletters and posts so each one shows up as its own source.
  5. 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.
  6. 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.

OptionCostAccuracyEffort
SpreadsheetFreeAs good as your exports and your patienceHigh: export, paste, reconcile every week
Free analytics such as GA4FreeShows traffic; does not check ad claims against money collectedMedium: setup and interpretation
Revenue tracking app (DataStated)From $9 a month, 14-day free trialOrders from confirmed payments, with Meta's claims beside themLow: 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:

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:

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