Like Jitsu? Give us a star on ⭐ GitHub!

πŸ“œ Configuration

Configuration UI

πŸ‘©β€πŸ”¬ Extending Jitsu

Overview
Destination Extensions
Source Extensions
API Specs

Jitsu Internals

Event API

Jitsu has API for direct event collection. You can use it for sending events directly from apps or backends.

POST/api/v1/s2s/event?token=$server_api_key_secret

Authorization server secret token might be provided either as query parameter or HTTP header

Parameters

X-Auth-Token
required
header
string
Server secret token
token
required
Query String Parameter
string
Server secret token

Request Payload

The body is any JSON object:

{
  "event_id": "x96f60pzk1",
  "event_data": {
    ...
  },
  "page_ctx": {
    "page_title": "Jitsu Demo",
    "referer": "",
    "url": "http://track-demo.ksense"
  },
  "device_ctx": {
    "ip": "10.10.10.10",
    "user_agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36",
  },
  "user": {
    ...
  }
}

Response

{"status": "ok"}

For Geo or User-Agent resolving you should configure an enrichment rule. Read more about enrichment rules.