← 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
- Browser/server deduplication by event ID, fbc rebuilt from fbclid
- Duplicate orders blocked by an index on phone hash, referral and day
- Mobile audit on 6 devices (tap targets), with LCP and CLS measured under 4G
- 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.
More projects
1 / 27 : Your customers write in Darija and the bots understand nothing