Skip to main content
Filevine → PostHogIntegration guide

Connecting Filevine to PostHog

Filevine is built for contingency-fee litigation, where the firm is paid a share of a settlement that may arrive years later or never. 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 Filevine case 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

Filevine signings in PostHog: close the intake funnel, mask the form

Identify the visitor at form submission with a distinct_id equal to your intake lead ID, write it onto the Filevine intake record, and send the signing server-side with an event UUID derived from the Filevine project ID. Mask every intake input in session replay and verify free text is not captured. Keep fees in a separate settled event.

PostHog suits firms that treat their intake site as a product, with multi-step questionnaires, chat and callback scheduling. Identify the visitor at form submission with a distinct_id equal to your intake lead ID, write the same ID onto the Filevine intake record, and send the signing later from the server against that distinct_id. That closes the funnel from first page to retainer.

Session replay is the hazard. PostHog can record intake sessions, and those forms ask for injury descriptions, treatment and insurer. Mask every input on intake pages and confirm on a real recording that free-text answers are not captured, since masking options differ between versions. Self-hosted PostHog at least keeps that data on your infrastructure; PostHog Cloud does not.

Derive the event UUID deterministically from the Filevine project ID so a re-fired signing is ignored rather than counted twice. If you record fees at all, send them on a separate settled event and keep them out of funnel conversion rates, because a step that completes years after the first one makes the funnel meaningless.

Filevine → PostHog · what breaks

Why this join usually fails — Filevine → PostHog

  1. 01

    The distinct_id never reaches Filevine

    Personal injury cases resolve in one to three years, far beyond any attribution window that exists.

  2. 02

    Case value that will not be known for years

    Assigning an average fee to a signed case is defensible only if the average comes from your own resolved history and is stated as an average. Anything else is a number invented to make a dashboard work.

  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.

Filevine → PostHog · the fix

What working looks like — Filevine → PostHog

  • The distinct_id on every case

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Filevine → PostHog · architecture

How Filevine and PostHog actually connect

  1. 1

    Filevine holds the truth

    Contingency work means no fee until resolution. A signed case is an asset with a probability attached, and the honest reporting says so rather than assigning it a value.

  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 Filevine case.

  4. 4

    The event source decides reliability

    Send signed cases as the acquisition event at a historical average fee, and settled fees separately as they land. No injury or medical detail.

  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.

Filevine → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the case

  • Sent from the Filevine case record

  • 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

    Personal injury cases resolve in one to three years, far beyond any attribution window that exists.

  • Sent from the browser

    Assigning an average fee to a signed case is defensible only if the average comes from your own resolved history and is stated as an average. Anything else is a number invented to make a dashboard work.

  • 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

Filevine → PostHog · diagnose

Diagnostic order — Filevine → PostHog

  1. 01

    Count cases carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Calculate average realised fee per signed case from your own history

    Include the cases that produced nothing. Excluding them is the most common way this figure gets inflated.

  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.

Filevine → PostHog · prove

How it gets proven — Filevine → PostHog

Source of truth

Filevine cases signed, with fee income recorded at settlement.

  • The distinct_id confirmed present on a live case.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Signed cases reconciled against imported conversions, with settled fees reported separately as they resolve.

Filevine → PostHog · free audit

What we check in the free audit

  • Count cases carrying the distinct_id
  • Follow one real conversion end to end
  • Calculate average realised fee per signed case from your own history
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Filevine cases signed, with fee income recorded at settlement.

Get my free conversion tracking audit

Free30 minutesNo obligation

Filevine → PostHog · when not to buy

When you don't need this — Filevine → PostHog

  • Measure identifier coverage yourself first — pull your last hundred cases and count how many carry the distinct_id.
  • If your firm has no resolved case history yet, report signed case counts only. Understating honestly beats a confident invention.
  • 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.

Filevine → PostHog · what we deliver

What gets built — Filevine → PostHog

  • Identifier capture into Filevine

    Store the identifier on the case at signing and upload the fee whenever settlement happens, however long that takes.

  • Event source: the Filevine case record

    Send signed cases as the acquisition event at a historical average fee, and settled fees separately as they land. No injury or medical detail.

  • 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

    Dropped and lost cases reverse.

Written guarantee

95%+ tracking accuracy

Measured against Filevine cases signed, with fee income recorded at settlement.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Filevine → PostHog questions, answered

Yes, if the distinct_id set at form submission is stored on the Filevine record and the signing is sent back against it from the server.

Free · 30 min

Get Filevine and PostHog joined properly

Free30 minutesNo obligation