Skip to content

GoPreki/posthog-event-filter-plugin

Repository files navigation

PostHog Plugin Advanced Kit: Hello World

npm package License: MIT

This is an exemplary PostHog plugin. It adds property "greeting" to every event, with a configurable value (by default: "Hello world!").

Use it as a base for your own plugins!

Goodies included

  • TypeScript for best reliability and development experience
  • Jest for convenient testing
  • Prettier and ESLint for code style and best practices – both handled by pre-commit hooks
  • GitHub Actions set up to run code quality and functionality tests in pull requests, and also to publish a new npm release when the package version is incremented in main (the latter requires an automation type npm access token to be set with a repo secret NPM_TOKEN)

Want to simply get started, without the above bloat? PostHog Plugin Starter Kit should be just the right fit for you – only the essentials needed to get off the ground.

Installation

  1. Open PostHog.
  2. Head to the Plugins page from the sidebar.
  3. Either install Hello World from Available plugins, or install from URL using this repository's URL.

Questions?

We're here to help you with anything PostHog!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published