Skip to main content

HabileLabs is headed to AWS re:Invent 2026 in Las Vegas Let's connect

Case study · Data privacy · Google Cloud

Building a GDPR Consent Management Platform That Works in 17+ Languages

The goal was to build a Consent Management Platform (CMP) that helps customers comply with GDPR, reduce privacy risk and ensure risk-free marketing.

  • 17+ languages integrated
  • Update requests rose from about 5 to 2,000 per second
  • Moved to MongoDB after launch
CMP Platform

The Challenge

  1. A Configurable Consent Widget

    The first step was a widget, with configurable text, images, language and other settings, that lets users accept cookies according to their preferences.

  2. Database, Reporting and Scale

    The CMP needed a database that could manage incoming API requests, a standard approach to data optimization and report generation, and scalable servers.

  3. Heavy Traffic

    Traffic management was hard: heavy traffic blocked the request flow and crashed the server. To resolve this, the team used Stackdriver Logging to manage and trace requests.

  4. Data Optimization and Metadata

    Data optimization and metadata management were complex because the scenarios were wide-ranging and intertwined. Each customer had a setting ID, and it was difficult to decide what to show in each case, generate reports for a particular customer and optimize the data at the same time.

The Solution

  1. Outgrowing the First Database

    The project initially used Google data storage. After launch, update requests rose from about 5 per second to as many as 2,000 per second, more than the existing database could handle.

  2. Move to MongoDB

    With performance and scalability at stake, an immediate switch was needed. The team studied every scenario and moved to MongoDB, with reusable, maintainable and loosely coupled code.

  3. 17+ Languages

    Translation alone was multifaceted, with 17+ languages integrated. DeepL Translator was used for translation, but it was expensive, and reducing project cost was the primary criterion.

  4. Dynamic Translation Storage

    Update requests ran into the thousands, and translation storage was dynamic: many users could select any language at the same time, including languages the platform was not integrated with.

  5. Testing and Client Feedback

    To stay ahead of these challenges, the HabileLabs team tested regularly, worked in agile iterations and consulted the client for regular feedback on development.

Technologies Used

Fully managed, flexible and scalable servers that handle heavy traffic, with automated deployment.

  • Application

    • Node.js
    • GraphQL
  • Data

    • MongoDB
    • Redis
    • Bigtable
    • BigQuery
  • Infrastructure

    • Docker
    • Terraform
    • Google Cloud services
    • Google File Storage

“On the whole, it was an enjoyable learning experience for the entire team. We learned about the sensitive issue of digital privacy, as data was being collected through multiple trackers in the form of third-party cookies. The CMP protects users' data privacy and lets them choose what data can be tracked and for what purpose. We were glad to be part of a project designed to ensure safe browsing and data privacy.”

Planning something similar?

Talk to us about a similar platform, or see the services behind these results.