Skip to main content
Zendesk → PostHogIntegration guide

Connecting Zendesk to PostHog

Zendesk is support software. Almost nothing in it is a conversion, and the value of connecting it to advertising is mostly in what it lets you exclude. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Zendesk ticket before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Zendesk tickets as PostHog events: what users did first

Store your app's identify user ID on the Zendesk user's external ID, then send ticket created server-side to PostHog with that distinct_id and category and channel properties, never ticket text. Skip email requesters who never logged in. Build signup-to-ticket funnels and first-week support cohorts, and check for a PostHog Zendesk source first.

Of all the destinations in this group, product analytics is where a ticket event genuinely belongs. Sending ticket created to PostHog under the user's distinct_id lets you ask what that person did in the product just before contacting support: which feature they tried, which error they hit, which step of onboarding they abandoned. That is a question neither Zendesk nor an ad platform can answer.

The join needs the same identifier in both systems. If your app calls identify with a user ID, store that ID on the Zendesk user's external ID when an identified user opens a ticket, and send the event server-side with it as distinct_id. Email tickets from people who never logged in will not join; send nothing for them rather than creating anonymous persons. Pass the ticket category and channel as properties, never the ticket text.

Once tickets are events, build a funnel of signup to key action to ticket and a cohort of users who contacted support in their first week, and compare retention against everyone else. If you also store the acquisition source as a person property, you can see which campaigns bring users who struggle. Check whether PostHog's data pipeline or app list includes a Zendesk source before writing a custom sync.

Zendesk → PostHog · what breaks

Why this join usually fails — Zendesk → PostHog

  1. 01

    The distinct_id never reaches Zendesk

    The Web Widget is a third-party frame, and most tickets arrive by email with no browser session behind them at all.

  2. 02

    Ticket creation wired up as a conversion action

    It produces enormous conversion counts, delights whoever set it up, and steers budget toward the audiences most likely to need support. The counts go up and the business gets worse.

  3. 03

    Self-hosting the analytics and the outage together

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  4. 04

    Nothing reconciles afterwards

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Zendesk → PostHog · the fix

What working looks like — Zendesk → PostHog

  • The distinct_id on every ticket

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

Zendesk → PostHog · architecture

How Zendesk and PostHog actually connect

  1. 1

    Zendesk holds the truth

    The genuinely useful direction is the reverse of what people attempt: use ticket data to suppress audiences and to flag which acquisition sources produce customers who immediately need help.

  2. 2

    PostHog needs a click to match

    PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Zendesk ticket.

  4. 4

    The event source decides reliability

    Send closed-won deals. Use ticket volume per acquisition source as a quality measure, which is a real and underused signal.

  5. 5

    Deduplication at the destination

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

Zendesk → PostHog · normal or broken

Working vs. broken, side by side — Zendesk → PostHog

Normal, not a fault

  • The distinct_id present on the ticket

  • Sent from your CRM, informed by Zendesk

  • Deduplicated correctly

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

  • Reconciles with the source

Actually broken

  • The distinct_id missing on most records

    The Web Widget is a third-party frame, and most tickets arrive by email with no browser session behind them at all.

  • Sent from the browser

    It produces enormous conversion counts, delights whoever set it up, and steers budget toward the audiences most likely to need support. The counts go up and the business gets worse.

  • Counted twice, or not at all

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  • Nobody has reconciled it

Zendesk → PostHog · diagnose

Diagnostic order — Zendesk → PostHog

  1. 01

    Count tickets carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether any ticket event reaches an ad platform

    If it does, that is the finding. There is essentially no case where ticket creation should be an optimization target.

  4. 04

    Check ingestion health and disk before debugging any missing event

    On self-hosted instances the answer is infrastructure far more often than it is instrumentation.

  5. 05

    Read the match rate, not the success message

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Zendesk → PostHog · prove

How it gets proven — Zendesk → PostHog

Source of truth

Your CRM or order system. Zendesk supplies context about those records, not the records themselves.

  • The distinct_id confirmed present on a live ticket.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Revenue events reconciled against imported conversions, with all ticket events absent.

Zendesk → PostHog · free audit

What we check in the free audit

  • Count tickets carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether any ticket event reaches an ad platform
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Your CRM or order system. Zendesk supplies context about those records, not the records themselves.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zendesk → PostHog · when not to buy

When you don't need this — Zendesk → PostHog

  • Measure identifier coverage yourself first — pull your last hundred tickets and count how many carry the distinct_id.
  • For pure support use, the right answer is no integration and a note in the documentation explaining why, so nobody builds one next quarter.
  • If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.

Zendesk → PostHog · what we deliver

What gets built — Zendesk → PostHog

  • Identifier capture into Zendesk

    Where a pre-sales ticket does originate from a chat on your site, pass the identifier as a ticket field at creation. Expect this to apply to a small minority of tickets.

  • Event source: your CRM, informed by Zendesk

    Send closed-won deals. Use ticket volume per acquisition source as a quality measure, which is a real and underused signal.

  • Dispatch to PostHog

    The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.

  • Reversals where they exist

    Not applicable to tickets.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM or order system. Zendesk supplies context about those records, not the records themselves.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zendesk → PostHog questions, answered

Yes, as events under the user's distinct_id. It shows what users did in the product before contacting support.

Free · 30 min

Get Zendesk and PostHog joined properly

Free30 minutesNo obligation