Skip to content

posthog-js allows you to send usage data from JS/TS product to PostHog, with autocapture.

License

Notifications You must be signed in to change notification settings

skene/posthog-js

 
 

Repository files navigation

PostHog.js

Please see the main PostHog docs.

Specifically, the JS integration details.

Testing

Run yarn test

Releasing a new version

To release a new version, make sure you're logged in to NPM (npm login)

We tend to follow the following steps:

  1. Merge your changes into master
  2. Release changes as a beta version
    • npm version 1.x.x-beta.0
    • npm publish --tag beta
    • git push --tags
  3. Create a PR linking to this version in the main repo
  4. Once deployed and tested, write up CHANGELOG.md, and commit.
  5. Release a new version
    • npm version 1.x.x
    • npm publish
    • git push --tags
  6. Create a PR linking to this version in the main repo

About

posthog-js allows you to send usage data from JS/TS product to PostHog, with autocapture.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.7%
  • HTML 1.8%
  • TypeScript 1.5%