Takt Documentation
Takt is lightweight, privacy-friendly web analytics: a script under one kilobyte, zero cookies, zero personal data. You paste one line into the <head> and measure your pages and events from your dashboard — no consent banner, no slowdown.
≤ 1 kB gzip
defer, it never blocks rendering.Cookieless
SPA-ready
Do Not Track
How it works
Three steps, from load to measurement. None require client-side logic: everything is computed at ingestion.
1. The script loads
<script defer> tag fetches takt.js from the CDN. Meanwhile, a queue captures your first takt() calls — nothing is lost.2. The pageview fires
load, Takt sends a pageview (URL, referrer, screen). On a SPA, each History API navigation triggers a new one, automatically.3. The dashboard aggregates
A complete example
The bare minimum to measure a site and track a conversion:
<!-- In the <head> -->
<script defer src="https://cdn.jsdelivr.net/npm/@vskstudio/takt-core/dist/takt.js" data-domain="example.com"></script> // Anywhere in your code, after a key action
takt('Signup', { props: { plan: 'pro' } }) The pageview already fired on its own; all that’s left is naming the events that matter to your business.
What you measure
Page views & navigation
Events & goals
takt('...')), with free-form props, turned into goals and conversion funnels.Server-side (S2S)
Choose your integration
The script
JS wrappers
PHP wrappers
Where to start
The script
Installation
Configuration
data-* options of the snippet and of init().Events & payload