⚡ ⚡ Learn how Investing.com uses Jitsu to move data faster
Customer Stories

How Chili Piper went from 35,000 to 4 million events a day in a week

Chili Piper turns website traffic into booked sales meetings. It engages every visitor, books them with the right rep and brings back the ones who leave.

Every event from 238 websites, Chili Piper's own and its customers', goes through one Jitsu stream. Chili Piper runs that stream on its own Kubernetes clusters, tags each event with the customer it belongs to, and loads it into ClickHouse Cloud and PostgreSQL.

logo

Event Streams

webWebsite

Server Destinations

clickhouseClickHouse Cloud
postgresPostgreSQL
Volume
20.7 million
events per month

Before Jitsu

Chili Piper's website visitor data used to be spread across the tools it already ran. The chat product had its own page-view tracker in its own database, HubSpot's tracking code held marketing page views, and a separate service worked out which company a visitor came from by their IP address.

Each one served its own product. What started the search was the customer data platform Chili Piper began building on ClickHouse in early 2026. It wanted one stream of web events landing there, next to its CRM and product data, with every event tagged with the customer it came from.

We wanted something simple: one script on the website with every event tagged with the customer it belongs to.
marek.jpg
Marek Kadek
VP of Technology, Chili Piper

What Chili Piper needed

The pipeline had to run on Chili Piper's own Kubernetes clusters, because it carries its customers' visitor data. It had to be managed in Terraform, like everything else the team runs. And a page view reaching the warehouse within a minute or so was fast enough.

How Chili Piper runs Jitsu

Jitsu is open source, so Chili Piper runs it on its own Google Kubernetes Engine clusters with Kafka, deployed with a Helm chart through Flux.

In production, three Jitsu Functions run on every event in transit. They stamp the tenant ID, clean campaign parameters, and split a batched company-identification event into one row per provider. From there, one stream feeds two destinations in different modes: batches into ClickHouse Cloud, and a stream into PostgreSQL that the chat product reads within seconds. dbt, Cube and Grafana work with the data downstream.

How a Chili Piper web event reaches the warehouse: one tracking script built on the Jitsu JS SDK runs on Chili Piper's website and its customers' websites, 238 websites across 33 tenants. Events go to one Jitsu stream running on Chili Piper's own Google Kubernetes Engine clusters with Kafka, where three Jitsu Functions stamp the tenant ID, clean campaign parameters and split batched company-identification events into one row per provider. Jitsu loads the events into ClickHouse Cloud in batches and streams them into PostgreSQL. dbt, Cube and Grafana work with the data downstream. Everything is configured in Terraform.

In September the team moved the warehouse from self-hosted ClickHouse to ClickHouse Cloud. All three environments moved in two days, 22 and 23 September, and events kept flowing through the cutover.

Chili Piper wrote the Terraform provider

“Because Jitsu's console has an API for every object, we wrote and published an open-source Terraform provider and keep all our configuration in Terraform.”

The provider is on GitHub at Chili-Piper/terraform-provider-jitsu. Staging, testing and production are each defined entirely in Terraform, and production is one stream, three functions and two destinations.

Here is what it looks like, shortened from the provider's docs (not Chili Piper's production config):

# jitsu_workspace, jitsu_stream and jitsu_destination blocks omitted

resource "jitsu_function" "inject_tenant_id" {
  workspace_id = jitsu_workspace.main.id
  id           = "inject_tenant_id"
  name         = "Inject Tenant ID"
  code         = <<-JS
    export default async function(event, ctx) {
      event.properties = event.properties || {};
      const tenantId =
        event.context?.tenantId ||    // set in the browser via setContextProperty
        event.properties?.tenantId || // or sent with the event
        event.traits?.tenantId ||     // or as a trait via identify()
        event.context?.traits?.tenantId || // or a trait saved by an earlier identify()
        null;
      event.properties.tenant_id = tenantId || ctx.source.name || "unknown";
      return event;
    }
  JS
}

resource "jitsu_link" "stream_to_clickhouse" {
  workspace_id = jitsu_workspace.main.id
  from_id      = jitsu_stream.website.id
  to_id        = jitsu_destination.clickhouse.id
  mode         = "batch"
  primary_key  = "tenant_id,timestamp,message_id"
  frequency    = 1
  functions    = [jitsu_function.inject_tenant_id.id]
}

Adding a field used to take a release

“Adding a field to an event used to mean a schema migration, a service release, and a production promotion before any data could land. Now the destination schema is frozen, so unexpected fields land in one overflow column and we promote them to real columns when we choose.”

When Chili Piper rolled out the Jitsu function that cleans campaign parameters in transit, it went to staging, testing and production in a single change, without touching the tracking script on the websites.

From 35,000 to 4 million events a day

Daily event volume grew more than 100 times in one week. As some of Chili Piper's customers went live at the end of November 2026, it went from about 35,000 events a day to between 4 and 5 million, all through one Jitsu stream.

In November, Jitsu processed 20.7 million events from more than 650,000 visitors across 238 websites. That is for Chili Piper's customer data platform alone, where 33 tenants now send web events, up from 6 in October, with more being onboarded. Traffic peaks above 9,000 events a minute.

Soham MehtaWritten by Soham Mehta, Growth at Jitsu

Start capturing your data in 3 easy steps

01
Capture
As easy as adding a Google Analytics Tag. Capture events from your site, your app, and everywhere else your customers engage.
./index.html
<script 
 async
 src="https://data.yourcompany.com/p.js">
</script>
02
Store
Use a data warehouse for maximum autonomy and control. Share data with anyone in any team.
file_type_mysql
03
Discover
Unlimited flexibility to understand user behaviour, engagement and experience. Get and send trusted data everywhere it needs to go
--get signup page views in the last day
select * from events where
  context_page_path = '/signup' and
  timestamp > now() - interval '1 day'
Subscribe to the Jitsu newsletter
Occasional product updates when we ship something worth knowing about. No spam.