mixpanel
Track events and analyze user behavior via Mixpanel API. Query analytics, manage user profiles, and export data.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/mrgoodb/mixpanelMixpanel
Product analytics.
Environment
export MIXPANEL_TOKEN="xxxxxxxxxx" # Project token (tracking)
export MIXPANEL_API_SECRET="xxxxxxxxxx" # API secret (querying)
export MIXPANEL_PROJECT_ID="123456"
Track Event
curl "https://api.mixpanel.com/track" \
-d "data=$(echo -n '{"event":"Button Clicked","properties":{"distinct_id":"user123","token":"'$MIXPANEL_TOKEN'"}}' | base64)"
Track Event (JSON)
curl -X POST "https://api.mixpanel.com/import?strict=1" \
-u "$MIXPANEL_API_SECRET:" \
-H "Content-Type: application/json" \
-d '[{"event":"Purchase","properties":{"distinct_id":"user123","time":'$(date +%s)',"price":29.99}}]'
Query Events (JQL)
curl "https://mixpanel.com/api/2.0/jql" \
-u "$MIXPANEL_API_SECRET:" \
-d 'script=function main(){return Events({from_date:"2024-01-01",to_date:"2024-01-31"}).groupBy(["name"],mixpanel.reducer.count())}'
Get User Profile
curl "https://mixpanel.com/api/2.0/engage?distinct_id=user123" \
-u "$MIXPANEL_API_SECRET:"
Update User Profile
curl "https://api.mixpanel.com/engage#profile-set" \
-d "data=$(echo -n '{"$token":"'$MIXPANEL_TOKEN'","$distinct_id":"user123","$set":{"plan":"premium"}}' | base64)"
Links
- Dashboard: https://mixpanel.com
- Docs: https://developer.mixpanel.com
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-mrgoodb-mixpanel": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
adobe
Access Adobe Creative Cloud APIs - Photoshop, Lightroom, PDF Services, and Firefly AI. Automate creative workflows.
xero
Manage Xero accounting - invoices, contacts, bank transactions, and reports via Xero API.
statuspage
Manage Statuspage incidents and components via API. Update status and communicate outages.
fly-machines
Deploy and manage Fly.io Machines - create, start, stop, delete, and monitor containerized apps. Use for deploying containers, managing app instances, and orchestrating multi-tenant workloads.
gamma
Create presentations, documents, social posts, and websites using Gamma's AI API. Use when asked to create slides, presentations, decks, documents, or web content via Gamma.