Skip to content
← All projects
  • Ads & funnels

Built in

Meta optimises on your sales, not on what you keep

The Arabic landing page reports the net gain, not the sticker price.

The problem

On cash-on-delivery affiliate offers, Meta optimises on the sale price, while the real gain depends on confirmation and delivery.

What I built

A right-to-left Arabic landing page, server functions that send each order through a relay, and a server-side Purchase to Meta valued at commission × confirmation × delivery.

Technical details

  1. Browser/server deduplication by event ID, fbc rebuilt from fbclid
  2. Duplicate orders blocked by an index on phone hash, referral and day
  3. Mobile audit on 6 devices (tap targets), with LCP and CLS measured under 4G
  4. Campaigns launched by API, created paused and activated separately

Stack

  • Supabase edge functions
  • Postgres
  • Node relay
  • Meta CAPI + Marketing API
  • Playwright

The result

The ROAS in Ads Manager reads directly as profitability. No fake reviews, no countdown, and a test that enforces it.

A similar project in mind?

Tell me about your business and when you need it. You get a proposal by email.

I want this system

More projects

AI agents · AIODYour customers write in Darija and the bots understand nothingView the project
1 / 27 : Your customers write in Darija and the bots understand nothing