Skip to main content
Send CallDesk events to PostHog for product analytics, session replay context, and user behavior analysis.

What it does

  • Event tracking - Track calls, appointments, and conversions
  • User identification - Connect call data to PostHog users
  • Funnel analysis - See conversion paths from lead to customer
  • Cohort building - Segment users by call behavior

Events tracked

CallDesk sends these events to PostHog:
EventProperties
Call Receivedduration, outcome, source
Appointment Bookedservice_type, date, value
Lead Qualifiedscore, qualification_reason
Follow-up Completedtype, outcome

Setup

1

Get your PostHog project API key

Find it in PostHog → Project Settings → API Keys
2

Go to Integrations

Navigate to Settings → Integrations → Analytics
3

Select PostHog

Click “Connect PostHog”
4

Enter API key

Paste your PostHog project API key
5

Enter host URL

Use https://app.posthog.com or your self-hosted URL

User identification

CallDesk identifies users in PostHog by:
  1. Email - Primary identifier
  2. Phone - Secondary identifier
  3. Customer ID - If you pass it via forms
Users are merged when additional identifiers become known.

Use cases

Conversion funnel

Track the path from website visit to booked appointment:
  1. Page View → Form Submit → Call Received → Appointment Booked
  2. See drop-off at each stage
  3. Identify optimization opportunities

Customer segmentation

Create cohorts based on call behavior:
  • Users who booked appointments
  • Users who were qualified but didn’t book
  • High-value service inquiries

Session replay context

See what users did before calling:
  • Which pages they viewed
  • How long they spent on site
  • What led them to submit a form

Custom properties

Add business-specific data to events:
PropertyExample
service_requested”Emergency AC Repair”
appointment_value450
lead_source”Google Ads”
qualification_score85

Self-hosted PostHog

For self-hosted deployments:
  1. Use your PostHog instance URL
  2. Ensure network connectivity from CallDesk
  3. Same API key format applies

Requirements

  • PostHog account (Cloud or self-hosted)
  • Project API key
  • No additional cost from CallDesk

Troubleshooting

Check that your API key is correct and has write permissions.
Make sure email or phone is captured and passed to CallDesk.
Verify your PostHog instance is accessible from external services.

Connect PostHog

Set up the integration now