We recommend using Sentry for browser-side error tracking.
It is integrated with the official Angular support dependency.
To activate Sentry in the PWA, set the Sentry DSN URL (Settings | Projects | Your Project | Client Keys (DSN) | DSN) either via Angular CLI environment file with the property sentryDSN
or via the environment variable SENTRY_DSN
.
Additionally, the feature toggle sentry
has to be added to the enabled feature list.
This feature only works in Universal Rendering mode.
Prefer configuration via system environment variables.
For GDPR compliance the tracked IPs have to be anonymized.
Set your Prevent Storing of IP Addresses option in your General Settings of Organization and/or Project (Sentry Web Interface).
Read more about Security & Compliance or Sensitive Data in Sentry-Docs.