Ads Management & Affiliate Network
Cross-domain ad serving and affiliate tracking
A comprehensive ad-serving platform letting companies create, manage and track digital campaigns, plus an affiliate system calculating real-time publisher earnings from impressions and clicks.
- Stack
- LaravelVue.jsRedisMySQLREST API
Cross-domain
Delivery
Real-time earnings
Tracking
Redis-backed
Caching
The problem
Ads had to be served across a first-party domain and arbitrary third-party partner sites with low latency, while impression and click tracking needed to be accurate enough to pay publishers from.
What I built
I built a cross-domain delivery system that serves ad content to external partners, with Redis caching both ad payloads and tracking metrics so delivery stays fast and the primary database isn't touched on every impression.
The outcome
Low-latency ad delivery across domains, with an affiliate layer that tracks impressions and clicks and computes publisher earnings from live traffic.
Overview
A full ad-serving and affiliate platform built with Laravel and Vue.js, allowing companies to create, manage and track digital marketing campaigns.
What I built
- Cross-domain ad delivery — serves content on the primary property and on external third-party partner websites.
- Affiliate Management System — tracks impressions and clicks, calculating real-time publisher earnings from traffic quality.
- Campaign management UI — advertisers create, target and monitor campaigns themselves.
- Redis-cached delivery — ad content and tracking metrics cached to keep latency low and reduce primary database load.
Engineering notes
The tracking path is the hot path: every impression is a write. Counters are buffered in Redis and flushed to the database in batches, so a traffic spike costs memory rather than database connections, and the earnings calculation reads from the aggregate rather than scanning raw events.