forked from plibither8/posthog-filter-out-plugin
-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin.json
32 lines (32 loc) · 1.04 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"name": "Filter Out Plugin",
"url": "https://github.com/plibither8/posthog-filter-out-plugin",
"description": "Filter out events where property values satisfy the given condition",
"main": "src/main.ts",
"config": [
{
"markdown": "All filters must adhere to the JSON schema specified in the project's [README](https://github.com/plibither8/posthog-filter-out-plugin)."
},
{
"key": "filters",
"name": "Filters to apply",
"type": "attachment",
"hint": "A JSON file containing an array of filters to apply. See the README for more information.",
"required": false
},
{
"key": "eventsToDrop",
"name": "Events to filter out",
"type": "string",
"hint": "A comma-separated list of event names to filter out (e.g. $pageview,$autocapture)",
"required": false
},
{
"key": "keepUndefinedProperties",
"name": "Keep event if any of the filtered properties are undefined?",
"type": "choice",
"choices": ["Yes", "No"],
"default": "No"
}
]
}