Modules@robinpath/mixpanel
@robinpath/mixpanel
0.1.1PublicMixpanel module for RobinPath.
@robinpath/mixpanel
Mixpanel module for RobinPath.
Why use this module?
The mixpanel module lets you:
- trackEvent
- trackBatch
- identifyUser
- deleteUserProfile
- exportEvents
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/mixpanel
Quick Start
1. Set up credentials
mixpanel.setCredentials "your-credentials"
2. trackEvent
mixpanel.trackEvent
Available Functions
| Function | Description |
|---|---|
mixpanel.setCredentials | Configure mixpanel credentials. |
mixpanel.trackEvent | trackEvent |
mixpanel.trackBatch | trackBatch |
mixpanel.identifyUser | identifyUser |
mixpanel.setUserProfile | setUserProfile |
mixpanel.deleteUserProfile | deleteUserProfile |
mixpanel.exportEvents | exportEvents |
mixpanel.getTopEvents | getTopEvents |
mixpanel.getEventStats | getEventStats |
mixpanel.getFunnelReport | getFunnelReport |
mixpanel.getRetention | getRetention |
mixpanel.getSegmentation | getSegmentation |
mixpanel.listCohorts | listCohorts |
mixpanel.getInsights | getInsights |
mixpanel.queryJql | queryJql |
Examples
trackEvent
mixpanel.trackEvent
trackBatch
mixpanel.trackBatch
identifyUser
mixpanel.identifyUser
Integration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/mixpanel";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
mixpanel.setCredentials "your-credentials"
mixpanel.trackEvent
`);
Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/json— JSON module for complementary functionality
License
MIT
Versions (1)
| Version | Tag | Published |
|---|---|---|
| 0.1.1 | latest | yesterday |
Related Modules
data
0
@robinpath/chart
v0.1.1robinpath
Generate chart images (PNG/JPEG) using Chart.js. Supports bar, line, pie, doughnut, scatter, radar, polarArea, and bubble charts with auto-coloring and customizable titles, legends, and dimensions.
0 downloads
...
data
0
@robinpath/firebase
v0.1.0robinpath
Firebase module for RobinPath.
0 downloads
...
data
0
@robinpath/graph
v0.1.0robinpath
Graph data structures with BFS, DFS, Dijkstra's shortest path, topological sort, cycle detection, and connectivity
0 downloads
...
data
0
@robinpath/hotjar
v0.1.0robinpath
Hotjar module for RobinPath.
0 downloads
...
Install
$ robinpath install @robinpath/mixpanel Version0.1.1
LicenseMIT
Unpacked Size4.1 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

