Guide

Which ads bring WooCommerce sales? Tracking campaigns to paid orders

Ad platforms report clicks and their own conversions. Which campaigns bring paid orders is a question your store has to answer — here is how to set it up so it can.

Updated

The short answer

To know which ads bring sales, rather than clicks:

  • tag every ad link with utm_source, utm_medium and utm_campaign;
  • count paid orders per campaign, not checkouts or ad-platform conversions;
  • look at both the campaign that brought the buyer first and the one they bought through.

Expect your store to report fewer sales than the ad platforms do. They count people who only saw an ad; your store counts people who clicked through.

A visit only says where it came from if the link said so. Add UTM parameters to every ad, email and social link:

  • utm_source — the platform: google, facebook, newsletter;
  • utm_medium — the kind of traffic: cpc, paid_social, email;
  • utm_campaign — the campaign's name, the same way every time.

Google Ads can tag clicks automatically. In Meta Ads, the URL parameters field accepts utm_campaign={{campaign.name}}, so reports show names instead of numbers. Keep names lower case and consistent — spring-sale and Spring_Sale are two campaigns to any report.

What to count

  • Paid orders and revenue after refunds — not add-to-carts, checkouts or the ad platform's “purchases”.
  • Visits from people — bots clicking ads inflate visits and lower the campaign's conversion rate.
  • Not your own team's orders — a phone order typed in by staff isn't a sale the ad made.
  • Checkouts that didn't pay, separately — a campaign with many unpaid checkouts brings interested shoppers and loses them later.

First touch and last touch

Most buyers visit more than once. Someone who clicks a Meta ad on Monday and comes back through a Google search ad on Thursday to buy was brought by one campaign and closed by another.

  • Last touch credits Thursday's campaign. Retargeting and brand search look strong here.
  • First touch credits Monday's. Campaigns that find new customers look strong here.

Judging only on last touch tends to cut the campaigns that find buyers and keep the ones that collect them. Look at both before pausing anything.

Why the numbers never match

  • Ad platforms count views and devices you can't see — someone who saw an ad and bought later from another device, and sometimes conversions they model.
  • Consent and ad blockers hide part of your visitors from analytics tags, while WooCommerce still records every order.
  • Different windows — each tool credits a sale only within its own number of days after the click.

Pick one source of truth for decisions — paid orders in your store, credited to tagged visits — and use the ad platforms' numbers to steer within each platform.

Campaigns in StorePilot

  • One row per campaign, from the UTM parameters: human visits, checkouts, paid orders and revenue net of refunds, and the campaign's conversion rate.
  • First touch, last touch and assisted for every campaign, over the 7 days before each checkout.
  • One buyer across devices when the same checkout email or the same store login ties their browsers — never by IP address or fingerprint.
  • Every order says where it came from — the channel, the site and the campaign of the visit that paid, and the buyer's first arrival if it was different. Orders placed by your team are marked and left out of revenue.
  • How buyers arrived: each sale's first and last visit as a pair, such as Meta ads → Google Ads.

Install the WordPress plugin, see store analytics, or read about campaigns in the docs.

FAQ

Questions about this guide

How do I add UTM parameters to my ads?

Add utm_source, utm_medium and utm_campaign to the link your ad points to. Google Ads can tag clicks automatically, and Meta Ads has a URL parameters field where {{campaign.name}} fills in the campaign's own name.

Why does Meta or Google Ads report more sales than my store?

Ad platforms also count people who only saw an ad and bought later, purchases on other devices, and sometimes modelled conversions. Your store can only credit visits that arrived through a tagged link.

What is the difference between first-touch and last-touch attribution?

Last touch credits the campaign of the visit just before the purchase; first touch credits the one that brought the buyer the first time. Prospecting campaigns look better on first touch, retargeting on last touch — looking at both is fairer than choosing one.

Does WooCommerce show where an order came from?

Recent WooCommerce versions record an order's origin — the source and campaign of the visit that placed it — on the order screen. That is one visit per order, and it doesn't add the visits before it or show a campaign's total across orders.

See which campaigns bring paid orders

Install the plugin, and every campaign shows its visits, checkouts, paid orders and revenue — first and last touch.

Start for free

Every feature on the Free plan, for 100 visitors a month. No card required.

Choose a plan

Plans from €29 a month, priced by your monthly visitors and the websites you connect.