Mixpanel
Server-side event delivery to Mixpanel for product analytics, people profiles, and group analytics via the official mixpanel Node.js SDK.
Where This Fits
Mixpanel is a server destination in the walkerOS flow:
Sends events server-side to Mixpanel via /track (real-time, up to 5 days old) or /import (historical, any age). Supports people profile operations, group analytics, and identity resolution.
Installation
Loading...
Setup
- Integrated
- Bundled
Loading...
Configuration reference
| Property | Type | Description | More |
|---|---|---|---|
apiKey | string | Your Mixpanel project token. Find it in Project Settings > Access Keys. Passed as the first argument to Mixpanel.init(). | |
secret | string | API secret for the /import endpoint (historical data). Required when useImport is true. | |
host | string | Mixpanel API host. Default: 'api.mixpanel.com' (US). Use 'api-eu.mixpanel.com' (EU) or 'api-in.mixpanel.com' (India). | |
protocol | string | Protocol for API requests. Default: 'https'. | |
keepAlive | boolean | Reuse HTTP connections. Default: true. | |
geolocate | boolean | Parse IP for geolocation. Default: false. Server IP caveat: all users map to server location unless $ip is overridden. | |
debug | boolean | Enable SDK debug logging. Default: false. | |
verbose | boolean | Enable verbose request logging. Default: false. | |
test | boolean | Enable dry-run mode. Default: false. | |
useImport | boolean | Use /import endpoint instead of /track. Accepts events of any age (no 5-day limit). Requires secret for authentication. | |
identify | any | walkerOS mapping value resolving to { distinctId, alias? }. distinctId is passed as distinct_id on every SDK call. | |
include | any | Event data sections to flatten into track() properties. Example: ['data', 'globals']. Sections are prefixed (data_, globals_, etc.). |
Required fields
Docker Deployment
Step 1: Create Flow Configuration
Use the $env.NAME syntax in your flow configuration to reference environment variables at runtime:
Loading...
Step 2: Bundle the Flow
Bundle your flow configuration before running in Docker:
Loading...
Step 3: Run with Docker
Loading...
Docker Compose Example
Loading...
Security Best Practice
Never commit project tokens or API secrets to version control. Use environment variables or a secrets manager to inject credentials at runtime.
💡 Need implementation support?
elbwalker offers hands-on support: setup review, measurement planning, destination mapping, and live troubleshooting. Book a 2-hour session (€399)