forked from PostHog/user-interview-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
120 lines (120 loc) · 4.31 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "User Interview App",
"config": [
{
"markdown": "## MANUAL STEP NOTICE: This app needs to injects code into your website through posthog-js. You need to **opt-in** on your site to enable this behaviour.\n\n```\nposthog.init(\"api_key\", {\n \"api_host\": \"https://app.posthog.com\",\n \"opt_in_site_apps\": true,\n})\n```"
},
{
"key": "domains",
"name": "Domains",
"hint": "Comma separated list of domains to activate on. Leave blank to enable all. For example: \"localhost,app.posthog.com\"",
"type": "string",
"default": "",
"site": true
},
{
"key": "invitationTitle",
"name": "Invitation Title (default)",
"type": "string",
"default": "Help improve PostHog!",
"site": true
},
{
"key": "invitationBody",
"name": "Invitation Body (default)",
"type": "string",
"default": "<div style='display: flex'><img style='width:auto; height:100px; margin:auto;' src='https://posthog.com/static/aac3a0aa994277081897311455a29850/8839d/vacation-hog.webp'></img><p style='padding-left: 10px'>You're invited to a 30-minute user interview.<br><br>Help guide our roadmap and get <strong>$50 of PostHog Merch.</strong></p></div>",
"site": true
},
{
"key": "bookButtonText",
"name": "Book Button Text (default)",
"type": "string",
"default": "Book now",
"required": true,
"site": true
},
{
"key": "bookButtonBackground",
"name": "Button background",
"type": "string",
"default": "",
"site": true
},
{
"key": "bookButtonColor",
"name": "Button text color",
"type": "string",
"default": "",
"site": true
},
{
"key": "closeButtonText",
"name": "Close button text (default)",
"type": "string",
"default": "Close",
"site": true
},
{
"key": "footerHTML",
"name": "Footer HTML",
"hint": "HTML to show in the footer of the invitation widget. For example: \"More questions? <a href='https://posthog.com/questions'>Ask us anything</a>\"",
"type": "string",
"default": "<strong class='bolded'>Learn more about why we do user interviews here INSERT URL",
"site": true
},
{
"key": "shownUserInterviewPopupEvent",
"name": "Shown user interview popup event name",
"type": "string",
"default": "User Interview Shown Pop Up",
"site": true
},
{
"key": "dismissUserInterviewPopupEvent",
"name": "Dismissed user interview popup event name",
"type": "string",
"default": "User Interview Dismissed Pop Up",
"site": true
},
{
"key": "clickBookButtonEvent",
"name": "Click book button event name",
"type": "string",
"default": "User Interview Clicked Book Button",
"site": true
},
{
"key": "userPropertyNameSeenUserInterview",
"name": "Name of the User Property for seeing a popup",
"type": "string",
"default": "Seen User Interview Invitation",
"required": true,
"site": true
},
{
"key": "minDaysSinceLastSeenPopUp",
"name": "Minimum number of days since they've last seen a popup",
"type": "string",
"default": "90",
"required": true,
"site": true
},
{
"key": "flagStartsWith",
"name": "Flag key must start with the following text to trigger the popup",
"type": "string",
"default": "interview-",
"required": true,
"site": true
},
{
"key": "zIndex",
"name": "z-index of the popup (default to 999999)",
"type": "string",
"default": 999999,
"required": true,
"site": true
}
]
}