Events
Automatic events
Section titled “Automatic events”| Event | When | Properties |
|---|---|---|
first_open |
First launch of this installation | — |
session_start |
A new session begins | is_first_session |
app_foreground |
App enters the foreground | — |
app_background |
App leaves the foreground | fg_duration_ms |
page_view |
An Activity is shown (STANDARD, GAME) |
page (Activity class name) |
ad_impression |
You call trackAdImpression |
see Ad revenue |
sdk_health |
At session start, only if something was dropped or retried | dropped_overflow, dropped_expired, dropped_invalid, rejected_server, retries, queue_size |
Custom events
Section titled “Custom events”Pulsark.track("level_end", mapOf("level_id" to "3", "result" to "win", "duration_ms" to 41250))| Rule | Limit |
|---|---|
| Event name | ^[a-z][a-z0-9_]{1,39}$ — lowercase snake_case, 2–40 chars. Prefer verb_object. Invalid names are dropped. |
| Property key | ^[a-z][a-z0-9_]{0,39}$ |
| Properties per event | 30 (extra keys are dropped) |
| Property values | String (≤ 256 chars), integer, floating point (finite), Boolean. Other types and null are dropped. |
| Sensitive keys | Keys containing email, phone, password, passwd, token, imei, android_id or gaid are always dropped. |
Dropped events and properties are counted in sdk_health, so you can see integration mistakes without crashing the app.
Suggested events for games
Section titled “Suggested events for games”| Event | Properties |
|---|---|
level_start |
level_id |
level_end |
level_id, result (win / lose / quit), duration_ms |
ad_request, ad_click |
ad_unit_id, ad_format |
ad_load_fail |
ad_unit_id, error_code |
Priorities and consent
Section titled “Priorities and consent”Essential events — first_open, session_start, app_foreground, app_background, ad_impression, sdk_health — are collected even while consent is UNKNOWN and are kept first when the local queue is full. Everything else (page_view, custom events) is collected only after setConsent(GRANTED). Nothing is collected after DENIED or optOut(true).
Context sent with every batch
Section titled “Context sent with every batch”App version and build, build_channel, SDK version, installation ID, your account user ID (if set), OS version and API level, device brand and model, language, time zone offset, network type (wifi / cellular) and consent state. The server adds the receive time, the country (from the request’s IP, which is not stored) and the collection region.