What problem does it solve?
Angular projects often struggle to instrument analytics consistently across client/server boundaries. This skill provides an Angular integration pattern using Amplitude Unified SDK, SSR-safe wrappers, and a ready-to-run reference implementation to instrument events, identify users, and verify data flow.
Core Features & Use Cases
- Unified SDK initialization: Uses
@amplitude/unified and initAll(apiKey) to enable Analytics, Session Replay, and more in Angular apps.
- SSR-safe usage: Provides a no-op proxy on the server to avoid SSR errors and ensure client-side tracking remains robust.
- User identification & tracking: Examples show how to set user IDs, send identify payloads, and track common events like login and feature usage.
- Reference project pattern: Includes example files under
references/ to mirror real-world Angular integration.
Quick Start
Run the app with environment config in place to initialize Amplitude in Angular and observe events flowing to Amplitude.