Event Types
Event Types are categories that help you organize different kinds of interactions and events within your application. They provide structure to your event data and make analytics more meaningful and actionable.
What is an Event Type?
An Event Type defines a category of events that share similar characteristics or represent the same kind of interaction. For example:
user_registration- When users create new accountsbutton_click- UI interaction trackingpage_view- Navigation and content consumptionerror_occurred- System errors and exceptionspurchase_completed- Transaction eventsfeature_used- Feature adoption tracking
Event Type Properties
Each event type contains the following data:
| Property | Description |
|---|---|
| ID | Unique identifier for the event type |
| Name | Descriptive name for the event category |
| App ID | Identifier of the app it belongs to |
| Created At | Timestamp when the event type was created |
Why Use Event Types?
Data Organization
Event Types help you:
- Categorize events by functionality or purpose
- Group related interactions for easier analysis
- Structure your analytics around meaningful business metrics
- Maintain consistency in event naming across your team
Analytics Benefits
With well-defined event types, you can:
- Track conversion funnels by analyzing sequences of event types
- Measure feature adoption by monitoring specific interaction types
- Identify patterns in user behavior across different event categories
- Create targeted dashboards focused on specific event types
Event Type Naming Best Practices
Use Clear, Descriptive Names
✅ Good: "user_registration", "checkout_completed", "error_payment_failed"
❌ Avoid: "event1", "click", "thing_happened"
Follow Consistent Conventions
✅ Good: snake_case with descriptive action words
- "button_clicked"
- "page_viewed"
- "form_submitted"
✅ Good: Include context when helpful
- "login_successful"
- "login_failed"
- "password_reset_requested"
Group Related Events Logically
Authentication Events:
- "user_login_attempted"
- "user_login_successful"
- "user_logout"
- "password_reset_requested"
E-commerce Events:
- "product_viewed"
- "item_added_to_cart"
- "checkout_initiated"
- "purchase_completed"
Common Event Type Categories
User Authentication & Management
user_registrationuser_loginuser_logoutpassword_changedaccount_deleted
User Interface Interactions
button_clickedform_submittedmenu_openedsearch_performedfilter_applied
Content & Navigation
page_viewedarticle_readvideo_watcheddownload_startedexternal_link_clicked
E-commerce & Transactions
product_vieweditem_added_to_cartcheckout_initiatedpayment_processedorder_shipped
System & Error Events
error_occurredapi_request_failedtimeout_exceededfeature_unavailablesystem_maintenance
Creating Event Types
Event Types are created through the SEDL web interface:
- Navigate to your app dashboard
- Click "View Events" to see existing event types
- Click the plus-sign button to create a new event type
- Enter a descriptive name following naming conventions
- Submit to create the event type
Once created, you'll receive an Event Type ID that you'll use in your API requests to categorize events.
Event Type Strategy
Planning Your Event Types
Before creating event types, consider:
- What user actions do you want to track?
- What business metrics are important to you?
- How will you analyze the data?
- What level of detail do you need?
Evolution and Maintenance
- Start simple with core event types
- Add new types as your tracking needs grow
- Keep naming consistent across your team
- Document your event types for team reference
Next Steps
Ready to work with event types? Check out:
- Quick Start Guide - Create your first event types
- Events - Learn about individual events
- API Reference - Send events with type IDs