Get in Touch

A Modern Analytics Pipeline for AdTech: Highfivve’s Journey to Full Analytics Ownership 

Overview

Highfivve relied on a third-party closed analytics platform for mission-critical Prebid analytics, but the platform’s limitations, rising costs, and lack of flexibility hindered Highfivve’s ability to refine its operational analytics and decision-making processes. To regain full control over its data, insights, and operational decision-making, Highfivve partnered with Postindustria to design and implement a fully owned, end-to-end Prebid analytics pipeline.
The result is a scalable, cost-efficient, self-maintainable system operating under Highfivve’s full control, capable of processing ~75 million events per day with near-real-time visibility.
The new platform eliminates vendor lock-in, ensures consistent analytics across tools, and empowers the internal data team to iterate without dependency on third-party systems.

Key Highlights

01

Full Ownership of Monetization Analytics

Highfivve controls event collection, retention, enrichment, and aggregation end-to-end.

02

Cost-Efficient Infrastructure

The pipeline runs entirely on existing datacenter components, reducing recurring costs.

03

Built for Scale

Designed to process ~75M events/day with hourly - or faster - aggregations.

04

Operational Independence

Schemas, event formats, enrichment logic, and A/B testing labels are fully owned and customizable.

05

Modern Analytics Architecture

A Bronze → Silver → Gold pipeline ensures transparency, safe reprocessing, and long-term maintainability.

The Challenge

Highfivve depended on an external analytics provider for operational monetization insights. While effective, the setup introduced several long-term issues:
01

Vendor lock-in limiting flexibility

The external analytics platform offered limited flexibility for controlling event fields, retention strategy, or aggregation logic, making it difficult for Highfivve to evolve its monetization analytics processes in line with internal needs. Highfivve needed ownership, not black-box analytics.

02

High recurring operational costs

Relying on a third-party analytics platform introduced ongoing operational expenses while limiting Highfivve’s ability to optimize long-term cost structure. By moving analytics in-house, Highfivve aimed to reduce recurring costs and better utilize its existing infrastructure.

03

Data transparency and operational control needs

Highfivve’s data team required full visibility into raw events and the ability to validate, correct, and reprocess specific time windows - capabilities essential for ensuring consistent, reliable analytics aligned with internal reporting workflows. Operating an in-house pipeline provides complete transparency and end-to-end control.

The Journey

  • Discovery & Requirements Definition

    Together, Postindustria and Highfivve mapped the full end-to-end analytics flow: from browser event generation to operational dashboards. The teams aligned on strict data minimization rules (collect only what is needed), compliance constraints, and integration with existing infrastructure. This phase established five core workflows: browser event collection, ingestion, enrichment, aggregation, and analytics access.

  • Designing for Ownership and Cost Efficiency

    The final architecture followed a Bronze → Silver → Gold model:

    • Bronze: Raw events via Kafka → AWS S3
    • Silver: Enriched, deduplicated events in ClickHouse
    • Gold: Hourly & daily aggregated metrics powering operational analytics

    This architecture ensured:

    • full transparency at every stage
    • safe reprocessing of any hour or day
    • predictable long-term storage costs
    • simplicity aligned with Highfivve’s existing tech stack (Kafka, AWS S3, Airflow, ClickHouse)
Highfivve analytics pipeline: web page events through the Bronze layer (Kafka, MinIO), the Silver layer (enrichment into ClickHouse) and the Gold layer (ClickHouse tables feeding the analytics web UI)
  • Building an Independent Browser Analytics Module

    A custom analytics module was embedded directly into the ad-tag, capturing only the essential Prebid and page-level signals needed for Highfivve’s operational metrics. This included key events such as auctionEnd and bidWon, with the module designed to remain flexible as additional event types or data points are required over time.

    Beyond event collection, the module also handles batching, session tracking, event filtering, and A/B testing labels - all fully owned and controlled by Highfivve.

  • Creating a High-Throughput Ingestion Layer

    The ingestion layer was built on Kafka with well-defined schemas, topic organization, and a hot-retention configuration designed to handle Highfivve’s traffic volume of approximately 75 million events per day. Dedicated DLQ (Dead Letter Queue) topics were added to safely isolate malformed or unprocessable messages, ensuring that data quality issues never interfere with the primary event stream.

    In parallel, Highfivve’s development team implemented a specialized ingestion service that collects batched events directly from the ad-tag and forwards them into the appropriate Kafka topics. Delivered within a short timeframe, this component became the secure entry point for all browser-generated analytics data.

    With this foundation in place, Highfivve gains a scalable, reliable, and fully owned entry point for all raw analytics events.

  • Enrichment & Deduplication Engine

    The enrichment layer, orchestrated with Airflow and powered by Dask, allows Highfivve to process large volumes of events in parallel, with the ability to scale horizontally as more compute resources become available. This parallel model accelerates enrichment steps such as GeoIP resolution, browser detection, and data normalization while keeping execution predictable and fully controlled.

    One of Highfivve’s requirements was the ability to adjust enrichment logic at any time and safely reprocess historical periods without risking inconsistencies in the final analytics. Relying solely on native ClickHouse deduplication mechanisms would have made deterministic, hour-by-hour rebuilding challenging, as ClickHouse table’s background merges are not tied to a precise execution schedule.

    To address this, Postindustria implemented a controlled, partition-based deduplication and rebuild process in both the Silver and Gold layers. Each hour can be explicitly dropped, reprocessed, and reinserted, ensuring that updates, late-arriving data, or logic changes never result in duplicated or stale metrics.

