Skip to main content
Freshdesk → PostHogIntegration guide

Connecting Freshdesk to PostHog

Freshdesk is support ticketing, so almost nothing in it is a conversion — and its real value to advertising is telling you which acquisition sources produce customers who immediately need help. 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 Freshdesk 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

Freshdesk tickets in PostHog: what users did before asking for help

In PostHog a Freshdesk ticket is a timeline event. Store your PostHog identify user ID on the Freshdesk contact, and have a ticket-creation webhook capture a 'ticket created' event to that distinct_id with category and priority, deriving the event UUID from the ticket ID. Break ticket cohorts down by first-touch UTM, and keep the event out of ad-platform destinations.

PostHog is the one destination here where a Freshdesk ticket belongs as an event: not a conversion, but a marker on the user's timeline. Seeing the five screens someone used before filing 'export is broken' answers a support question and a product question at once.

Store your user ID, the same one you pass to PostHog's identify, on the Freshdesk contact when a logged-in user opens the help widget. When a ticket is created, a Freshdesk automation webhook can call a handler that captures a 'ticket created' event to that distinct_id with category and priority as properties, never the ticket body. Derive the event UUID from the Freshdesk ticket ID so a retried webhook does not duplicate. You can then build a cohort of users who filed a ticket within a week of signup and break it down by the first-touch UTM properties PostHog recorded.

That breakdown is the advertising use: if one campaign's signups file tickets at twice the rate of another's, its cost per customer is understated. Exclude the ticket event from any action or destination that forwards events on to ad platforms. Self-hosted PostHog keeps ticket metadata on your own infrastructure, which matters if tickets touch regulated data.

Freshdesk → PostHog · what breaks

Why this join usually fails — Freshdesk → PostHog

  1. 01

    The distinct_id never reaches Freshdesk

    Most tickets arrive by email with no session, and the customer already existed before the ticket did.

  2. 02

    Ticket creation wired up as a conversion

    It produces impressive conversion counts and steers spend toward the audiences most likely to need support. The number goes 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.

Freshdesk → PostHog · the fix

What working looks like — Freshdesk → 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

Freshdesk → PostHog · architecture

How Freshdesk and PostHog actually connect

  1. 1

    Freshdesk holds the truth

    The useful direction is the reverse of what people build: ticket volume per acquisition source is a quality signal, and a channel producing cheap customers who each file three tickets is not cheap.

  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 Freshdesk ticket.

  4. 4

    The event source decides reliability

    Send revenue events. Use tickets-per-customer by source as a quality measure in the report.

  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.

Freshdesk → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the ticket

  • Sent from your order or CRM system, informed by Freshdesk

  • 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

    Most tickets arrive by email with no session, and the customer already existed before the ticket did.

  • Sent from the browser

    It produces impressive conversion counts and steers spend toward the audiences most likely to need support. The number goes 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

Freshdesk → PostHog · diagnose

Diagnostic order — Freshdesk → 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

    The correct count is zero. If it is not zero, that is the finding.

  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.

Freshdesk → PostHog · prove

How it gets proven — Freshdesk → PostHog

Source of truth

Your order or CRM system. Freshdesk describes those customers; it does not create them.

  • 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.

Freshdesk → 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 order or CRM system. Freshdesk describes those customers; it does not create them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Freshdesk → PostHog · when not to buy

When you don't need this — Freshdesk → PostHog

  • Measure identifier coverage yourself first — pull your last hundred tickets and count how many carry the distinct_id.
  • For pure support use, no integration — and a note in the docs 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.

Freshdesk → PostHog · what we deliver

What gets built — Freshdesk → PostHog

  • Identifier capture into Freshdesk

    Join on the customer record. Do not attempt to attribute a ticket to a click.

  • Event source: your order or CRM system, informed by Freshdesk

    Send revenue events. Use tickets-per-customer by source as a quality measure in the report.

  • 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 order or CRM system. Freshdesk describes those customers; it does not create them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Freshdesk → PostHog questions, answered

Trigger a webhook from a Freshdesk automation rule on ticket creation and capture an event to the user's distinct_id with category and priority. Keep the ticket text out.

Free · 30 min

Get Freshdesk and PostHog joined properly

Free30 minutesNo obligation