forked from hull-ships/hull-segment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
117 lines (117 loc) · 3.18 KB
/
manifest.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
{
"name": "Segment",
"description": "Receive Events from Segment, send updated data to Segment",
"tags": ["incoming", "outgoing", "batch", "oneColumn"],
"index":"ship.js",
"picture": "picture.png",
"ui": false,
"admin" : "admin.html",
"readme" : "readme.md",
"version": "0.0.4",
"deployment_settings":[
{
"name" : "_selector",
"default" : "body",
"type" : "string",
"format" : "string"
},
{
"name" : "_placement",
"default" : "append",
"type" : "string",
"format" : "string"
}
],
"private_settings": [
{
"name": "sending_title",
"title": "Sending data to segment",
"format": "title",
"type": "string"
},
{
"name": "synchronized_segments",
"title": "Skips Users who don't belong to any of these segments",
"description": "Sends everyone if empty.",
"type": "array",
"format": "segment",
"items": {
"type": "string"
},
"default": []
},
{
"name": "synchronized_properties",
"title": "Send Attributes to Segment.com",
"description": "Only sends list of user segments as 'hull_segments' attribute if empty.",
"type": "array",
"format": "trait",
"items": {
"type": "string"
},
"default": []
},
{
"name": "send_events",
"title": "Send Events to Segment.com",
"description" : "Sends everything if empty",
"type": "array",
"format": "event",
"default": ["Entered segment", "Left segment"]
},
{
"name" : "forward_events",
"title" : "Allow forwarding events received from Segment.com",
"description" : "Do NOT enable if Segment.com source and destination are the same. It could result in duplicates",
"type" : "boolean",
"default" : false
}
],
"settings": [
{
"name":"write_key",
"title": "Write Key",
"description":"Segment Write Key, found in Project Settings > Keys",
"type": "string",
"format": "text"
},
{
"name": "receiving_title",
"title": "Receiving data from Segment",
"format": "title",
"type": "string"
},
{
"name" : "handle_pages",
"title" : "Handle Pages",
"description" : "Store analytics.page() events. Can generate a lot of volume",
"type" : "boolean",
"default" : false
},
{
"name" : "handle_screens",
"title" : "Handle Screens",
"description" : "Store analytics.screen() events. Can generate a lot of volume",
"type" : "boolean",
"default" : false
},
{
"name" : "public_id_field",
"title" : "Public ID Field",
"description" : "User field to use as the userId field for data sent to segment",
"type" : "string",
"enum" : [ "id", "external_id" ],
"default" : "external_id",
"format" : "hidden"
},
{
"name" : "handle_groups",
"title" : "Handle Groups",
"description" : "Handle group attributes as user traits, prefixed with 'group/'",
"type" : "boolean",
"default" : false
}
],
"resources": [],
"subscriptions" : [ { "url" : "/notify" } ]
}