Skip to main content
PetExec → PostHogIntegration guide

Connecting PetExec to PostHog

PetExec manages occupancy for boarding facilities where capacity is measured in runs and kennels, and holiday periods sell out months in advance while shoulder seasons sit empty. 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 PetExec booking 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

PetExec to PostHog: find where new owners stop before booking

PostHog shows where prospective clients give up on your own site, but its funnel ends at the PetExec portal click. Identify visitors by email when they submit a new-client form, then send each completed stay server-side with that same distinct_id and the PetExec reservation ID as event UUID, with stay type, nights and peak or shoulder period.

PostHog answers a different question from the ad platforms: where on your own site prospective clients give up. For a boarding facility the likely culprits are the vaccination requirements page, the evaluation-day rules for daycare and the price table, and PostHog's funnels and session replay on your site can show which one. It cannot follow anyone into the PetExec portal, so the funnel ends at the click into it.

To connect the site funnel to real bookings, the distinct_id has to be the same on both sides. Identify visitors on your site with a key you will also have in PetExec, the owner's email being the practical choice, when they submit a new-client form. Then send a completed stay server-side to the capture API with that same distinct_id and the PetExec reservation ID as the event UUID, so a retried sync does not record the stay twice. Without the identify call the server event lands on a separate person and the funnel never closes.

Keep the event properties useful for this business: stay type, nights, and whether the dates fall in a peak or shoulder period. That lets you see whether a site change raised shoulder-season bookings or simply coincided with the run-up to the holidays.

PetExec → PostHog · what breaks

Why this join usually fails — PetExec → PostHog

  1. 01

    The distinct_id never reaches PetExec

    The booking portal is hosted and holiday bookings are made months ahead.

  2. 02

    Advertising into periods that were always going to sell out

    Spending against Christmas boarding at a facility that fills every year buys bookings you would have had. The report should show occupancy by period so spend goes where there is actually inventory.

  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.

PetExec → PostHog · the fix

What working looks like — PetExec → PostHog

  • The distinct_id on every booking

  • Conversions arriving in PostHog

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

  • Reconciled against the source

PetExec → PostHog · architecture

How PetExec and PostHog actually connect

  1. 1

    PetExec holds the truth

    Christmas and summer sell out without advertising. The addressable demand is the shoulder season, and a campaign judged on total bookings will look best exactly when it did least.

  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 PetExec booking.

  4. 4

    The event source decides reliability

    Send completed stays at total value, with the booking period recorded so peak and shoulder can be separated.

  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.

PetExec → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

  • Sent from the PetExec booking 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

    The booking portal is hosted and holiday bookings are made months ahead.

  • Sent from the browser

    Spending against Christmas boarding at a facility that fills every year buys bookings you would have had. The report should show occupancy by period so spend goes where there is actually inventory.

  • 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

PetExec → PostHog · diagnose

Diagnostic order — PetExec → PostHog

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Report occupancy by period against advertising spend

    It usually shows budget concentrated exactly where it was least needed.

  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.

PetExec → PostHog · prove

How it gets proven — PetExec → PostHog

Source of truth

PetExec bookings by stay date, at total stay value with occupancy recorded.

  • The distinct_id confirmed present on a live booking.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Completed stays reconciled at total value against imported conversions, with occupancy by period stated.

PetExec → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Report occupancy by period against advertising spend
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

PetExec bookings by stay date, at total stay value with occupancy recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

PetExec → PostHog · when not to buy

When you don't need this — PetExec → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • Facilities with flat year-round demand do not have the peak problem.
  • 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.

PetExec → PostHog · what we deliver

What gets built — PetExec → PostHog

  • Identifier capture into PetExec

    Capture at booking and store against the client through a long lead time.

  • Event source: the PetExec booking record

    Send completed stays at total value, with the booking period recorded so peak and shoulder can be separated.

  • 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

    Cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against PetExec bookings by stay date, at total stay value with occupancy recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

PetExec → PostHog questions, answered

No. The portal is hosted by PetExec, so PostHog on your site sees the click into it and nothing after. Completed stays have to be sent server-side.

Free · 30 min

Get PetExec and PostHog joined properly

Free30 minutesNo obligation