Server-Side Events
Jimo supports server-side event tracking, allowing you to push events directly from your backend. This enables enhanced user tracking, segmentation and data synchronization with Jimo's analytics.
This feature is not enabled by default! ⇒ Please contact our support team to activate it for your account.
How It Works
Server-side events are sent via an API endpoint. The endpoint supports two types of events: track
and identify
. These events allow you to either update user attributes (identify
) or register user actions (track
).
API Endpoint
URL:
Authentication: Pass your API key in the request headers under x-api-key
. You can find your API key in the Jimo dashboard under Integrations > Server-Side Events.
Event Types
Identify Events
Identify events allow you to update user traits and attributes.
Required Fields:
userId
(string) – The user’s unique identifier (same asidentifyToken
used in Jimo).type
(string) – Must be set toidentify
.timestamp
(string, ISO-8601 UTC) – Timestamp of the event.traits
(object) – Key-value pairs of attributes to update for the user.
Example Request:
Track Events
Track events allow you to register user interactions and custom events.
Required Fields:
userId
(string) – The user’s unique identifier (same asidentifyToken
used in Jimo).type
(string) – Must be set totrack
.timestamp
(string, ISO-8601 UTC) – Timestamp of the event.event
(string) – The name of the event being tracked.properties
(object, optional) – Key-value pairs containing additional event metadata.
Example Request:
Implementation Notes
Ensure your
userId
matches the value used in Jimo for consistent tracking.Use ISO-8601 UTC timestamps to avoid timezone inconsistencies.
The
properties
field intrack
events is optional but recommended for better insights.
Need Help?
If you encounter any issues or have questions about integrating server-side events, feel free to contact our support team. We’ll be happy to assist you in setting up and optimizing your event tracking!
Last updated
Was this helpful?