Skip to main content

Amplitude

Server Source code Package

Server-side event delivery to Amplitude for product analytics, using the official @amplitude/analytics-node SDK. Supports track, identify, revenue, setGroup, groupIdentify, and flush calls with per-event identity via EventOptions.

Where This Fits

Amplitude is a server destination in the walkerOS flow:

Sends events server-side to Amplitude's HTTP API, providing reliable delivery with identity resolution, revenue tracking, and group analytics without browser-side SDK overhead.

Installation

Loading...

Setup

Loading...

Configuration reference

PropertyTypeDescriptionMore
apiKey*stringYour Amplitude project API key. Find it in your Amplitude project settings under "General" -> "API Keys".
serverZone'US' | 'EU'Amplitude data residency zone. Use EU for European data residency. Default: US.
flushIntervalMillisintegerHow often (in ms) to flush the event queue. Default: 10000.
flushQueueSizeintegerMax queued events before a flush. Default: 200.
flushMaxRetriesintegerMax retries on failed flush. Default: 12.
useBatchbooleanUse the Amplitude batch endpoint for higher rate limits. Recommended for high-volume server flows. Default: false.
minIdLengthintegerMinimum length for user_id and device_id fields.
serverUrlstringCustom server URL for proxies or self-hosted endpoints.
optOutbooleanInitial opt-out state. When true, no events are sent. Default: false.
enableRequestBodyCompressionbooleanEnable gzip compression for request payloads. Default: false.
identifyanywalkerOS mapping value resolving to per-event identity. Keys: user_id, device_id, session_id, set, setOnce, add, append, prepend, preInsert, postInsert, remove, unset, clearAll.
eventOptionsanywalkerOS mapping value resolving to per-event EventOptions. Keys: time, insert_id, ip, city, country, region, language, platform, os_name, os_version, device_brand, device_model, app_version, user_agent.
includeArray<string>walkerOS event sections to include as event_properties (like ['data', 'globals']).
* 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 API keys 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)