Privatrak

Up and running in minutes

One script tag, automatic event capture, and a full analytics dashboard — no complex setup required.

Three steps to full analytics

Just one script tag and you're done. Or use the npm package for TypeScript types and framework integrations.

1

Add the tracker

Copy a single script tag into your HTML, or install the npm package for TypeScript support. Pageviews, clicks, and forms are captured automatically.

<script src="https://yoursite.com/tracker.js"></script>
2

Pick what to track

Open the Element Picker from your dashboard, click on elements you want to track, and name them. Privatrak creates tracking rules automatically — no code needed.

$select #upgrade-btn → Upgrade Interest
$select .export-csv → Data Export
$select #register-form → Registration
3

Open your dashboard

See funnels, feature adoption, user flows, and custom dashboards. Everything is ready — no training, no setup wizard, no waiting for data.

Total Events

1,247

+14%

Funnel Conv.

64.8%

+8%

Features Tracked

23

+3

Pageviews

842

+12%

Complete implementation

<script src="https://t.yoursite.com/tracker.js"></script>
Lightweight Privatrak

One file. Zero dependencies. Ships as a single file.

The tracker is a single vanilla JavaScript file that loads in milliseconds. Also available as an npm package with TypeScript types and a Nuxt module for developers who want programmatic control.

Vanilla JS — no React, no Angular, no dependencies
Single IIFE file or npm package — works with any website or app
Loads fast — no impact on your page speed
Works with any framework or CMS
Auto-Capture

Automatic event capture. Zero instrumentation.

The tracker captures pageviews, clicks, and form submissions automatically. No event.track() calls, no manual setup — just real user interactions from the moment the script loads.

Pageview

Every navigation and page load

Click

Buttons, links, and interactive elements

Form Submit

Form submissions with metadata only

Custom Events

Track anything with data attributes

Add data-track-* attributes to any HTML element, or use the tracker.track() API for programmatic control. Also available as an npm package with TypeScript types and a Nuxt module.

Works from the first page load — no configuration
Sensitive elements are always excluded automatically
Form values are never captured — only submission metadata
Custom events via tracker.track() API — also available as an npm package with full TypeScript support

Custom event example

<button
  data-track-event="signup_click"
  data-track-plan="pro"
>
  Start Free Trial
</button>

Be the first to try privacy-first analytics

Join the waitlist and get early access when we launch.

View Pricing
How It Works — Privatrak