0.0.3 • Published 1 year ago

analytics-plugin-posthog v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

PostHog

This library exports the posthog plugin for the analytics package & standalone methods for any project to use to make it easier to interact with PostHog.

This analytics plugin will load PostHog into your application.

Installation

npm install analytics
npm install analytics-plugin-posthog

How to use

import Analytics from "analytics";
import posthog from "analytics-plugin-posthog";

const analytics = Analytics({
  app: "awesome-app",
  plugins: [
    posthog({
      token: "1234", // required
    }),
  ],
});
0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago