Skip to content

Feature Request: Support PostHog identify API #809

Open
@amirzak

Description

@amirzak

Summary
PostHog integration currently tracks anonymous events only, it never calls posthog.identify. Without this call, events can’t be stitched to known users across sessions, which limits cohort analysis, funnels, and retention metrics.

Current Behavior

  • User performs an action that triggers an analytics event.
  • The event arrives in PostHog with a random distinct_id.
  • No subsequent identify call is sent, so the user remains anonymous forever.

Expected Behavior
After a user logs in / registers (or whenever we have a stable user ID), the integration should:
posthog.identify('<stable_user_id>', { // optional user traits email: '[email protected]', plan: 'Pro', });
All future events from that client should automatically be linked to this distinct_id.

Why it matters

  • Accurate user journeys: Lets us see pre‑ and post‑signup behavior for a single person.
  • Richer segmentation: Enables funnels by user properties, churn analysis, etc.
  • Industry standard: “Identify users” is considered a core PostHog feature and is supported by most official SDKs.

Happy to assist with the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions