
analytics-events
Add product analytics events to track user interactions in the Metabase frontend
by metabaseFree
Description
analytics-events is an agent skill for adding product analytics events to the Metabase frontend. It tracks how users interact with the app, using Snowplow with typed event schemas. The skill explains the setup: simple events are declared where they are used, and a generic tracking function validates the payload at the call site. The core tracking functions live in the frontend analytics module and are imported from the analytics package, while the shared simple event schema is in the shared types. The skill tells you not to add new event types to the shared schema file, and it points to the schema registry, which is for custom and legacy schemas only. Tracking functions and any local types belong in the feature-specific analytics file for the feature you are changing. A quick checklist walks through adding a new analytics event. The skill is for developers working in the metabase/metabase repository and is not a general analytics library. The listing shows it as free, and it has about 2,000 installs. Its security audits show passes from Gen Agent Trust Hub, Socket and Snyk. Install it with npx skills add https://github.com/metabase/metabase --skill analytics-events.…
Highlights
- Adds typed Snowplow analytics events to the frontend
- Simple events declared where they are used
- Generic tracking validates the payload at the call site
- Keeps shared schema files free of new types
- Quick checklist for a new event
Ratings & Reviews
No ratings yet
Be the first to rate analytics-events.
People also visit
analytics-events FAQ
What does the skill do?
It helps a developer add product analytics events that track user interactions in the Metabase frontend.
Which analytics system does it use?
Snowplow, with typed event schemas.
Where should a new event be declared?
Simple events are declared where they are used. Tracking functions and local types go in the analytics file of the feature.
Should I add my event type to the shared schema?
No. The skill says not to add event types to the shared simple event schema file, and the registry is for custom and legacy schemas only.
How do I install it?
Run npx skills add https://github.com/metabase/metabase --skill analytics-events.
Is it checked for security?
Its security audits show passes from Gen Agent Trust Hub, Socket and Snyk.
What are the best analytics-events alternatives?
Popular alternatives to analytics-events include react-patterns, frontend-code-review and typescript-review. See all analytics-events alternatives







