@atlasng/analytics
v0.0.6
Published
Analytics library for AtlasNG
Readme
@atlasng/analytics
A opinionated Angular library for logging user interactions and managing privacy consent. This library provides a robust foundation for tracking user behavior while respecting privacy preferences and compliance requirements.
Overview
The analytics library enables applications to:
- Log User Interactions: Track user actions, events, and behavior patterns across your application
- Manage Privacy Consent: Handle user consent preferences with built-in consent management and GDPR compliance support
- Flexible Configuration: Easily configure analytics providers and privacy settings
- Custom Events: Create new events with custom properties and metadata
Installation
npm install @atlasng/analyticsUsage
Configuration
Use provideAnalytics to configure the analytics system.
import { provideAnalytics, withErrorHandler, withDebugLogging } from '@atlasng/analytics';
bootstrapApplication(AppComponent, {
providers: [provideAnalytics(withErrorHandler(), withDebugLogging())],
});