From Python
dataframer-journey, the library from Link AI Traces to Journeys, sends them. Inside a request, the event joins that request’s journey.
journey_id= yourself. In a short-lived process such as a serverless function, call signals.flush() before it returns. It waits up to 30 seconds, or the timeout= you pass, and returns False if some events are still unsent. In a customer-hosted deployment, also pass api_base=, the browser SDK’s apiBase.
From any other language
Post the events to the batch endpoint. In a customer-hosted deployment, it is under your data plane’s address instead.- A request carries up to 100 events and 1 MB. Each event’s
propertiesandcontexttogether may take up to 64 KB of JSON. - The journey id goes in
context.journey_id. Addtimestamp(ISO 8601, 1970 or later) when the event happened before you send it. - Give each event a unique
messageId. An event sent again with the same one is stored once, so a retry is safe.
Next steps
Import Events from Warehouse
Use the events your analytics tool already records, without the browser SDK.

