Connecting Applied Epic to PostHog
Applied Epic runs insurance agencies, where the agency earns a commission on premium and the policy renews annually — so a new client is worth a stream, not a sale. 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 Applied Epic policy 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
PostHog on insurance quote funnels: mask before you record
Mask the entire quote form in PostHog before using session replay, and check autocapture doesn't collect field values. At quote submission, write PostHog's distinct_id and the quote reference to the Applied Epic client record. When the policy binds, your backend sends a bound event to that distinct_id with line category and first-year commission only.
PostHog is useful to an agency for one thing above all: seeing where people abandon a multi-step quote form. That same form asks for dates of birth, driver's license numbers, vehicle identification numbers and sometimes Social Security numbers, and PostHog session replay will record what it is not told to mask. Turn on input masking for the whole form, check several real replays, and confirm autocaptured events do not pick up field values.
The join to Applied Epic is the distinct_id. When the quote submits, keep PostHog's distinct_id with the quote reference and write it to the Epic client record. When the policy binds, your backend sends a bound event to PostHog against that distinct_id, with the line category and first-year commission as properties. The funnel from quote start to bind then runs across a gap of days without guessing.
Keep the bound event out of the person profile's searchable properties beyond what you need. Line category and commission are enough to compare channels. Premium, carrier and coverage stay in Epic. Self-hosting PostHog keeps quote-form behavior on your own infrastructure, a reasonable choice for an agency, as long as someone is responsible for the instance's uptime and disk.
Applied Epic → PostHog · what breaks
Why this join usually fails — Applied Epic → PostHog
- 01
The distinct_id never reaches Applied Epic
Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.
- 02
Premium reported instead of commission
A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.
- 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.
- 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.
Applied Epic → PostHog · the fix
What working looks like — Applied Epic → PostHog
The distinct_id on every policy
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Applied Epic → PostHog · architecture
How Applied Epic and PostHog actually connect
- 1
Applied Epic holds the truth
The agency does not earn the premium. It earns a percentage of it, annually, for as long as the policy renews — which makes both the value and its timing quite unlike a one-off sale.
- 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
The identifier is the bridge
The distinct_id, captured at the visit and carried into the Applied Epic policy.
- 4
The event source decides reliability
Send bound policies at first-year agency commission, with renewals reported as retention.
- 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.
Applied Epic → PostHog · normal or broken
Working vs. broken, side by side — Applied Epic → PostHog
Normal, not a fault
The distinct_id present on the policy
Sent from the Applied Epic policy 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
Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.
Sent from the browser
A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.
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
Applied Epic → PostHog · diagnose
Diagnostic order — Applied Epic → PostHog
- 01
Count policys carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Confirm the imported value is agency commission
The distinction is well understood inside the agency and routinely lost in the pipeline to the ad platform.
- 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.
- 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.
Applied Epic → PostHog · prove
How it gets proven — Applied Epic → PostHog
Source of truth
Policies bound, valued at agency commission on premium rather than at the premium itself.
- The distinct_id confirmed present on a live policy.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Bound policies reconciled at agency commission against imported conversions.
Applied Epic → PostHog · free audit
What we check in the free audit
- Count policys carrying the distinct_id
- Follow one real conversion end to end
- Confirm the imported value is agency commission
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Policies bound, valued at agency commission on premium rather than at the premium itself.
Free30 minutesNo obligation
Applied Epic → PostHog · when not to buy
When you don't need this — Applied Epic → PostHog
- Measure identifier coverage yourself first — pull your last hundred policys and count how many carry the distinct_id.
- If you cannot get commission into the pipeline, send a bound-policy count. A count is honest; premium is not.
- 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.
Applied Epic → PostHog · what we deliver
What gets built — Applied Epic → PostHog
Identifier capture into Applied Epic
Store the identifier on the client record at enquiry so a policy bound later resolves to it.
Event source: the Applied Epic policy record
Send bound policies at first-year agency commission, with renewals reported as retention.
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
Cancelled policies reverse pro rata.
Written guarantee
95%+ tracking accuracy
Measured against Policies bound, valued at agency commission on premium rather than at the premium itself.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Applied Epic → PostHog questions, answered
Only with input masking on every field and autocapture checked for leaked values. Review real recordings, because a single unmasked field records license or Social Security numbers.
Store the distinct_id with the quote, write it to the Epic client, and send a bound event from your backend against that distinct_id when the policy binds.
Almost always because the distinct_id never reached the Applied Epic policy. Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone. Measure coverage before debugging the dispatch.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
The Applied Epic policy record. Send bound policies at first-year agency commission, with renewals reported as retention.
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.
More on Applied Epic → PostHog
- Applied Epic → Google AdsConnecting Applied Epic to Google Ads
- Applied Epic → MetaConnecting Applied Epic to Meta Conversions API
- Applied Epic → GA4Connecting Applied Epic to GA4
RELATED GUIDES
Where Applied Epic → PostHog fits in the rest of your tracking
- EZLynx → PostHogConnecting EZLynx to PostHog
- Applied Epic → MatomoConnecting Applied Epic to Matomo
- Applied Epic → AmplitudeConnecting Applied Epic to Amplitude
- InsuranceConversion tracking for insurance, from quote request to bound policy
- EZLynx → Adobe AnalyticsConnecting EZLynx to Adobe Analytics
- EZLynx → AmplitudeConnecting EZLynx to Amplitude
- EZLynx → MixpanelConnecting EZLynx to Mixpanel
- EZLynx → MatomoConnecting EZLynx to Matomo
Free · 30 min
Get Applied Epic and PostHog joined properly
Free30 minutesNo obligation
