Cookieless analytics

Web analytics
you own.

Sessions, funnels, click-through rate, geography — with no cookies, no third-party tag, and nothing that leaves your own AWS account. You add one small script and tag the links you care about. Clavesa does the rest.

Cookieless No third-party tag Stays in your account
your site — the whole integration
<!-- 1 · add the tracker, once -->
<script src="/tracker.js"></script>

<!-- 2 · tag what you want to measure -->
<a href="/signup" data-track="signup">Start free</a>
 

That’s it. Clavesa reads your CloudFront logs and builds the rest — this page runs on it.

02 How it works

Two lines of HTML. That’s the integration.

No SDK, no collector to run, no cookie banner. You add a small script and mark the elements you care about. Clavesa turns the CloudFront logs your site already writes into sessions, funnels, and a click-through rate for every tag — on the cheapest AWS compute, in your own account.

1

Add the tracker

One small, dependency-free script on your pages. The only state it keeps is a random id in localStorage — no cookies, no fingerprinting. It fires a tiny pixel that CloudFront already logs, so there’s no backend to run and nothing new to host.

HTML in your <head>
<script src="/tracker.js" defer></script>

The tracker is one small, dependency-free file you host yourself — grab it from web-tracker on GitHub. It’s the same one running this page, tested end to end. Nothing is loaded from a third party.

2

Tag what matters

Add data-track to the links and buttons you want to measure. Clavesa counts how often each one is seen and clicked, so you get a click-through rate per element — and a conversion funnel across the ones that lead somewhere. No per-event code to write.

HTML anywhere on the page
<a href="/signup" data-track="signup">Start free</a>
<a href="/docs"   data-track="docs">Read the docs</a>
<button data-track="see-pricing">See pricing</button>

Views, clicks, and CTR per tag — the same mechanism that draws the conversion funnel on the dashboard. All cookieless, all from the tag name.

3

Get your dashboard

Point Clavesa at the S3 bucket your CloudFront logs already land in. It parses them into Delta tables and a dashboard — sessions and pageviews, top pages and referrers, a world map, and the per-element click-through rate and funnel from your tags. It runs on a schedule, on Lambda-cheap compute, entirely in your account. Nothing is centrally hosted.

The numbers up top come from exactly this — this page’s own traffic, through this pipeline. Want the parsing, the SQL, and the add-ons (bot filtering, IP→country geo, the funnel)? That’s the cookbook recipe.

03 Under the hood

The full step-by-step instructions.

This page is the easy version. When you want to see how Clavesa actually turns the logs into tables — the tsv source, the beacon parsing, the rollup SQL, and the “going further” add-ons like bot filtering, IP→country geo, and the conversion funnel — it’s all in the cookbook.

CloudFront web analytics — the recipe

The full technical walkthrough: the pipeline, the parsing, the SQL, plus troubleshooting and the extensions. Copy-pasteable, and gated in CI so it never rots.

Clavesλ on GitHub

The single Go binary, the PySpark runner, the Terraform modules, and the full cookbook. MIT-licensed.