A collection of PostHog plugins that can be used by pasting the code and config into the Plugin Editor available in the PostHog UI.
Note: All plugin snippets available here are in Beta mode!
Plugin snippets allow users to create flexible plugins that they can edit to better suit their needs. They are also useful while we improve the plugin versioning and updating functionality of our plugin server.
- Visit 'Project Plugins' under 'Settings'
- Enable plugins if you haven't already done so
- Click '+ Install new plugin'
- Type in a name for the plugin under 'Write The Code' and click 'Start Coding'
- When the editor opens, paste the contents of the
plugin.js
file under 'Source Code' and the contents ofconfig.json
under 'Config Schema JSON' - Hit 'Save' and the configuration options will appear for you to fill in
- Fill in the configuration options and hit 'Save' again
- Enable your plugin and you're good to go!