Packages

Analytics & Tracking Packages

Product analytics and event-tracking libraries for instrumenting user behavior and shipping events to your analytics stack (PostHog, Segment).

32 packages

Packages in Analytics & Tracking

76Health
Library npm

ua-parser-js

Detects browser, engine, OS, CPU, and device type from a User-Agent string or Client Hints, in browsers and Node.js.

10,189
Other
Used by 33
75Health
Library npm

web-vitals

web-vitals: Measure Core Web Vitals in the Browser

8,626
Apache 2.0
Used by 29
35Health
Library npm

next-plausible

Drop-in Plausible Analytics integration for Next.js apps

709
MIT
Used by 8
40Health
Library Go

useragent

A dependency-free Go library for parsing browser, OS, device, and bot data out of User-Agent strings.

547
MIT
Used by 6
96Health
Library Composer

Device Detector

Universal PHP library for parsing user agents into browsers, OS, and device info

3,528
Other
Used by 4
92Health
Library npm

@posthog/hogql-parser

WebAssembly build of PostHog's ANTLR4 HogQL/Hog grammar, returning JSON ASTs to any JavaScript or TypeScript runtime.

39,974
MIT
Used by 1
75Health
Library Composer

CrawlerDetect

A PHP library for detecting bots, crawlers, and spiders via the User-Agent header.

2,407
MIT
Used by 1
49Health
Library npm

react-tracking

Declarative, analytics-platform-agnostic event tracking for React apps via HOC, decorator, or hook.

1,898
Apache 2.0
Used by 1
41Health
Library npm

react-native-in-app-review

Triggers the native in-app review prompt on iOS, Android, and Huawei AppGallery from a single React Native API.

728
MIT
Used by 1
78Health
Library Composer

Matomo Referrer Spam List

A community-maintained list of known referrer spam domains for filtering analytics data.

678
Used by 1
45Health
Library npm

ahoy.js

Lightweight JavaScript library for tracking website visits and events with any backend.

509
MIT
Used by 1
54Health
Library Composer

Matomo Search Engine & Social List

Community-maintained YAML definitions of search engines, social networks, and AI assistants.

74
Other
Used by 1
36Health
Library npm

telemetry

Define and collect telemetry events and traces from Sanity CLI, Studio, and other TypeScript apps.

1
MIT
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers