Skip to content

Error tracking quick start

  1. Create or open a project in the app and copy the public key.
  2. Load /wp-content/plugins/errornotifier-core/assets/js/errornotifier-sdk.js.
  3. Call ErrorNotifier.init({ projectKey, endpoint, environment, release }).
  4. Use captureException(error) and captureMessage(message, level).
  5. Source map uploads are stored as protected artifact metadata until a parser is configured.
  6. PII scrubbing removes tokens, passwords, authorization headers, card-like numbers, and hashes email addresses.
ErrorNotifier.init({ projectKey: "enpk_xxx", endpoint: "/wp-json/errornotifier/v1/store" });