Skip to main content
Insightly → PostHogIntegration guide

Connecting Insightly to PostHog

Insightly combines CRM with project delivery, so a won opportunity converts into a project and the record continues past the 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 Insightly opportunity 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

Insightly deals into PostHog as group properties on the company

Store your product user ID on Insightly contacts and the PostHog anonymous ID on demo-form leads. Model each Insightly organization as a PostHog group carrying opportunity stage, value, bid type and won date, then send opportunity Won as an event on the primary contact with the group attached, using the opportunity ID in the UUID. Skip project milestones.

PostHog and Insightly meet in B2B SaaS: PostHog sees what users do in the product, Insightly sees what sales is doing with the account. The join is your product user ID. Store it in a custom field on Insightly contacts, and store the PostHog anonymous ID on the lead when someone fills a demo form before signing up, so the pre-signup visit merges with the person later.

Model the Insightly organization as a PostHog group. Group analytics lets you set company-level properties, so write opportunity stage, value, bid type and won date onto the group whenever Insightly changes them. You can then filter product funnels by deal stage, which answers the question sales and product actually argue about: do accounts in a trial with an open opportunity use the product differently from those without one.

Send opportunity Won as an event on the primary contact with the group attached, and use the opportunity ID inside the event UUID so retries do not duplicate. Do not send Insightly project milestones as product events; they describe your delivery team's work, and mixing them with in-product activity makes usage look higher than it is. If PostHog's data warehouse lacks an Insightly source, a nightly API sync of opportunities into group properties is enough for most teams.

Insightly → PostHog · what breaks

Why this join usually fails — Insightly → PostHog

  1. 01

    The distinct_id never reaches Insightly

    Insightly's lead-to-opportunity conversion creates new linked records, and a custom field on the lead does not travel unless it is mapped — the same failure Salesforce and Zoho each have in their own way.

  2. 02

    The identifier lost at lead conversion

    Insightly creates several linked records from one lead. An unmapped custom field disappears exactly when the record starts carrying money.

  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.

Insightly → PostHog · the fix

What working looks like — Insightly → PostHog

  • The distinct_id on every opportunity

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Insightly → PostHog · architecture

How Insightly and PostHog actually connect

  1. 1

    Insightly holds the truth

    Because opportunities convert into projects, the record keeps evolving after the money event. Pin the conversion to the win rather than to any later project milestone.

  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 Insightly opportunity.

  4. 4

    The event source decides reliability

    Fire on won, with the opportunity value. Project milestones after the win are delivery, not acquisition.

  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.

Insightly → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the opportunity

  • Sent from an Insightly webhook on opportunity state change

  • 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

    Insightly's lead-to-opportunity conversion creates new linked records, and a custom field on the lead does not travel unless it is mapped — the same failure Salesforce and Zoho each have in their own way.

  • Sent from the browser

    Insightly creates several linked records from one lead. An unmapped custom field disappears exactly when the record starts carrying 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

Insightly → PostHog · diagnose

Diagnostic order — Insightly → PostHog

  1. 01

    Count opportunitys carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Convert a test lead and inspect the resulting opportunity

    Five minutes, and it is the answer most of the time in this platform.

  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.

Insightly → PostHog · prove

How it gets proven — Insightly → PostHog

Source of truth

Insightly opportunities marked won by close date, at their values.

  • The distinct_id confirmed present on a live opportunity.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • A test lead converted end to end with the identifier confirmed on the resulting opportunity.

Insightly → PostHog · free audit

What we check in the free audit

  • Count opportunitys carrying the distinct_id
  • Follow one real conversion end to end
  • Convert a test lead and inspect the resulting opportunity
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Insightly opportunities marked won by close date, at their values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Insightly → PostHog · when not to buy

When you don't need this — Insightly → PostHog

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the distinct_id.
  • If your median click-to-won exceeds 90 days, closed-won upload cannot work against the original click.
  • 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.

Insightly → PostHog · what we deliver

What gets built — Insightly → PostHog

  • Identifier capture into Insightly

    Create the custom field on lead, contact, organisation and opportunity, and configure the conversion mapping, then verify with a real converted lead.

  • Event source: an Insightly webhook on opportunity state change

    Fire on won, with the opportunity value. Project milestones after the win are delivery, not acquisition.

  • 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

    Opportunities reopened and lost should not stand.

Written guarantee

95%+ tracking accuracy

Measured against Insightly opportunities marked won by close date, at their values.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Insightly → PostHog questions, answered

Store your product user ID on Insightly contacts, map organizations to PostHog groups, and update group properties from opportunity changes through the Insightly API or webhooks.

Free · 30 min

Get Insightly and PostHog joined properly

Free30 minutesNo obligation