Skip to content

feat: add Convex adapter for server-side event tracking #6

@bntvllnt

Description

@bntvllnt

Context

@vllnt/analytics currently supports client-side tracking with React hooks. Add server-side Convex adapter for backend event tracking.

Scope

New export: @vllnt/analytics/convex

  • createConvexTracker(ctx) — track events from Convex mutations/actions
  • Stores events in Convex tables (if Convex Component approach) or forwards to PostHog/custom
  • Integrates with existing consent management

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions