@walkeros/web-destination-meta 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev.d.mts +20 -45
- package/dist/dev.d.ts +20 -45
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/examples/index.d.mts +15 -41
- package/dist/examples/index.d.ts +15 -41
- package/dist/examples/index.js +169 -180
- package/dist/examples/index.mjs +168 -178
- package/dist/index.browser.js +1 -1
- package/dist/index.es5.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/walkerOS.json +499 -231
- package/package.json +3 -3
package/dist/walkerOS.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$meta": {
|
|
3
3
|
"package": "@walkeros/web-destination-meta",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"type": "destination",
|
|
6
6
|
"platform": "web"
|
|
7
7
|
},
|
|
@@ -95,274 +95,542 @@
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
98
|
+
"step": {
|
|
99
|
+
"addToCart": {
|
|
100
|
+
"in": {
|
|
101
|
+
"name": "product add",
|
|
102
|
+
"data": {
|
|
103
|
+
"id": "ers",
|
|
104
|
+
"name": "Everyday Ruck Snack",
|
|
105
|
+
"color": "black",
|
|
106
|
+
"size": "l",
|
|
107
|
+
"price": 420
|
|
108
|
+
},
|
|
109
|
+
"context": {
|
|
110
|
+
"shopping": [
|
|
111
|
+
"intent",
|
|
112
|
+
0
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"globals": {
|
|
116
|
+
"pagegroup": "shop"
|
|
117
|
+
},
|
|
118
|
+
"custom": {
|
|
119
|
+
"completely": "random"
|
|
120
|
+
},
|
|
121
|
+
"user": {
|
|
122
|
+
"id": "us3r",
|
|
123
|
+
"device": "c00k13",
|
|
124
|
+
"session": "s3ss10n"
|
|
125
|
+
},
|
|
126
|
+
"nested": [],
|
|
127
|
+
"consent": {
|
|
128
|
+
"functional": true
|
|
129
|
+
},
|
|
130
|
+
"id": "1700000001-gr0up-1",
|
|
131
|
+
"trigger": "click",
|
|
132
|
+
"entity": "product",
|
|
133
|
+
"action": "add",
|
|
134
|
+
"timestamp": 1700000001,
|
|
135
|
+
"timing": 3.14,
|
|
136
|
+
"group": "gr0up",
|
|
137
|
+
"count": 1,
|
|
138
|
+
"version": {
|
|
139
|
+
"source": "2.0.1",
|
|
140
|
+
"tagging": 1
|
|
141
|
+
},
|
|
142
|
+
"source": {
|
|
143
|
+
"type": "web",
|
|
144
|
+
"id": "https://localhost:80",
|
|
145
|
+
"previous_id": "http://remotehost:9001"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"mapping": {
|
|
149
|
+
"name": "AddToCart",
|
|
150
|
+
"data": {
|
|
151
|
+
"map": {
|
|
152
|
+
"value": "data.price",
|
|
153
|
+
"currency": {
|
|
154
|
+
"value": "EUR"
|
|
155
|
+
},
|
|
156
|
+
"contents": {
|
|
157
|
+
"set": [
|
|
158
|
+
{
|
|
159
|
+
"map": {
|
|
160
|
+
"id": "data.id",
|
|
161
|
+
"quantity": {
|
|
162
|
+
"key": "data.quantity",
|
|
163
|
+
"value": 1
|
|
164
|
+
}
|
|
129
165
|
}
|
|
130
166
|
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"content_type": {
|
|
170
|
+
"value": "product"
|
|
171
|
+
}
|
|
136
172
|
}
|
|
137
173
|
}
|
|
138
|
-
}
|
|
174
|
+
},
|
|
175
|
+
"out": [
|
|
176
|
+
"track",
|
|
177
|
+
"AddToCart",
|
|
178
|
+
{
|
|
179
|
+
"currency": "EUR",
|
|
180
|
+
"value": 420,
|
|
181
|
+
"contents": [
|
|
182
|
+
{
|
|
183
|
+
"id": "ers",
|
|
184
|
+
"quantity": 1
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"content_type": "product"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"eventID": "1700000001-gr0up-1"
|
|
191
|
+
}
|
|
192
|
+
]
|
|
139
193
|
},
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
194
|
+
"initiateCheckout": {
|
|
195
|
+
"in": {
|
|
196
|
+
"name": "cart view",
|
|
197
|
+
"data": {
|
|
198
|
+
"currency": "EUR",
|
|
199
|
+
"value": 840
|
|
200
|
+
},
|
|
201
|
+
"context": {
|
|
202
|
+
"shopping": [
|
|
203
|
+
"cart",
|
|
204
|
+
0
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
"globals": {
|
|
208
|
+
"pagegroup": "shop"
|
|
209
|
+
},
|
|
210
|
+
"custom": {
|
|
211
|
+
"completely": "random"
|
|
212
|
+
},
|
|
213
|
+
"user": {
|
|
214
|
+
"id": "us3r",
|
|
215
|
+
"device": "c00k13",
|
|
216
|
+
"session": "s3ss10n"
|
|
217
|
+
},
|
|
218
|
+
"nested": [
|
|
219
|
+
{
|
|
220
|
+
"entity": "product",
|
|
221
|
+
"data": {
|
|
222
|
+
"id": "ers",
|
|
223
|
+
"name": "Everyday Ruck Snack",
|
|
224
|
+
"color": "black",
|
|
225
|
+
"size": "l",
|
|
226
|
+
"price": 420,
|
|
227
|
+
"quantity": 2
|
|
228
|
+
},
|
|
229
|
+
"context": {
|
|
230
|
+
"shopping": [
|
|
231
|
+
"cart",
|
|
232
|
+
0
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"nested": []
|
|
236
|
+
}
|
|
237
|
+
],
|
|
238
|
+
"consent": {
|
|
239
|
+
"functional": true
|
|
240
|
+
},
|
|
241
|
+
"id": "1700000003-gr0up-1",
|
|
242
|
+
"trigger": "load",
|
|
243
|
+
"entity": "cart",
|
|
244
|
+
"action": "view",
|
|
245
|
+
"timestamp": 1700000003,
|
|
246
|
+
"timing": 3.14,
|
|
247
|
+
"group": "gr0up",
|
|
248
|
+
"count": 1,
|
|
249
|
+
"version": {
|
|
250
|
+
"source": "2.0.1",
|
|
251
|
+
"tagging": 1
|
|
252
|
+
},
|
|
253
|
+
"source": {
|
|
254
|
+
"type": "web",
|
|
255
|
+
"id": "https://localhost:80",
|
|
256
|
+
"previous_id": "http://remotehost:9001"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"mapping": {
|
|
260
|
+
"name": "InitiateCheckout",
|
|
261
|
+
"data": {
|
|
262
|
+
"map": {
|
|
263
|
+
"value": "data.value",
|
|
264
|
+
"currency": {
|
|
265
|
+
"value": "EUR"
|
|
266
|
+
},
|
|
267
|
+
"contents": {
|
|
268
|
+
"loop": [
|
|
269
|
+
"nested",
|
|
270
|
+
{
|
|
271
|
+
"condition": {
|
|
272
|
+
"$code": "e=>sh(e)&&\"product\"===e.entity"
|
|
273
|
+
},
|
|
274
|
+
"map": {
|
|
275
|
+
"id": "data.id",
|
|
276
|
+
"quantity": {
|
|
277
|
+
"key": "data.quantity",
|
|
278
|
+
"value": 1
|
|
279
|
+
}
|
|
160
280
|
}
|
|
161
281
|
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"num_items": {
|
|
285
|
+
"fn": {
|
|
286
|
+
"$code": "e=>e.nested.filter(e=>\"product\"===e.entity).length"
|
|
162
287
|
}
|
|
163
|
-
]
|
|
164
|
-
},
|
|
165
|
-
"num_items": {
|
|
166
|
-
"fn": {
|
|
167
|
-
"$code": "e=>e.nested.filter(e=>\"product\"===e.entity).length"
|
|
168
288
|
}
|
|
169
289
|
}
|
|
170
290
|
}
|
|
171
|
-
}
|
|
291
|
+
},
|
|
292
|
+
"out": [
|
|
293
|
+
"track",
|
|
294
|
+
"InitiateCheckout",
|
|
295
|
+
{
|
|
296
|
+
"currency": "EUR",
|
|
297
|
+
"value": 840,
|
|
298
|
+
"contents": [
|
|
299
|
+
{
|
|
300
|
+
"id": "ers",
|
|
301
|
+
"quantity": 2
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
"num_items": 1
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"eventID": "1700000003-gr0up-1"
|
|
308
|
+
}
|
|
309
|
+
]
|
|
172
310
|
},
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
"
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
311
|
+
"pageView": {
|
|
312
|
+
"in": {
|
|
313
|
+
"name": "page view",
|
|
314
|
+
"data": {
|
|
315
|
+
"domain": "www.example.com",
|
|
316
|
+
"title": "walkerOS documentation",
|
|
317
|
+
"referrer": "https://www.walkeros.io/",
|
|
318
|
+
"search": "?foo=bar",
|
|
319
|
+
"hash": "#hash",
|
|
320
|
+
"id": "/docs/"
|
|
321
|
+
},
|
|
322
|
+
"context": {
|
|
323
|
+
"dev": [
|
|
324
|
+
"test",
|
|
325
|
+
1
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
"globals": {
|
|
329
|
+
"pagegroup": "docs"
|
|
330
|
+
},
|
|
331
|
+
"custom": {
|
|
332
|
+
"completely": "random"
|
|
333
|
+
},
|
|
334
|
+
"user": {
|
|
335
|
+
"id": "us3r",
|
|
336
|
+
"device": "c00k13",
|
|
337
|
+
"session": "s3ss10n"
|
|
338
|
+
},
|
|
339
|
+
"nested": [
|
|
340
|
+
{
|
|
341
|
+
"entity": "child",
|
|
342
|
+
"data": {
|
|
343
|
+
"is": "subordinated"
|
|
344
|
+
},
|
|
345
|
+
"nested": [],
|
|
346
|
+
"context": {
|
|
347
|
+
"element": [
|
|
348
|
+
"child",
|
|
349
|
+
0
|
|
350
|
+
]
|
|
204
351
|
}
|
|
205
352
|
}
|
|
353
|
+
],
|
|
354
|
+
"consent": {
|
|
355
|
+
"functional": true
|
|
356
|
+
},
|
|
357
|
+
"id": "1700000004-gr0up-1",
|
|
358
|
+
"trigger": "load",
|
|
359
|
+
"entity": "page",
|
|
360
|
+
"action": "view",
|
|
361
|
+
"timestamp": 1700000004,
|
|
362
|
+
"timing": 3.14,
|
|
363
|
+
"group": "gr0up",
|
|
364
|
+
"count": 1,
|
|
365
|
+
"version": {
|
|
366
|
+
"source": "2.0.1",
|
|
367
|
+
"tagging": 1
|
|
368
|
+
},
|
|
369
|
+
"source": {
|
|
370
|
+
"type": "web",
|
|
371
|
+
"id": "https://localhost:80",
|
|
372
|
+
"previous_id": "http://remotehost:9001"
|
|
206
373
|
}
|
|
207
|
-
}
|
|
374
|
+
},
|
|
375
|
+
"out": [
|
|
376
|
+
"track",
|
|
377
|
+
"PageView",
|
|
378
|
+
{},
|
|
379
|
+
{
|
|
380
|
+
"eventID": "1700000004-gr0up-1"
|
|
381
|
+
}
|
|
382
|
+
]
|
|
208
383
|
},
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
"currency":
|
|
215
|
-
|
|
384
|
+
"purchase": {
|
|
385
|
+
"in": {
|
|
386
|
+
"name": "order complete",
|
|
387
|
+
"data": {
|
|
388
|
+
"id": "0rd3r1d",
|
|
389
|
+
"currency": "EUR",
|
|
390
|
+
"shipping": 5.22,
|
|
391
|
+
"taxes": 73.76,
|
|
392
|
+
"total": 555
|
|
393
|
+
},
|
|
394
|
+
"context": {
|
|
395
|
+
"shopping": [
|
|
396
|
+
"complete",
|
|
397
|
+
0
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
"globals": {
|
|
401
|
+
"pagegroup": "shop"
|
|
402
|
+
},
|
|
403
|
+
"custom": {
|
|
404
|
+
"completely": "random"
|
|
405
|
+
},
|
|
406
|
+
"user": {
|
|
407
|
+
"id": "us3r",
|
|
408
|
+
"device": "c00k13",
|
|
409
|
+
"session": "s3ss10n"
|
|
410
|
+
},
|
|
411
|
+
"nested": [
|
|
412
|
+
{
|
|
413
|
+
"entity": "product",
|
|
414
|
+
"data": {
|
|
415
|
+
"id": "ers",
|
|
416
|
+
"name": "Everyday Ruck Snack",
|
|
417
|
+
"color": "black",
|
|
418
|
+
"size": "l",
|
|
419
|
+
"price": 420
|
|
420
|
+
},
|
|
421
|
+
"context": {
|
|
422
|
+
"shopping": [
|
|
423
|
+
"complete",
|
|
424
|
+
0
|
|
425
|
+
]
|
|
426
|
+
},
|
|
427
|
+
"nested": []
|
|
216
428
|
},
|
|
217
|
-
|
|
218
|
-
"
|
|
429
|
+
{
|
|
430
|
+
"entity": "product",
|
|
431
|
+
"data": {
|
|
432
|
+
"id": "cc",
|
|
433
|
+
"name": "Cool Cap",
|
|
434
|
+
"size": "one size",
|
|
435
|
+
"price": 42
|
|
436
|
+
},
|
|
437
|
+
"context": {
|
|
438
|
+
"shopping": [
|
|
439
|
+
"complete",
|
|
440
|
+
0
|
|
441
|
+
]
|
|
442
|
+
},
|
|
443
|
+
"nested": []
|
|
219
444
|
},
|
|
220
|
-
|
|
221
|
-
"
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
]
|
|
445
|
+
{
|
|
446
|
+
"entity": "gift",
|
|
447
|
+
"data": {
|
|
448
|
+
"name": "Surprise"
|
|
449
|
+
},
|
|
450
|
+
"context": {
|
|
451
|
+
"shopping": [
|
|
452
|
+
"complete",
|
|
453
|
+
0
|
|
454
|
+
]
|
|
455
|
+
},
|
|
456
|
+
"nested": []
|
|
232
457
|
}
|
|
458
|
+
],
|
|
459
|
+
"consent": {
|
|
460
|
+
"functional": true
|
|
461
|
+
},
|
|
462
|
+
"id": "1700000000-gr0up-1",
|
|
463
|
+
"trigger": "load",
|
|
464
|
+
"entity": "order",
|
|
465
|
+
"action": "complete",
|
|
466
|
+
"timestamp": 1700000000,
|
|
467
|
+
"timing": 3.14,
|
|
468
|
+
"group": "gr0up",
|
|
469
|
+
"count": 1,
|
|
470
|
+
"version": {
|
|
471
|
+
"source": "2.0.1",
|
|
472
|
+
"tagging": 1
|
|
473
|
+
},
|
|
474
|
+
"source": {
|
|
475
|
+
"type": "web",
|
|
476
|
+
"id": "https://localhost:80",
|
|
477
|
+
"previous_id": "http://remotehost:9001"
|
|
233
478
|
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
"
|
|
255
|
-
"quantity": {
|
|
256
|
-
"key": "data.quantity",
|
|
257
|
-
"value": 1
|
|
258
|
-
}
|
|
479
|
+
},
|
|
480
|
+
"mapping": {
|
|
481
|
+
"name": "Purchase",
|
|
482
|
+
"data": {
|
|
483
|
+
"map": {
|
|
484
|
+
"value": "data.total",
|
|
485
|
+
"currency": {
|
|
486
|
+
"value": "EUR"
|
|
487
|
+
},
|
|
488
|
+
"contents": {
|
|
489
|
+
"loop": [
|
|
490
|
+
"nested",
|
|
491
|
+
{
|
|
492
|
+
"condition": {
|
|
493
|
+
"$code": "e=>sh(e)&&\"product\"===e.entity"
|
|
494
|
+
},
|
|
495
|
+
"map": {
|
|
496
|
+
"id": "data.id",
|
|
497
|
+
"quantity": {
|
|
498
|
+
"key": "data.quantity",
|
|
499
|
+
"value": 1
|
|
259
500
|
}
|
|
260
501
|
}
|
|
261
|
-
]
|
|
262
|
-
},
|
|
263
|
-
"content_type": {
|
|
264
|
-
"value": "product"
|
|
265
|
-
},
|
|
266
|
-
"num_items": {
|
|
267
|
-
"fn": {
|
|
268
|
-
"$code": "e=>e.nested.filter(e=>\"product\"===e.entity).length"
|
|
269
502
|
}
|
|
503
|
+
]
|
|
504
|
+
},
|
|
505
|
+
"content_type": {
|
|
506
|
+
"value": "product"
|
|
507
|
+
},
|
|
508
|
+
"num_items": {
|
|
509
|
+
"fn": {
|
|
510
|
+
"$code": "e=>e.nested.filter(e=>\"product\"===e.entity).length"
|
|
270
511
|
}
|
|
271
512
|
}
|
|
272
513
|
}
|
|
273
514
|
}
|
|
274
515
|
},
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
"
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
"
|
|
288
|
-
|
|
289
|
-
{
|
|
290
|
-
"map": {
|
|
291
|
-
"id": "data.id",
|
|
292
|
-
"quantity": {
|
|
293
|
-
"key": "data.quantity",
|
|
294
|
-
"value": 1
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
]
|
|
299
|
-
}
|
|
516
|
+
"out": [
|
|
517
|
+
"track",
|
|
518
|
+
"Purchase",
|
|
519
|
+
{
|
|
520
|
+
"value": 555,
|
|
521
|
+
"currency": "EUR",
|
|
522
|
+
"contents": [
|
|
523
|
+
{
|
|
524
|
+
"id": "ers",
|
|
525
|
+
"quantity": 1
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"id": "cc",
|
|
529
|
+
"quantity": 1
|
|
300
530
|
}
|
|
301
|
-
|
|
531
|
+
],
|
|
532
|
+
"content_type": "product",
|
|
533
|
+
"num_items": 2
|
|
302
534
|
},
|
|
303
|
-
|
|
304
|
-
"
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
535
|
+
{
|
|
536
|
+
"eventID": "1700000000-gr0up-1"
|
|
537
|
+
}
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
"viewContent": {
|
|
541
|
+
"in": {
|
|
542
|
+
"name": "product view",
|
|
543
|
+
"data": {
|
|
544
|
+
"id": "ers",
|
|
545
|
+
"name": "Everyday Ruck Snack",
|
|
546
|
+
"color": "black",
|
|
547
|
+
"size": "l",
|
|
548
|
+
"price": 420
|
|
549
|
+
},
|
|
550
|
+
"context": {
|
|
551
|
+
"shopping": [
|
|
552
|
+
"detail",
|
|
553
|
+
0
|
|
554
|
+
]
|
|
555
|
+
},
|
|
556
|
+
"globals": {
|
|
557
|
+
"pagegroup": "shop"
|
|
558
|
+
},
|
|
559
|
+
"custom": {
|
|
560
|
+
"completely": "random"
|
|
561
|
+
},
|
|
562
|
+
"user": {
|
|
563
|
+
"id": "us3r",
|
|
564
|
+
"device": "c00k13",
|
|
565
|
+
"session": "s3ss10n"
|
|
566
|
+
},
|
|
567
|
+
"nested": [],
|
|
568
|
+
"consent": {
|
|
569
|
+
"functional": true
|
|
570
|
+
},
|
|
571
|
+
"id": "1700000002-gr0up-1",
|
|
572
|
+
"trigger": "load",
|
|
573
|
+
"entity": "product",
|
|
574
|
+
"action": "view",
|
|
575
|
+
"timestamp": 1700000002,
|
|
576
|
+
"timing": 3.14,
|
|
577
|
+
"group": "gr0up",
|
|
578
|
+
"count": 1,
|
|
579
|
+
"version": {
|
|
580
|
+
"source": "2.0.1",
|
|
581
|
+
"tagging": 1
|
|
582
|
+
},
|
|
583
|
+
"source": {
|
|
584
|
+
"type": "web",
|
|
585
|
+
"id": "https://localhost:80",
|
|
586
|
+
"previous_id": "http://remotehost:9001"
|
|
329
587
|
}
|
|
330
588
|
},
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
|
|
337
|
-
"
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
"
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
"
|
|
348
|
-
"
|
|
349
|
-
"
|
|
350
|
-
"key": "data.quantity",
|
|
351
|
-
"value": 1
|
|
352
|
-
}
|
|
589
|
+
"mapping": {
|
|
590
|
+
"name": "ViewContent",
|
|
591
|
+
"data": {
|
|
592
|
+
"map": {
|
|
593
|
+
"value": "data.price",
|
|
594
|
+
"currency": {
|
|
595
|
+
"value": "EUR"
|
|
596
|
+
},
|
|
597
|
+
"content_type": {
|
|
598
|
+
"value": "product"
|
|
599
|
+
},
|
|
600
|
+
"contents": {
|
|
601
|
+
"set": [
|
|
602
|
+
{
|
|
603
|
+
"map": {
|
|
604
|
+
"id": "data.id",
|
|
605
|
+
"quantity": {
|
|
606
|
+
"key": "data.quantity",
|
|
607
|
+
"value": 1
|
|
353
608
|
}
|
|
354
609
|
}
|
|
355
|
-
]
|
|
356
|
-
},
|
|
357
|
-
"num_items": {
|
|
358
|
-
"fn": {
|
|
359
|
-
"$code": "e=>e.nested.filter(e=>\"product\"===e.entity).length"
|
|
360
610
|
}
|
|
361
|
-
|
|
611
|
+
]
|
|
362
612
|
}
|
|
363
613
|
}
|
|
364
614
|
}
|
|
365
|
-
}
|
|
615
|
+
},
|
|
616
|
+
"out": [
|
|
617
|
+
"track",
|
|
618
|
+
"ViewContent",
|
|
619
|
+
{
|
|
620
|
+
"currency": "EUR",
|
|
621
|
+
"value": 420,
|
|
622
|
+
"contents": [
|
|
623
|
+
{
|
|
624
|
+
"id": "ers",
|
|
625
|
+
"quantity": 1
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
"content_type": "product"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"eventID": "1700000002-gr0up-1"
|
|
632
|
+
}
|
|
633
|
+
]
|
|
366
634
|
}
|
|
367
635
|
}
|
|
368
636
|
}
|