Events are the atomic unit of data in Saytics. Every time a user does something meaningful in your product — clicks a button, completes a purchase, opens a report — you record that action as an event. Everything in Saytics, from funnels to retention charts, is built on top of events you track.Documentation Index
Fetch the complete documentation index at: https://docs.saytics.com/llms.txt
Use this file to discover all available pages before exploring further.
What is an event?
An event represents a specific action taken by a user at a point in time. Every event has four parts:- Name — a short string that identifies what happened (e.g.,
"Order Completed") - Timestamp — when the action occurred; Saytics records this automatically
- Properties — optional key-value data that adds context to the event (e.g., order amount, currency)
- User identity — optionally links the event to a known user in your system
Event name conventions
Event names should be written in past tense as a verb followed by a noun. This makes your event list read like a log of things that actually happened.| Style | Example | Recommended? |
|---|---|---|
| Past tense verb + noun | User Signed Up | Yes |
| Past tense verb + noun | Report Exported | Yes |
| Present tense | User Signs Up | No |
| Vague noun only | Signup | No |
| All lowercase | user signed up | No |
| Snake case | user_signed_up | No |
Code example
Here is a well-structured event with relevant properties:'Order Completed'. The second argument is an object of properties that describe the order. Properties are optional but make your data much more useful for filtering and analysis.
Standard events vs. custom events
Saytics automatically captures a set of standard events for you:- Page View — recorded whenever a user loads a page
- Session Started — recorded when a new session begins
Saytics.track(). Most of your analytics will come from custom events.
Event names are case-sensitive.
"user signed up" and "User Signed Up" are treated as completely different events. Pick a casing convention and apply it consistently across your codebase.Event retention
By default, Saytics retains event data for 12 months. Events older than 12 months are removed automatically. If you need extended retention for your plan, contact support.Next steps
- Event and user properties — learn how to add context to your events
- Tracking custom events — step-by-step guide to implementing event tracking