Overview
Event categories help you organize different types of events in your application. Each category has a unique name, color, and optional emoji, making it easy to identify and filter events in your dashboard.Category Structure
Every event category consists of:Unique identifier for the category (lowercase). Must be unique per user.
Hex color code stored as integer. Displayed in notifications and dashboard.
Single emoji character to represent the category visually.
Links category to your account. Categories are user-specific.
Creating Categories
You can create event categories through the dashboard or programmatically.Via Dashboard
- Navigate to your dashboard
- Click “Create Category”
- Enter category details:
- Name: Lowercase, alphanumeric with hyphens
- Color: Hex format
#RRGGBB - Emoji: Optional single emoji
- Click “Create”
Validation Rules
Category names must pass validation:- Lowercase letters, numbers, hyphens only
- No spaces or special characters
- Must be unique for your account
- Format:
#RRGGBB(case-insensitive) - Example:
#ff6b6b,#6c5ce7,#ffeb3b - Regex:
/^#[0-9A-F]{6}$/i
Quick Start Categories
PingPilot includes three pre-configured categories for quick setup:Using Categories
Once created, reference categories by name when sending events:The category name in your API request must exactly match an existing category. The API will return a 404 error if the category doesn’t exist.
Category Dashboard
The main dashboard displays all your categories with real-time statistics:Category Cards
Each category card shows:- Color Badge: Circle with category color
- Name & Emoji: Category identifier
- Created Date: When category was created
- Last Ping: Time since last event (e.g., “2 minutes ago”)
- Unique Fields: Number of distinct field names used this month
- Events This Month: Total events received in current calendar month
Statistics Calculation
Statistics are calculated for the current month:Unique Fields Tracking
PingPilot tracks how many different field names you’ve used:Managing Categories
Viewing Categories
Categories are listed in the dashboard, sorted by most recently updated:Deleting Categories
To delete a category:- Click the delete icon (trash can) on the category card
- Confirm deletion in the modal dialog
- Category and its association with events are removed
Updating Categories
Category updates are reflected in theupdatedAt timestamp. Changes include:
- Modifying color or emoji
- Any field updates
Category Analytics
Click “View all” on any category card to see detailed analytics:Time-Based Filtering
View events by time range:- Today: Events from start of current day
- This Week: Events from start of current week (Sunday)
- This Month: Events from start of current month
Event List
Paginated table showing:- Category name
- Creation date/time
- All custom fields as columns
- Delivery status (color-coded badge)
- Configurable page size (max 50 per page)
- Page number in URL query params
- Previous/Next navigation
Numeric Field Summations
For fields with numeric values, PingPilot automatically calculates totals:- Today: Sum of numeric fields from today
- This Week: Sum from start of week
- This Month: Sum from start of month
Best Practices
Use Semantic Names
Use Semantic Names
Choose names that clearly describe the event type:
user-signup, payment-failed, api-error.Color Code by Severity
Color Code by Severity
Use consistent colors for severity levels:
- Red for errors/failures
- Yellow for warnings
- Green for success
- Blue for informational
Add Meaningful Emojis
Add Meaningful Emojis
Emojis make categories instantly recognizable in notifications:
- 🐛 for bugs
- 💰 for sales
- 🚨 for critical alerts
- ✅ for successful operations
Keep Categories Focused
Keep Categories Focused
Create specific categories rather than generic ones. “payment-failed” is better than “error”.
Monitor Category Statistics
Monitor Category Statistics
Regularly review event counts and unique fields to understand usage patterns.
Limitations
- Category names must be unique per user
- Names cannot be changed after creation
- Categories cannot be merged or split
- Deleting a category doesn’t delete associated events
- Maximum 50 events per page in analytics view
Next Steps
Event Monitoring
Start sending events to your categories
Analytics Dashboard
Explore detailed event analytics