UNPKG

better-analytics

Version:

Zero-dependency micro-analytics JavaScript SDK < 3KB gzipped with React/Next.js/Expo support

39 lines (25 loc) 2.9 kB
<div align="center"> <a href="https://better-analytics.app"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://better-analytics.app/logo.svg"> <img alt="Better Analytics logo" src="https://better-analytics.app/logo.svg" height="128"> </picture> </a> <h1>Better Analytics</h1> <a href="https://better-analytics.app"><img alt="Better Analytics" src="https://img.shields.io/badge/SAAS-Better%20Analytics-000000.svg?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMgM1YyMUgyMVYzSDNaTTUgNUgxOVYxOUg1VjVaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K&labelColor=000"></a> <a href="https://www.npmjs.com/package/better-analytics"><img alt="NPM version" src="https://img.shields.io/npm/v/better-analytics.svg?style=for-the-badge&labelColor=000000"></a> <a href="https://github.com/decker-dev/better-analytics/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/npm/l/better-analytics.svg?style=for-the-badge&labelColor=000000"></a> <a href="https://docs.better-analytics.app"><img alt="Documentation" src="https://img.shields.io/badge/Docs-better--analytics-blueviolet.svg?style=for-the-badge&labelColor=000000&logoWidth=20"></a> </div> ## Getting Started A **zero-dependency** micro-analytics JavaScript SDK for tracking page views and events. Framework-agnostic, **< 3KB gzipped**, with specialized adapters for popular frameworks and platforms. Used by developers who value privacy, performance, and simplicity. ## Documentation Visit [https://docs.better-analytics.app/docs](https://docs.better-analytics.app/docs) to view the full documentation. ## Community The Better Analytics community can be found on [GitHub Issues](https://github.com/decker-dev/better-analytics/issues) where you can ask questions, voice ideas, and share your projects with other developers. Do note that our [Code of Conduct](https://github.com/decker-dev/better-analytics/blob/main/packages/better-analytics/CODE_OF_CONDUCT.md) applies to all Better Analytics community channels. Users are **highly encouraged** to read and adhere to it to avoid repercussions. ## Contributing Contributions to Better Analytics are welcome and highly appreciated. However, before you jump right into it, we would like you to review our [Contribution Guidelines](https://github.com/decker-dev/better-analytics/blob/main/packages/better-analytics/CONTRIBUTING.md) to make sure you have a smooth experience contributing to Better Analytics. ## Security If you believe you have found a security vulnerability in Better Analytics, we encourage you to **_responsibly disclose this and NOT open a public issue_**. We will investigate all legitimate reports. Please contact us at security@better-analytics.app with details of the vulnerability.