
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@exodus/analytics
Advanced tools
This Exodus SDK feature enables you to generate client-side analytics.
This Exodus SDK feature enables you to generate client-side analytics.
yarn add @exodus/analytics
This feature is designed to be used together with @exodus/headless. See using the sdk.
import createExodus from '@exodus/headless'
import analytics from '@exodus/analytics'
const container = createExodus({ adapters, config, debug })
container.use(
analytics({
segmentConfig: {
apiKey: '<get this from segment.io>',
},
})
)
[!IMPORTANT] Note: this feature defaults to using event payload validation using
@exodus/analytics-validation. If you want to skip client-side validation (don't do it, it's dangerous), you can inject an alternativevalidateAnalyticsEventdependency via the IOC.
await exodus.analytics.track({ event: 'AppSession' }) in the Dev Tools Console.See using the sdk for more details on how features plug into the SDK and the API interface in the type declaration.
| Property name | Description |
|---|---|
| track | Track an event. To track events before a wallet primary seed is known, e.g. during onboarding, call track({ force: true, ...rest }). To throttle tracked events, use track({ sample }) with sample ranging from 0-1, e.g. track({ sample: 0.2, ...rest }) will pass through 20% of events. |
| trackInstall | Track an install event. |
| identify | Used to set global "traits". Should be used sparingly -- e.g. on seed import or seed create. |
| setDefaultEventProperties | Sets persistent properties to be sent with every track call. |
| requireDefaultEventProperties | If called, will postpone track calls until the provided properties are set via setDefaultEventProperties. |
| getUserId | Gets the permanent user id, derived from the wallet's primary seed |
This feature doesn't provide any selectors, so use the API directly from the UI, as described above.
FAQs
This Exodus SDK feature enables you to generate client-side analytics.
The npm package @exodus/analytics receives a total of 716 weekly downloads. As such, @exodus/analytics popularity was classified as not popular.
We found that @exodus/analytics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.