Skip to content

Measuring social ads for a shop: from clicks to real sales, without fooling yourself

An advert that gets clicks is not an advert that sells. Track UTM links, pixel events, coupon codes and your own analytics, count only paid orders, and compare cost per sale with margin. Here is a simple measurement system.

By The Wameed teamWameed POS

6 min read

In short: measure ads at four levels:1) the platform (impressions, clicks, cost),2) the pixel and server-side events (add to cart, checkout, purchase),3) your own analytics (sessions by source and UTM campaign, funnel, abandoned carts), and4) your orders and ledger (paid orders, revenue, margin, returns). Tag every ad link withUTM parameters, usecampaign-specific coupon codes for offline and chat conversions, countpaid orders only, and comparecost per order andROAS with yourgross margin, not your revenue. Platforms over-claim; your store’s data is the referee. Wameed’s store has first-party analytics, ad pixels for Meta, TikTok, Snap and Google, and optional server-side conversion events on every plan.

A campaign with a return on ad spend (ROAS) of 4 can still lose money. The question is what is left after costs.

The four levels

LevelSourceTells you
PlatformMeta, TikTok, Snap, Google dashboardsReach, clicks, cost, platform-reported conversions
EventsPixel and server-side APIWhat visitors did on your store (view, add, checkout, buy)
Your analyticsStore analytics (first-party)Sessions, sources, funnel, carts, orders by campaign
BusinessOrders, ledger, returnsReal revenue, margin, cash

When they disagree (they will), trust the lower levels.

UTM parameters label traffic so your analytics know where it came from.

ParameterExample
utm_sourceinstagram,tiktok,snapchat,google
utm_mediumpaid_social,influencer,story
utm_campaignramadan_perfume_2027
utm_contentvideo_a,carousel_b

Use a consistent naming scheme (lowercase, no spaces). Your store’s analytics showsources and UTM campaigns, so you can see orders per campaign. Seeonline store analytics.

Step 2: install the pixels and events properly

  • Install only the pixels for platforms you advertise on.
  • Send the standard events:view item, add to cart, begin checkout, purchase (with value and currency).
  • Avoid installing the same pixel twice.
  • Addserver-side conversion events to recover purchases the browser misses, using hashed data and the order number to avoid double counting, and only with consent.
  • Respect consent banners and privacy signals.

Seead pixels andserver-side conversion events.

Step 3: use coupons for hidden conversions

Many customers see an ad and then buy later, by WhatsApp, in the shop or by direct visit. Acampaign-specific coupon code (RAMADAN15, TIKTOK10) catches those, along with the question at the till: “How did you hear about us?”

For ads that open WhatsApp, use a click-to-WhatsApp campaign and track the conversation’s outcome. Seeclick-to-WhatsApp ads.

Step 4: count the right thing

  • Paid orders only. Exclude abandoned, failed and test orders.
  • Net of returns and cancellations.
  • Net of discounts.
  • Include shipping income and costs consistently.
  • Use the same period for spend and revenue (consider a lag).

Compare platform-reported purchases with your store’s paid orders for the same campaign. A gap of 20–30% is common; a gap of 2x means something is wrong.

Step 5: the numbers that matter

MetricFormulaUse
Cost per click (CPC)Spend ÷ clicksAd efficiency
Conversion rateOrders ÷ sessionsStore efficiency
Cost per order (CPA)Spend ÷ paid ordersAcquisition cost
ROASRevenue ÷ spendRevenue per riyal
Break-even ROAS1 ÷ gross marginThe minimum to avoid losing money
Contribution marginRevenue × margin − spendReal profit
New vs returning customersOrders by customer typeWhere growth comes from

Break-even ROAS: the number most people skip

If your gross margin is 40%, break-even ROAS is 1 ÷ 0.40 =2.5. A campaign reporting ROAS 4 earns SAR 4 revenue per SAR 1 spent; the margin on SAR 4 is SAR 1.60, so after SAR 1 ad cost, SAR 0.60 remains before overhead. A ROAS of 2 would lose money.

Example. Spend SAR 5,000; revenue SAR 15,000 (ROAS 3); gross margin 40% = SAR 6,000; contribution after ad spend = SAR 1,000 before overhead and returns. If returns are 10% of revenue, the contribution is about SAR 400. Real, but modest.

Step 6: consider lifetime value

The first order may not pay for the ad, but repeat orders can.

  • Track repeat purchase rate of customers acquired by each campaign.
  • Estimate lifetime value (average order × orders per year × margin × years).
  • Allow a higher CPA for customers with high lifetime value.
  • Capture the phone number and consent to bring them back with WhatsApp and e-mail. Seecustomer segmentation.

Attribution: the honest limits

  • Platforms credit themselves for conversions where they can; two platforms may claim the same sale.
  • Privacy changes hide some journeys.
  • Offline and chat conversions are hard to link.
  • “Last click” ignores earlier influence.

Use attribution as aguide, not a verdict. To test whether ads cause sales, run aholdout: pause ads in one region or for one week and compare, or split audiences where tools allow.

A weekly review

  1. Spend by campaign and by ad set.
  2. Orders and revenue by UTM campaign from your store.
  3. CPA and ROAS versus break-even.
  4. Funnel: where do visitors drop (product, cart, checkout)? Seeabandoned-cart recovery.
  5. Creative performance: which ads and offers.
  6. Returns and cancellations by campaign.
  7. Decide: scale, hold, fix, or stop.

Fix the store before you spend more

A leaky store wastes ad money. Check:

  • Speed, especially on mobile data.
  • Product pages with clear photos and prices. Seeproduct page checklist.
  • Trust signals and delivery information. Seebuild trust.
  • Checkout simplicity, payment options.
  • Stock accuracy, so you do not advertise sold-out items.

Mistakes to avoid

  • Judging by clicks or likes.
  • Using platform ROAS as profit.
  • No UTM tags.
  • Counting unpaid or test orders.
  • Ignoring margin and returns.
  • Changing too many things at once.
  • Scaling before the store converts.

Frequently asked questions

What ROAS do I need?

At least your break-even ROAS: 1 divided by your gross margin; more to cover overhead.

Why do platform numbers differ from my store?

Different attribution windows, privacy limits and double-counting. Trust your paid orders.

Do I need server-side events?

They help recover purchases the browser misses; they are optional in Wameed.

How can I track offline sales from ads?

Use campaign coupon codes and ask customers how they heard about you.

  • #قياس الإعلانات
  • #إعلانات انستقرام وسناب
  • #العائد على الإنفاق الإعلاني
  • #تتبع المبيعات من الإعلانات
  • #social ads measurement
  • #ROAS Saudi Arabia
  • #ad attribution online store

Share this article

Ask about your own shop

Thirty minutes on your products, your tax setup and your hardware — not a slide deck.

Keep reading