![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
app-usage-events-react
Advanced tools
Changelog
Readme
utility to easily emit app-usage-events from your app to the mhetrics platform
npm install @mhetrics/app-usage-events-react
Add the provider to your react app. This provider is responsible for
import { AppUsageEventsEmitter } from '@mhetrics/app-usage-events-react';
<AppUsageEventsEmitter
clientKey={config.mhetrics.clientKey}
captureHost={config.mhetrics.captureHost}
/>
With that, your app will automatically be emitting
Your app is now also configured to emit observation events. Observation events are produced by your application to track observations useful for analytics. Here is an example of how to emit observation events
import { captureObservationEvent } from '@mhetrics/app-usage-events-react';
await captureObservationEvent({
/**
* the type of the observation you are reporting
*/
type: 'experiment.exposure', // for example, tracking that a user was exposed to an experiment
/**
* details about the observation
*/
details: {
experiment: 'show-reviews?', // for example, an experiment about whether or not reviews should be shown
treatment: 'CONTROL', // for example, tracking that they were exposed to the CONTROL treatment of the experiment
}
})
FAQs
A set of types, type checks, and type guards for simpler, safer, and easier to read code.
The npm package app-usage-events-react receives a total of 1 weekly downloads. As such, app-usage-events-react popularity was classified as not popular.
We found that app-usage-events-react 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.