Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 349 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 349 Bytes

Posthog Dart

Quick and dirty mapping for the PostHog API.

Installation

dependencies:
  posthog_dart:
    git:
      url: https://github.com/necodeIT/posthog_dart.git

Usage

In your main method call PostHog.init(host: 'your-api-key', host: 'example.com'). After that you can capture events by calling PostHog().capture().