1
1
{
2
- "create_time" : " 2019-11-12T22:38:00 .000Z" ,
3
- "display_name" : " DocsV2 " ,
4
- "name" : " workspaces/personal-sandbox /tracking-plans/rs_1TXEwonMAr3lovaSXucnJifEEg4 " ,
2
+ "create_time" : " 2019-07-29T22:48:36 .000Z" ,
3
+ "display_name" : " Docs " ,
4
+ "name" : " workspaces/segment_prod /tracking-plans/rs_1Ohr9MJskSjbjKIZJ8ixf5dIAJ1 " ,
5
5
"rules" : {
6
6
"events" : [
7
7
{
37
37
"version" : 1
38
38
},
39
39
{
40
- "name" : " Feedback Provided" ,
40
+ "description" : " User submits comments after their thumbs/down rating" ,
41
+ "name" : " Feedback Comment Provided" ,
41
42
"rules" : {
42
43
"$schema" : " http://json-schema.org/draft-07/schema#" ,
43
44
"labels" : {
47
48
},
48
49
"properties" : {
49
50
"properties" : {
51
+ "comment" : {
52
+ "description" : " the comment" ,
53
+ "type" : " string"
54
+ },
50
55
"helpful" : {
51
- "description" : " " ,
56
+ "description" : " the rating given prior to the comment " ,
52
57
"type" : " boolean"
53
58
},
54
59
"section" : {
55
60
"description" : " Was the feedback form in the right-nav or footer clicked?" ,
56
- "pattern" : " right-nav|footer" ,
57
61
"type" : " string"
58
62
},
59
63
"title" : {
60
64
"description" : " " ,
61
65
"type" : " string"
62
66
}
63
67
},
64
- "required" : [
65
- " helpful" ,
66
- " title" ,
67
- " section"
68
- ],
69
68
"type" : " object"
70
69
},
71
70
"traits" : {
72
71
"type" : " object"
73
72
}
74
73
},
75
- "required" : [
76
- " properties"
77
- ],
78
74
"type" : " object"
79
75
},
80
76
"version" : 1
81
77
},
82
78
{
83
- "name" : " Home Button Clicked" ,
79
+ "description" : " User submits a thumbs up/down rating for a docs article" ,
80
+ "name" : " Feedback Provided" ,
84
81
"rules" : {
85
82
"$schema" : " http://json-schema.org/draft-07/schema#" ,
86
83
"labels" : {
90
87
},
91
88
"properties" : {
92
89
"properties" : {
93
- "url" : {
94
- "description" : " The url of the page the home button was clicked on" ,
90
+ "comment" : {
91
+ "description" : " " ,
92
+ "type" : " string"
93
+ },
94
+ "helpful" : {
95
+ "description" : " Boolean representing the value of the feedback, true is helpful, false is not helpful" ,
96
+ "type" : " boolean"
97
+ },
98
+ "section" : {
99
+ "description" : " Was the feedback form in the right-nav or footer clicked?" ,
100
+ "pattern" : " right-nav|footer" ,
101
+ "type" : " string"
102
+ },
103
+ "title" : {
104
+ "description" : " " ,
95
105
"type" : " string"
96
106
}
97
107
},
98
108
"required" : [
99
- " url"
109
+ " helpful" ,
110
+ " section" ,
111
+ " title"
100
112
],
101
113
"type" : " object"
102
114
},
111
123
},
112
124
"version" : 1
113
125
},
126
+ {
127
+ "name" : " Home Button Clicked" ,
128
+ "rules" : {
129
+ "$schema" : " http://json-schema.org/draft-07/schema#" ,
130
+ "labels" : {
131
+ },
132
+ "properties" : {
133
+ "context" : {
134
+ },
135
+ "properties" : {
136
+ "type" : " object"
137
+ },
138
+ "traits" : {
139
+ "type" : " object"
140
+ }
141
+ },
142
+ "type" : " object"
143
+ },
144
+ "version" : 1
145
+ },
114
146
{
115
147
"name" : " Lead Captured" ,
116
148
"rules" : {
154
186
"version" : 1
155
187
},
156
188
{
157
- "name" : " Scroll to Top Clicked" ,
189
+ "description" : " User clicks one of the navigation elements like the home button, ToC, or searches" ,
190
+ "name" : " Navigation Control Used" ,
158
191
"rules" : {
159
192
"$schema" : " http://json-schema.org/draft-07/schema#" ,
160
193
"labels" : {
163
196
"context" : {
164
197
},
165
198
"properties" : {
199
+ "properties" : {
200
+ "control_value" : {
201
+ "description" : " Name of control used" ,
202
+ "type" : " string"
203
+ },
204
+ "search_value" : {
205
+ "description" : " Value of search term if search bar is used" ,
206
+ "type" : " string"
207
+ }
208
+ },
209
+ "required" : [
210
+ " control_value"
211
+ ],
166
212
"type" : " object"
167
213
},
168
214
"traits" : {
169
215
"type" : " object"
170
216
}
171
217
},
218
+ "required" : [
219
+ " properties"
220
+ ],
172
221
"type" : " object"
173
222
},
174
223
"version" : 1
175
224
},
176
225
{
177
- "description" : " User scrolled to the bottom of the page" ,
178
- "name" : " Scrolled To Bottom" ,
226
+ "name" : " Page Viewed" ,
179
227
"rules" : {
180
228
"$schema" : " http://json-schema.org/draft-07/schema#" ,
181
229
"labels" : {
185
233
},
186
234
"properties" : {
187
235
"properties" : {
236
+ "browser_language" : {
237
+ "description" : " Custom property to identify user's browser language" ,
238
+ "type" : " string"
239
+ },
240
+ "frontmatter" : {
241
+ "description" : " Custom property to add additional frontmatter context to each page call" ,
242
+ "type" : " string"
243
+ },
244
+ "ip" : {
245
+ "description" : " " ,
246
+ "type" : " string"
247
+ },
248
+ "name" : {
249
+ "description" : " " ,
250
+ "type" : " string"
251
+ },
252
+ "path" : {
253
+ "description" : " " ,
254
+ "type" : " string"
255
+ },
256
+ "referrer" : {
257
+ "description" : " " ,
258
+ "type" : " string"
259
+ },
260
+ "search" : {
261
+ "description" : " " ,
262
+ "type" : " string"
263
+ },
264
+ "timestamp" : {
265
+ "description" : " " ,
266
+ "type" : " string"
267
+ },
268
+ "timezone" : {
269
+ "description" : " " ,
270
+ "type" : " string"
271
+ },
272
+ "title" : {
273
+ "description" : " " ,
274
+ "type" : " string"
275
+ },
188
276
"url" : {
189
277
"description" : " " ,
190
278
"type" : " string"
191
279
}
192
280
},
193
- "required" : [
194
- " url"
195
- ],
196
281
"type" : " object"
197
282
},
198
283
"traits" : {
199
284
"type" : " object"
200
285
}
201
286
},
202
- "required" : [
203
- " properties"
204
- ],
205
287
"type" : " object"
206
288
},
207
289
"version" : 1
208
290
},
209
291
{
210
- "name" : " Search Clicked" ,
292
+ "name" : " Scroll to Top Clicked" ,
293
+ "rules" : {
294
+ "$schema" : " http://json-schema.org/draft-07/schema#" ,
295
+ "labels" : {
296
+ },
297
+ "properties" : {
298
+ "context" : {
299
+ },
300
+ "properties" : {
301
+ "type" : " object"
302
+ },
303
+ "traits" : {
304
+ "type" : " object"
305
+ }
306
+ },
307
+ "type" : " object"
308
+ },
309
+ "version" : 1
310
+ },
311
+ {
312
+ "description" : " User scrolled to the bottom of the page" ,
313
+ "name" : " Scrolled To Bottom" ,
211
314
"rules" : {
212
315
"$schema" : " http://json-schema.org/draft-07/schema#" ,
213
316
"labels" : {
216
319
"context" : {
217
320
},
218
321
"properties" : {
322
+ "properties" : {
323
+ "url" : {
324
+ "description" : " " ,
325
+ "type" : " string"
326
+ }
327
+ },
328
+ "required" : [
329
+ " url"
330
+ ],
219
331
"type" : " object"
220
332
},
221
333
"traits" : {
222
334
"type" : " object"
223
335
}
224
336
},
337
+ "required" : [
338
+ " properties"
339
+ ],
225
340
"type" : " object"
226
341
},
227
342
"version" : 1
252
367
}
253
368
},
254
369
"required" : [
370
+ " link" ,
255
371
" name" ,
256
- " url" ,
257
- " link"
372
+ " url"
258
373
],
259
374
"type" : " object"
260
375
},
270
385
"version" : 1
271
386
}
272
387
],
388
+ "global" : {
389
+ "$schema" : " http://json-schema.org/draft-07/schema#" ,
390
+ "properties" : {
391
+ "context" : {
392
+ "type" : " object"
393
+ },
394
+ "properties" : {
395
+ "type" : " object"
396
+ },
397
+ "traits" : {
398
+ "type" : " object"
399
+ }
400
+ },
401
+ "type" : " object"
402
+ },
273
403
"group_traits" : [
274
404
],
275
405
"identify_traits" : [
276
406
]
277
407
},
278
- "update_time" : " 2019-11-20T23:36:54 .000Z"
408
+ "update_time" : " 2020-08-03T16:55:35 .000Z"
279
409
}
0 commit comments