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.
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
| Level | Source | Tells you |
|---|---|---|
| Platform | Meta, TikTok, Snap, Google dashboards | Reach, clicks, cost, platform-reported conversions |
| Events | Pixel and server-side API | What visitors did on your store (view, add, checkout, buy) |
| Your analytics | Store analytics (first-party) | Sessions, sources, funnel, carts, orders by campaign |
| Business | Orders, ledger, returns | Real revenue, margin, cash |
When they disagree (they will), trust the lower levels.
Step 1: tag every link with UTM
UTM parameters label traffic so your analytics know where it came from.
| Parameter | Example |
|---|---|
utm_source | instagram,tiktok,snapchat,google |
utm_medium | paid_social,influencer,story |
utm_campaign | ramadan_perfume_2027 |
utm_content | video_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
| Metric | Formula | Use |
|---|---|---|
| Cost per click (CPC) | Spend ÷ clicks | Ad efficiency |
| Conversion rate | Orders ÷ sessions | Store efficiency |
| Cost per order (CPA) | Spend ÷ paid orders | Acquisition cost |
| ROAS | Revenue ÷ spend | Revenue per riyal |
| Break-even ROAS | 1 ÷ gross margin | The minimum to avoid losing money |
| Contribution margin | Revenue × margin − spend | Real profit |
| New vs returning customers | Orders by customer type | Where 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
- Spend by campaign and by ad set.
- Orders and revenue by UTM campaign from your store.
- CPA and ROAS versus break-even.
- Funnel: where do visitors drop (product, cart, checkout)? Seeabandoned-cart recovery.
- Creative performance: which ads and offers.
- Returns and cancellations by campaign.
- 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
7 min read
White Friday and National Day sales: plan stock, price, staff and systems so the peak makes money
The biggest sales days are also the days when tills crash, stock runs out and margins vanish. A six-week plan for stock, honest pricing, staffing, systems and customer messages turns the peak into profit.
5 min read
Loyalty programmes: most fail, and the ones that work are simple
A programme nobody can explain at the counter in one sentence will not be used. Here is what separates the ones that change behaviour from the ones that just cost margin.
6 min read
Local search for shops: a Google Business Profile that brings people through the door
When someone searches “coffee near me” or “أقرب صيدلية”, Google shows a map and three businesses. Being one of them costs nothing but attention to detail: a complete profile, accurate hours, photos and reviews.

