Return to my storyAnalytics SaaS

2025

Tracklink

A multi-tenant analytics platform for tracking, segmentation, and link intelligence.

Designed as a scalable SaaS platform with Go, React, Redis-backed analytics, RBAC, and high-volume ingestion pipelines for real-time reporting.

Delivered a modular analytics platform with 80+ APIs, 30+ migrations, tenant-aware access control, and a real-time reporting engine.

APIs

80+

for platform and analytics functionality

Migrations

30+

for consistent schema evolution

Architecture

Multi-tenant

RBAC and subscription-aware access control

Architecture

System flow at a glance

The route from inputs to product surfaces, with the services and system layers that keep the workflow reliable in production.

Click Capture
Go API Layer
Redis Aggregation
Platform Storage
Analytics Dashboard
Metrics and Logging

Problem

Link analytics systems need to balance fast event ingestion, tenant isolation, and useful reporting without turning into a fragile monolith.

Capabilities

Analytics PlatformsBackend & APIsMulti-tenant SaaSMonorepo Systems

Key Decisions

Go for backend services

A strong fit for throughput, reliability, and modular service design.

Tradeoff: Raised the implementation bar for shared frontend-backend patterns.

Redis-backed analytics engine

Improved event aggregation speed and kept dashboards responsive.

Tradeoff: Introduced extra cache consistency and invalidation concerns.

Challenges

  • Balancing real-time reporting with scalable event ingestion.
  • Maintaining tenant isolation with role-aware access patterns.
  • Keeping the codebase modular as the product surface expanded.

Outcomes

  • Built a performant analytics engine for clicks, geo, device, and time-series insights.
  • Improved scalability through modular service design and caching strategy.
  • Established a reusable monorepo foundation for future platform growth.

Stack

The parts of the stack doing the real work, from product surface to infrastructure and monitoring.

Go

Fiber

Fiber

React

React

TypeScript

TypeScript

Redis

Redis

PostgreSQL

PostgreSQL

Turborepo

What's Next

  • Expand experimentation and attribution reporting.
  • Introduce richer alerting and anomaly detection on top of analytics flows.