Highfivve analytics pipeline: parallel enrichment of raw Parquet events, deduplication of staging records and the rebuild of the Gold aggregation tables in ClickHouse

This approach gives Highfivve the flexibility to evolve processing logic, validate corrections, and run backfills across any time range with confidence.

  • Gold Cubes for Operational Analytics

    At the final stage of the pipeline, the system produces hourly and daily Gold tables that consolidate all enriched events into pre-aggregated, query-ready metrics. Optimized for fast lookups, these cubes form the backbone of Highfivve’s analytics interface and support high-volume exploratory queries without accessing raw or Silver-layer data.

The Technology

Highfivve’s analytics pipeline is built on a medallion-style architecture, combining browser-side data collection with scalable ingestion, distributed enrichment, and high-performance analytical storage. The system is designed for transparency, operational control, and cost efficiency - fully governed within Highfivve’s infrastructure environment.
  • Core Architecture Bronze → Silver → Gold pipeline separating raw, enriched, and aggregated data.
  • Browser Integration Custom ad-tag module for unified event capture, session tracking, and A/B test labels.
  • Ingestion Layer Kafka intake with structured topics, hot retention, and DLQ routing for safe isolation of malformed events.
  • Storage & Archive AWS S3 stores Parquet raw events, enabling durable retention and flexible reprocessing.
  • Orchestration & Processing Airflow schedules Python-based enrichment tasks executed in parallel via scalable Dask workers.
  • Enrichment & Deduplication ClickHouse hosts staging and canonical tables with deterministic partition rebuilds for consistent analytics.
  • Deployment All services and workers are deployed using Nomad, aligning with Highfivve’s existing infrastructure.
  • Analytical Cubes Hourly and daily ClickHouse cubes optimized for low-latency operational queries.
This setup gives Highfivve a future-ready foundation, enabling continuous evolution of metrics, smooth reprocessing of historical windows, and deep ownership of the entire monetization analytics workflow.

The Results

01

Complete Operational Independence

Highfivve fully owns event collection, processing, aggregation, and data retention - eliminating reliance on external analytics providers and enabling unbounded customization. Everything from event fields to pipeline logic is transparent and modifiable by the internal team.

02

Long-Term Cost Optimization

By running the pipeline on Kafka, AWS S3, and ClickHouse within its own infrastructure environment, Highfivve has created a foundation for reducing dependency on external analytics platforms. As the transition progresses, this architecture enables lower recurring costs and improved control over infrastructure spending.

03

Consistent, High-Integrity Analytics

By owning the full data flow - from event capture to hourly aggregations - Highfivve ensures that operational metrics follow a single, transparent logic aligned with its internal reporting workflows. This consistency strengthens day-to-day decision-making and reduces analytical blind spots.

04

Faster Operational Visibility

The new pipeline delivers hourly (and optionally more frequent) aggregations for auctions, impressions, bids, wins, and revenue. This same-day visibility helps Highfivve detect changes in performance sooner and respond more effectively to emerging issues.

05

Designed for Long-Term Maintainability

All technologies used (Airflow, Kafka, AWS S3, ClickHouse) align with Highfivve’s existing stack, allowing the data team to:

  • extend schemas
  • adjust enrichment logic
  • introduce new event types
  • rerun historical backfills
  • evolve A/B testing strategies

without external dependency.

Conclusion

Highfivve’s new Prebid Analytics Pipeline is more than an alternative to a third-party analytics platform - it is a long-term strategic asset.
By choosing ownership over outsourcing, Highfivve built a system that offers:
  • transparency
  • flexibility
  • long-term cost optimization
  • maintainability
  • and end-to-end control of mission-critical monetization data
The result is a future-ready foundation that supports ongoing operational visibility and continuous evolution of Highfivve’s analytics capabilities.