Overview
Trodo’s data model is built for product behavior analytics: discrete events over time, rich user profiles, and optional groups for workspaces or accounts. Everything ties back to adistinct_id so you can analyze full journeys.
Core concepts
Events
Events are actions users take (or that happen in their session). They power funnels, flows, retention, and insights.- Auto-events: Captured when enabled (
page_view,element_click,page_scroll, etc.) — see Auto-Events - Custom events: Sent with
Trodo.track()
User profiles
Profiles aggregate activity and traits for one person, keyed bydistinct_id.
identify(): Attach a stable ID and known traits- People methods: Update persistent properties
- Events: Drive activity timelines and derived metrics
Groups
Users can belong to groups (companies, workspaces, teams) under a string group key and one or more group IDs. UseTrodo.set_group / add_group / remove_group, and set properties on the group with Trodo.get_group(key, id).set(...). See Groups.
Linking identity
When an anonymous user later logs in,identify() connects their history to the same logical user. Trodo’s CQ Intelligence merge engine can unify profiles across sessions and devices when the same identified user appears again.
Property types
Trodo supports these property data types for filtering and breakdowns:| Type | Example | Operators |
|---|---|---|
| String | "enterprise" | is, is_not, contains, is_set |
| Number | 1500.50 | equals, greater_than, less_than, between |
| Boolean | true | is_true, is_false |
| Date/Datetime | "2024-01-15" | before, after, between, in_the_last |
| List | ["editor", "admin"] | any_in_list, all_in_list + item operators |
| Object | { role: "admin" } | Nested property access |
Sessions
Sessions group activity with rules such as:- Timeout: A period of inactivity starts a new session
- Midnight: New session at midnight (user’s local time), where configured
- UTM change: New campaign parameters can start a new session
Data flow
- Collection: Browser SDK sends events (and optional server-side integrations you configure).
- Processing: Events are validated, enriched, and tied to identities.
- Storage: Profiles and event history power reporting.
- Query: Insights, funnels, retention, flows, and cohorts read the unified model.
Next steps
Events & Properties
Event structure and limits
User Profiles
Profile management
Default Properties
Auto-captured properties
Implementation Guide
Patterns and checklists