You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Flags & Experiments: Added support for fetching feature flags (getFeatureFlags, getFeatureFlag) and A/B test experiments (getExperiments, getExperiment).
Revenue Attribution: Added getProfileId() and getSessionId() helpers to easily retrieve IDs needed for connecting payments with user sessions.
Profile Tracking: Added optional profileId support to init(), track(), and pageview() to assign events to specific user profiles.
Heartbeat: Background heartbeat events now automatically include theprofileId if configured.
Added support for error stack traces and custom metadata. Stack traces are automatically tracked for all errors, and you can also pass them manually into the trackError method as stackTrace. You can also pass meta object for some custom metadata (works exactly as meta object in track method for custom events).
Added "type": "module" to package.json to properly identify the package as using ES modules, fixing "Cannot use import statement outside a module" errors