Cookieless analytics

Web analytics
you own.

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

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>
 

Clavesa reads your CloudFront logs and builds the dashboard. This page runs on it.

02 How it works

Two lines of HTML.

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. It runs 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.

HTMLin 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 file running this page, tested end to end. Nothing loads 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. The tags that lead somewhere form a conversion funnel. No per-event code to write.

HTMLanywhere 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 draws the conversion funnel on the dashboard. It works from the tag name alone, with no cookies.

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 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. The parsing, the SQL, and the add-ons (bot filtering, IP→country geo, the funnel) are in the cookbook recipe.

03 Under the hood

The full step-by-step instructions.

This page is the short version. The cookbook shows how Clavesa turns the logs into tables: the tsv source, the beacon parsing, the rollup SQL, and the add-ons like bot filtering, IP→country geo, and the conversion funnel.

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 stays current.

Clavesλ on GitHub

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