Skip to content

A lightweight, type-safe event tracking library for React applications that simplifies analytics integration while maintaining clean code and optimal performance.

License

Notifications You must be signed in to change notification settings

offlegacy/event-tracker

Repository files navigation

event-tracker · MIT License NPM badge

A lightweight, type-safe event tracking library for React applications that simplifies analytics integration while maintaining clean code and optimal performance.

Key Features

  • 🎯 Declarative event tracking with type-safe APIs
  • 🛡️ Data type validation with schemas
  • ⚡️ Optimized performance with event batching
  • 🔄 Guaranteed execution order for async operations
  • 🔌 Analytics tool agnostic - works with any provider
  • 🧩 Clean separation of tracking logic from business logic
  • 📦 Lightweight - minimal bundle size impact on your application

Why event-tracker?

Event tracking is essential for modern web applications, but implementing it cleanly can be challenging. Common pain points include:

  • Mixing tracking logic with business logic
  • Managing complex tracking state
  • Ensuring reliable event delivery with data type validation
  • Maintaining type safety
  • Performance overhead

event-tracker solves these problems with a declarative API that keeps your code clean and performant.

Official Documentation

Visit the official documentation for detailed information on installation, usage, and more.

Contributing

We welcome contribution from everyone in the community. Read below for detailed contribution guide.

CONTRIBUTING.md

Contributors

contributors

License

See LICENSE for more information.

MIT © OffLegacy

About OffLegacy

Open-source Development Team in South Korea 🇰🇷

We believe that open source is the fastest way to change the world with software. Through open source, we aim to contribute to building a better technological ecosystem.