Skip to main content
andcards → PostHogIntegration guide

Connecting andcards to PostHog

andcards is mobile-first, which means members book rooms and open doors from an app where no browser session and no cookie exist at all. 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 andcards membership 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

andcards to PostHog: one person from web signup to member app

Alias the anonymous web visitor to the andcards member ID at signup, then send app bookings and check-ins server-side on that member ID, using the andcards record ID as event UUID and original timestamps for batches. Send membership start and cancellation from billing, and consider one daily check-in event instead of every door unlock.

PostHog is where andcards app activity is useful rather than harmful. Ad platforms must never see bookings and check-ins, but in product analytics they answer real operator questions: which members actually use meeting rooms, how quickly new members settle in, which tiers go quiet before cancelling. The join is the distinct_id: alias the anonymous web visitor to the member ID at signup, then send app activity on that same member ID.

You cannot put the PostHog SDK inside the andcards app, so app activity has to arrive server-side from whatever andcards exposes. Check whether your plan includes webhooks or an API for bookings and check-ins; if only exports exist, a nightly batch of the day's activity, posted with the original timestamps, still gives you usable retention charts. Use the andcards record ID as the event UUID so a rerun batch does not double every booking.

Send the membership start and cancellation from billing as their own events, so a single funnel runs from first web visit to tour to membership to first booking to cancellation. Keep the volumes in mind: door events at a busy space add up to a large number per member per year, so decide whether door unlocks need to be individual events or whether a daily check-in event per member is enough.

andcards → PostHog · what breaks

Why this join usually fails — andcards → PostHog

  1. 01

    The distinct_id never reaches andcards

    The app has no browser context, so any identifier must be captured on the web before signup and written to the member record.

  2. 02

    App engagement mistaken for demand

    A mobile-first product generates thousands of events per member per year. Every one of them describes an existing customer, and feeding them to an ad platform teaches it to find people who already have memberships.

  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.

andcards → PostHog · the fix

What working looks like — andcards → PostHog

  • The distinct_id on every membership

  • Conversions arriving in PostHog

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

  • Reconciled against the source

andcards → PostHog · architecture

How andcards and PostHog actually connect

  1. 1

    andcards holds the truth

    App engagement is a retention and product signal. It is not acquisition data, and it arrives in enormous volume from people who already pay.

  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 andcards membership.

  4. 4

    The event source decides reliability

    Send new memberships at tenure value. App bookings, check-ins and door events carry no value.

  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.

andcards → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the membership

  • Sent from your billing system

  • 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 app has no browser context, so any identifier must be captured on the web before signup and written to the member record.

  • Sent from the browser

    A mobile-first product generates thousands of events per member per year. Every one of them describes an existing customer, and feeding them to an ad platform teaches it to find people who already have memberships.

  • 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

andcards → PostHog · diagnose

Diagnostic order — andcards → PostHog

  1. 01

    Count memberships carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm no app event reaches an ad platform

    The correct number is zero. App activity belongs in product analytics.

  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.

andcards → PostHog · prove

How it gets proven — andcards → PostHog

Source of truth

Memberships by start date from your billing system, with app activity kept out of acquisition reporting.

  • The distinct_id confirmed present on a live membership.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • New memberships reconciled at tenure value against imported conversions, with app events absent.

andcards → PostHog · free audit

What we check in the free audit

  • Count memberships carrying the distinct_id
  • Follow one real conversion end to end
  • Confirm no app 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

Memberships by start date from your billing system, with app activity kept out of acquisition reporting.

Get my free conversion tracking audit

Free30 minutesNo obligation

andcards → PostHog · when not to buy

When you don't need this — andcards → PostHog

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the distinct_id.
  • If you measure app engagement only for product decisions, that is the right use and no ad integration is needed.
  • 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.

andcards → PostHog · what we deliver

What gets built — andcards → PostHog

  • Identifier capture into andcards

    Capture on the web signup path and store on the member, then treat all subsequent app activity as consumption.

  • Event source: your billing system

    Send new memberships at tenure value. App bookings, check-ins and door events carry no value.

  • 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 Memberships by start date from your billing system, with app activity kept out of acquisition reporting.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

andcards → PostHog questions, answered

Yes, by sending bookings and check-ins server-side from andcards data on the member's distinct_id. You cannot add PostHog's SDK to the andcards app.

Free · 30 min

Get andcards and PostHog joined properly

Free30 minutesNo obligation