@posthog/property-filter-plugin
v0.0.7
Published
Filter a list of properties from the event data.
Downloads
9
Keywords
Readme
Property Filter Plugin
Important!
This plugin will only work on events ingested after the plugin was enabled. This means it will register events as being the first if there were events that occured before it was enabled. To mitigate this, you could consider renaming the relevant events and creating an action that matches both the old event name and the new one.
Usage
This plugin will set all configured properties to null inside an ingested event. Usually it makes sense to place this plugin at the end of the plugin chain.
Note when specifying $ip
, additionally event.ip
will be removed.
Credits
Heavily inspired by https://github.com/PostHog/first-time-event-tracker