Webhook Automation: Get Notified When Events Happen
Connect TrackFox to Discord, Telegram, Slack and more. Get real-time notifications for conversions, signups, and custom events. Automate your workflow.
Webhook Automation: Your Analytics, Everywhere You Need It
A customer just signed up.
With traditional analytics, you check the dashboard tomorrow.
With TrackFox webhooks, you get a Discord message instantly.
What Are Analytics Webhooks?
Webhooks send data from TrackFox to other tools when events happen:
Event (signup) → TrackFox → Webhook → Discord/Telegram/Slack/Your App
Use cases:
- Get notified of new signups
- Celebrate conversions with your team
- Trigger workflows in other tools
- Build custom dashboards
- Sync data to your CRM
Built-In Integrations
Discord Notifications
Get messages in your Discord server:
New Conversion!
------------------------
Event: purchase_completed
Plan: Pro ($99/mo)
Source: Google / organic
Campaign: spring-launch
Setup:
- Dashboard → Integrations → Discord
- Add webhook URL from Discord
- Choose events to notify
- Done
Telegram Notifications
Get messages on Telegram:
TrackFox Alert
New signup: user@example.com
Source: Product Hunt
Time: 2026-01-25 14:32 UTC
Setup:
- Dashboard → Integrations → Telegram
- Connect your Telegram bot
- Choose events to notify
- Done
Custom Webhooks
Send data to any endpoint:
POST https://your-app.com/webhook
{
"event": "purchase_completed",
"timestamp": "2026-01-25T14:32:00Z",
"data": {
"plan": "pro",
"amount": 99,
"currency": "usd",
"source": "google",
"medium": "organic",
"campaign": "spring-launch"
}
}
Connect to any tool with a webhook endpoint.
Events You Can Track
Conversion Events
- signup_completed - New user registered
- purchase_completed - Payment received
- upgrade - User upgraded plan
- subscription_renewed - Recurring payment
Traffic Events
- visitor_milestone - Hit 1k, 10k, 100k visitors
- traffic_spike - Unusual traffic increase
- new_referrer - Traffic from new source
Custom Events
Any event you track:
// Track in your app
window?.trackfox("demo_booked", {
source: "pricing_page",
company: "Acme Corp",
});
Then notify via webhook:
New Demo Booked!
Company: Acme Corp
Source: Pricing page
Automation Examples
Sales Team Alerts
Notify sales when high-intent actions occur:
Event: demo_requested
Webhook to: Slack #sales channel
New Demo Request
------------------------
Company: Enterprise Corp
Email: buyer@enterprise.com
Source: LinkedIn Ads
Viewed: Pricing page, Enterprise features
Sales can follow up immediately.
Celebration Bot
Share wins with the team:
Event: purchase_completed
Webhook to: Discord #wins channel
New Customer!
------------------------
Plan: Pro ($99/mo)
MRR Impact: +$99
Total MRR: $12,456
Conversion Path: Blog → Pricing → Signup → Paid
Celebrate every conversion.
CRM Integration
Sync conversions to your CRM:
Event: signup_completed
Webhook to: HubSpot/Salesforce/Pipedrive
{
"event": "new_lead",
"email": "user@example.com",
"source": "google",
"campaign": "spring-launch",
"first_page": "/blog/analytics-guide"
}
Leads automatically added with source data.
Anomaly Alerts
Get notified of problems:
Event: conversion_rate_drop
Webhook to: Telegram
Alert: Conversion rate dropped
Current: 0.5%
Normal: 2.1%
Time period: Last 2 hours
Possible cause: Checkout page changes
Action needed: Check checkout flow
Catch issues before they cost you money.
Setting Up Webhooks
Step 1: Create Webhook
Dashboard → Integrations → Webhooks → Create New
Step 2: Configure Trigger
Choose what triggers the webhook:
- Specific event (e.g.,
purchase_completed) - Event category (e.g., all conversions)
- Conditions (e.g., revenue > $100)
Step 3: Set Destination
Where to send the data:
- Discord webhook URL
- Telegram bot
- Custom URL
- Multiple destinations
Step 4: Customize Payload
Choose what data to include:
{
"event": "{{event_name}}",
"timestamp": "{{timestamp}}",
"revenue": "{{event_data.amount}}",
"source": "{{attribution.source}}",
"campaign": "{{attribution.campaign}}"
}
Use variables to build custom payloads.
Webhook Payload Reference
Standard Payload
{
"id": "evt_abc123",
"event": "purchase_completed",
"timestamp": "2026-01-25T14:32:00Z",
"website_id": "web_xyz789",
"session_id": "ses_def456",
"data": {
"plan": "pro",
"amount": 99,
"currency": "usd"
},
"attribution": {
"source": "google",
"medium": "organic",
"campaign": "spring-launch",
"landing_page": "/blog/analytics-guide"
},
"visitor": {
"country": "US",
"device": "desktop",
"browser": "chrome"
}
}
Available Variables
| Variable | Description |
|---|---|
{{event_name}} |
Name of the event |
{{timestamp}} |
When event occurred |
{{event_data.*}} |
Custom event properties |
{{attribution.source}} |
Traffic source |
{{attribution.medium}} |
Traffic medium |
{{attribution.campaign}} |
Campaign name |
{{visitor.country}} |
Visitor country |
{{visitor.device}} |
Device type |
Advanced Automation
Conditional Webhooks
Only trigger on specific conditions:
- Revenue > $100
- Source = "google"
- Plan = "enterprise"
- Country = "US"
Combine conditions with AND/OR logic.
Webhook Chains
Trigger multiple webhooks from one event:
purchase_completed
├── Discord: #wins channel
├── Telegram: Founder notification
├── CRM: Add customer record
└── Accounting: Log transaction
Retry Logic
TrackFox handles delivery:
- Automatic retry on failure
- Exponential backoff
- Delivery confirmation
- Failed webhook alerts
Use Cases by Team
Marketing
- New lead notifications
- Campaign milestone alerts
- Traffic source changes
- Content performance updates
Sales
- Demo request alerts
- High-intent visitor notifications
- Enterprise inquiry alerts
- Lead scoring updates
Product
- Feature usage milestones
- Onboarding completion
- Activation events
- Churn risk alerts
Engineering
- Error rate spikes
- Performance degradation
- Checkout failures
- API usage alerts
Pricing
Webhook automation included in all plans:
- Unlimited webhooks
- Unlimited destinations
- Discord + Telegram built-in
- Custom webhook endpoints
- Retry logic included
$9/month for 10k events. All features included.
Get Started With Webhooks
Connect your analytics to your workflow.
Get your first webhook notification in minutes.
Last updated: January 2026
Related Articles
Campaign Tracking: Measure Every Marketing Campaign
Track marketing campaigns from click to conversion. UTM tracking, campaign attribution, and ROI measurement all in one place.
Conversion Tracking: From First Visit to Payment
Track every step of your conversion funnel. See where visitors drop off and which paths lead to paying customers. Real conversion data, not estimates.
Funnel Analytics: Visualize and Optimize Your Conversion Path
Build visual conversion funnels to see where visitors drop off. Identify bottlenecks, optimize each step, and increase your conversion rates.
Try TrackFox free for 14 days
No credit card required. Cancel anytime. All features included.