Skip to Content
Available

Get started with Pug

Analytics and profiles for growth teams. Install the SDK, watch events flow into Live analytics, and build funnels in Insights — one platform, one pipeline.

3
SDKs
6
Pipeline stages
100%
Open source
import { init, track } from '@poluruprvn/pug-web'

init('YOUR_PROJECT_ID', {
  apiKey: 'YOUR_API_KEY',
  endpoint: 'https://api.pug.sh'
})

track('page_view')
How it worksevent → insight

Events flow from your app through an async pipeline to analytics storage. The same data powers Live, Insights, and Profiles.

SDKtrack() & identify()
APIConnect RPC ingest
NATSAsync pipeline
WorkersGeo & enrichment
ClickHouseAnalytics store
DashboardInsights & profiles
Platformeverything, nothing it doesn't

Web SDK

Browser analytics with auto-tracking, batching, and session management.

Read docs

Dashboard

Insights, live analytics, custom dashboards, and user profiles.

Read docs

Connect API

Programmatic access to insights, profiles, and events.

Read docs

Mobile SDKs

Flutter, Android, and iOS SDKs for native app tracking — coming soon.

View SDKs
Choose your path

Website or web app

Install the Web SDK, auto-track page views and clicks, identify users on sign-in.

Quickstart →

Server-side analytics

Query insights and read profiles with the Connect API and a shared key.

API overview →

Self-hosted deployment

Run the full stack — Postgres, ClickHouse, NATS, and Go workers — on your infrastructure.

Self-hosting guide →

Jump straight in

Copy-paste SDK snippets for tracking events and identifying users.

import { track } from '@poluruprvn/pug-web'

track('button_clicked', { label: 'Sign up' })
track('purchase', {
  revenue: 29.99,
  currency: 'USD'
}, { immediate: true })