How to see revenue by traffic source on Shopify

Install a tracker that records the source of each visit and the value of each order, then read revenue grouped by source. With OnyxMetric that takes three steps and no code: install the app, let the pixel and theme embed run, and open the sources report.

Three steps

  • Install OnyxMetric from the Shopify App Store. The app creates your site and starts on the Free plan.
  • Let the checkout web pixel run, and switch on the theme embed from the app home in one click. Purchases now reach OnyxMetric with their order value.
  • Open the dashboard and compare sources side by side by orders and revenue. Open a source to see its funnel from product view to purchase.

Tag your links so sources are named

Visits from search, social and referring sites are named for you. Links you control, such as email, ads and influencer posts, should carry UTM parameters so each one shows up as its own source.

UTM parameters and what each one answers
ParameterQuestion it answersExample
utm_sourceWhere did the visit come from?newsletter
utm_mediumWhat kind of channel was it?email
utm_campaignWhich campaign or send was it?autumn-sale

Why two tools report different revenue

  • Attribution rules differ. One tool credits the last source, another splits credit, so the same order lands in different rows.
  • Ad blockers and browsers block some trackers and not others.
  • Refunds, taxes and shipping may or may not be in the order value. Check each tool's definition.

What to do with the numbers

Compare sources by revenue, not by visits. A source that sends fewer visits can still earn more, and the Growth plan adds replay filters for order, cart and customer so you can watch what a high-value source's visitors did.

FAQ

Common questions

Does OnyxMetric show revenue per source on the Free plan?
Yes. Free includes revenue per source, funnels of up to 3 steps and 30 days of history, for up to 2,500 sessions a month.
Do I need to change my theme code?
No. The pixel is added by the app and the theme embed is switched on from the theme editor, so no theme files are edited.
How do I name my email and ad traffic?
Add utm_source, utm_medium and utm_campaign to the links you control. Each distinct combination appears as its own source in the report.
Do cookies matter for revenue by source?
No. OnyxMetric is cookieless: nothing is stored in a shopper's browser.

See which source earns revenue.

Start on the Free plan. Paid plans include a 14-day trial, billed through Shopify.