Skip to content

Releases: vllnt/analytics

v0.1.1

10 Mar 17:26

Choose a tag to compare

Bug Fixes

  • fix(ci): use RELEASE_PAT for release checkout to bypass branch protection (#5)

Other Changes

  • ci: add CI and publish workflows (#4)
  • chore: add .mcp.json to gitignore

v0.1.0

05 Mar 20:29
687df12

Choose a tag to compare

@vllnt/analytics v0.1.0

Lightweight, privacy-first analytics with consent management and React integration.

Features

  • Event tracking with pre-init queuing
  • Consent management (analytics + functional categories)
  • Versioned consent with re-prompt support
  • Do Not Track browser setting respected
  • SSR-safe (all browser APIs guarded)
  • Cookie-based consent for server-side reading
  • React provider + hooks (AnalyticsProvider, useAnalytics, useConsent)
  • Tutorial/content flow tracking helpers

Install

pnpm add @vllnt/analytics

Highlights

  • 119 tests, 100% coverage (statements, branches, functions, lines)
  • 7.9 kB packed, zero runtime dependencies
  • Peer dependency: react ^18.0.0 || ^19.0.0
  • MIT licensed