node-red-contrib-posthog

2.1.0 • Public • Published

PostHog Integration for Node-RED

A set of work-in-progress Node-RED nodes to enable event genration and updating of Person attributes in PostHog.

Capture

posthog.capture() - docs

Run PostHog's capture() via the "Capture" node. Node-RED makes it easy to set the timestamp, event, distinctID and properties via set values, or configurable through incoming msg. values.

Screenshot 2023-03-26 at 12 15 35

Identify

posthog.identify() - docs

Identify lets you add metadata to your users so you can easily identify who they are in PostHog, as well as do things like segment users by these properties.

An identify call requires:

  • distinctId – a distinct ID belonging to the user
  • properties – a user properties object

Screenshot 2023-04-06 at 08 52 34

Group

posthog.groupIdentify() - docs

Group analytics allows you to associate an event with a group (e.g. teams, organizations, etc.).

Screenshot 2023-04-06 at 08 50 58

Readme

Keywords

Package Sidebar

Install

npm i node-red-contrib-posthog

Weekly Downloads

1

Version

2.1.0

License

Apache-2.0

Unpacked Size

41.6 kB

Total Files

14

Last publish

Collaborators

  • jdp1g09
  • flowforge