Live, go.canadeal.ca
GoLink — Link Shortener & Affiliate Engine
A link shortener with an affiliate engine: custom aliases, QR codes, weighted A/B redirects and click analytics behind plan-based access control.
- weighted redirect tests
- A/Bweighted redirect tests
- plan tiers enforced in the API
- 3plan tiers enforced in the API
- role-based authentication
- JWTrole-based authentication

The problem
Sharing affiliate links at scale means managing custom aliases, tracking clicks, injecting affiliate tags consistently, and splitting traffic for A/B tests — none of which basic link shorteners support.
What I built
Full-stack FastAPI + MongoDB platform with custom alias support, QR code generation, and deep link routing. A/B testing for redirect targets with configurable weight distribution, scoped by subscription plan tier (Free / Pro / Business). Affiliate tag injection with per-domain rules and an ethical no-overwrite policy — existing affiliate parameters are never replaced. Click analytics pipeline tracking device type, geo-location, referrer, and time-series data with EPC metrics via REST API. JWT authentication with role-based access control.
Manual work it replaces
Manual link management, manual affiliate tag insertion, and guesswork about which redirect targets actually convert.
What I learned
The ethical no-overwrite policy on affiliate tags was a deliberate design decision, not an afterthought. Building plan-gated feature enforcement consistently across every endpoint is the kind of unglamorous work that makes a real product feel solid.
Built with
- Python
- FastAPI
- MongoDB
- Docker
- JWT
Live at go.canadeal.ca.