Email Alerts
Receive instant notifications when LENS detects anomalies or important changes in your data.
Alert Types
Anomaly Alerts
Triggered when detection rules fire:
🔴 CRITICAL: Conversion Rate Drop Detected
Your conversion rate dropped 35% in the last 4 hours.
Current: 1.2% (was 1.85%)
Change: -35.1%
Detected: 2024-01-15 14:32 UTC
Affected segments:
• Mobile traffic: -42%
• Google Ads: -28%
[View in Dashboard] [Investigate] [Dismiss]
Threshold Alerts
Triggered when metrics cross defined thresholds:
⚠️ WARNING: Daily Revenue Below Target
Today's revenue is tracking 30% below your daily target.
Target: €5,000
Current: €3,450 (as of 6 PM)
Gap: €1,550
Projected end-of-day: €4,200
[View Details]
System Alerts
Triggered by technical issues:
🔧 SYSTEM: Tracking Issues Detected
We've detected potential tracking issues:
• Pixel errors increased 500% in the last hour
• 12% of sessions have missing page data
• JavaScript errors on /checkout page
[Investigate] [View Technical Details]
Configuring Alerts
Global Alert Settings
- Go to Settings → Notifications
- Configure email preferences:
Email Alerts
────────────────────────────────
Primary email: you@company.com
Additional emails: + Add email
Alert frequency:
● Real-time (as detected)
○ Hourly digest
○ Daily digest
Severity filter:
☑ Critical
☑ High
☑ Medium
☐ Low (informational)
Quiet hours:
☑ Enable quiet hours
From: 10:00 PM To: 7:00 AM
Timezone: Europe/Madrid
During quiet hours:
○ Hold all alerts
● Hold non-critical only
Per-Rule Alert Settings
Customize alerts for specific rules:
- Go to LENS → Rules
- Click on a rule
- Scroll to Alert Settings
Rule: conversion_rate_drop
Alert when triggered:
☑ Send email alert
☑ Send Slack notification
☐ Send webhook
Recipients:
+ marketing@company.com
+ alerts@company.com
Custom message:
"Conversion rate dropped - please investigate immediately"
Escalation:
☑ Escalate if not acknowledged in 2 hours
Escalate to: manager@company.com
Alert Email Format
Standard Format
From: LENS <alerts@sealmetrics.com>
Subject: 🔴 [Critical] Conversion Rate Drop - My Store
────────────────────────────────────────
ANOMALY DETECTED
Rule: conversion_rate_drop
Severity: Critical
Account: My Store
────────────────────────────────────────
DETAILS
Metric: Conversion Rate
Current Value: 1.2%
Baseline: 1.85%
Change: -35.1%
Time Detected: January 15, 2024 at 2:32 PM UTC
Comparison Period: Previous 7 days
────────────────────────────────────────
BREAKDOWN
By Device:
• Mobile: 0.8% (was 1.4%) ↓ 43%
• Desktop: 1.5% (was 1.9%) ↓ 21%
By Source:
• Google Ads: 1.0% (was 1.6%) ↓ 38%
• Organic: 1.3% (was 1.7%) ↓ 24%
────────────────────────────────────────
SUGGESTED ACTIONS
1. Check for recent website changes
2. Verify checkout flow is working
3. Review landing page performance
────────────────────────────────────────
[View in Dashboard] [Investigate] [Dismiss]
────────────────────────────────────────
You received this alert because you're subscribed
to LENS alerts for My Store.
Manage preferences: https://app.sealmetrics.com/settings/notifications
Digest Format
When using hourly or daily digest:
Subject: LENS Daily Digest - 3 anomalies detected
────────────────────────────────────────
LENS DAILY DIGEST
January 15, 2024
────────────────────────────────────────
SUMMARY
Total anomalies: 3
• Critical: 1
• High: 1
• Medium: 1
────────────────────────────────────────
🔴 CRITICAL
Conversion Rate Drop
Detected at 2:32 PM
Change: -35%
Status: Unacknowledged
[View Details]
────────────────────────────────────────
🟡 HIGH
Traffic Spike - Direct
Detected at 4:15 PM
Change: +120%
Status: Acknowledged
[View Details]
────────────────────────────────────────
🔵 MEDIUM
New Traffic Source Detected
Detected at 11:00 AM
Source: tiktok.com
Status: Acknowledged
[View Details]
────────────────────────────────────────
[View All in Dashboard]
Managing Alert Fatigue
Smart Grouping
LENS automatically groups related alerts:
🟡 Multiple Related Anomalies Detected
LENS detected 4 related anomalies that may have
a common cause:
1. Conversion rate dropped 25%
2. Add-to-cart rate dropped 20%
3. Mobile traffic dropped 30%
4. Page load time increased 40%
Likely cause: Performance degradation affecting
mobile users.
[Investigate Together]
Alert Cooldown
Prevent repeated alerts for the same issue:
- Default cooldown: 4 hours
- After an alert fires, same rule won't fire again for 4 hours
- Cooldown resets when metric returns to normal
Configure per rule in LENS → Rules → [Rule] → Cooldown Period.
Severity-Based Filtering
Only receive alerts above certain severity:
Receive alerts for:
☑ Critical - Immediate attention required
☑ High - Review within hours
☐ Medium - Review when convenient
☐ Low - Informational only
Time-Based Rules
Different behavior during different times:
Business Hours (9 AM - 6 PM):
• Real-time alerts for all severities
Outside Business Hours:
• Real-time for Critical only
• Digest for High/Medium next morning
Alert Actions
From Email
Each alert email includes action buttons:
| Action | Description |
|---|---|
| View in Dashboard | Open LENS in browser |
| Investigate | Start guided investigation |
| Acknowledge | Mark as seen, stop escalation |
| Dismiss | Mark as false positive |
| Snooze | Pause alerts for this rule temporarily |
Quick Actions via Reply
Some actions available by replying:
- Reply "ACK" to acknowledge
- Reply "DISMISS" to dismiss
- Reply "SNOOZE 24H" to snooze
Slack Integration
Send alerts to Slack alongside email:
Setup
- Go to Settings → Integrations → Slack
- Click Connect to Slack
- Select workspace and channel
- Authorize Sealmetrics
Slack Alert Format
┌─────────────────────────────────────────────┐
│ 🔴 Conversion Rate Drop Detected │
├─────────────────────────────────────────────┤
│ │
│ Your conversion rate dropped 35% │
│ │
│ Current: 1.2% │
│ Baseline: 1.85% │
│ Detected: 2:32 PM UTC │
│ │
│ [Investigate] [Acknowledge] [Dismiss] │
│ │
└─────────────────────────────────────────────┘
Webhook Alerts
Receive alerts via webhook for custom integrations:
Configuration
- Go to Settings → Integrations → Webhooks
- Click Add Webhook
- Enter URL and secret
Webhook Payload
{
"event": "anomaly.detected",
"timestamp": "2024-01-15T14:32:00Z",
"anomaly": {
"id": "anom_abc123",
"rule_id": "conversion_rate_drop",
"severity": "critical",
"account_id": "acc_xyz789",
"metric": {
"name": "conversion_rate",
"current_value": 0.012,
"baseline_value": 0.0185,
"change_percentage": -35.1
},
"segments": {
"device": {"mobile": -42, "desktop": -21},
"source": {"google_ads": -38, "organic": -24}
}
},
"links": {
"dashboard": "https://app.sealmetrics.com/lens/anomaly/anom_abc123",
"investigate": "https://app.sealmetrics.com/lens/investigate/anom_abc123"
}
}
Webhook Security
Verify webhook authenticity:
import hmac
import hashlib
def verify_webhook(payload, signature, secret):
expected = hmac.new(
secret.encode(),
payload.encode(),
hashlib.sha256
).hexdigest()
return hmac.compare_digest(signature, expected)
The signature is in the X-Sealmetrics-Signature header.