Alerts
Alerts notify you by email when key metrics change significantly. Instead of checking your dashboard daily, set up rules and let TraceLog tell you when something needs attention.
Available Metrics
You can create alert rules for:
- Sessions -- total session count
- Bounce Rate -- percentage of single-page sessions
- Engagement Rate -- percentage of engaged sessions
- Average Duration -- mean session duration
- Page Views -- total page view count
Condition Types
Each alert rule uses one of three condition types:
| Condition | Description | Example |
|---|---|---|
drops_below | Alert when the metric falls below a threshold | Sessions drops below 100 |
rises_above | Alert when the metric exceeds a threshold | Bounce rate rises above 70% |
changes_by_percent | Alert on percentage change vs. a reference period | Sessions change by more than 25% |
Comparison Periods
For changes_by_percent conditions, TraceLog compares the current value against a reference period:
- 7 days -- compare to the same metric one week ago
- 14 days -- compare to two weeks ago
- 30 days -- compare to one month ago
Setting Up an Alert
- Go to Project Settings > Alert Rules
- Click Create Rule
- Select a metric
- Choose a condition type and set the threshold
- Configure email recipients
- Save the rule
Test Alerts
After creating a rule, use the Test button to send a test email. This verifies that recipients are correctly configured and emails are being delivered.
tip
Start with a "sessions drops below" alert to catch traffic drops early. This is the single most useful alert for most sites -- it catches broken tracking, SEO penalties, and outages before they become extended problems.