@walkeros/cli 4.8.1 → 4.8.3-next-1793115089237

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +115 -3
  2. package/README.md +2 -2
  3. package/dist/cli.js +4149 -4149
  4. package/dist/dev.d.ts +51 -3
  5. package/dist/dev.js +186 -0
  6. package/dist/dev.js.map +1 -1
  7. package/dist/examples/README.md +12 -1
  8. package/dist/examples/contracts/app.json +261 -0
  9. package/dist/examples/contracts/base.json +708 -0
  10. package/dist/examples/contracts/ecommerce.json +963 -0
  11. package/dist/examples/contracts/leadgen.json +240 -0
  12. package/dist/examples/contracts/publisher.json +372 -0
  13. package/dist/examples/contracts/saas.json +229 -0
  14. package/dist/examples/contracts/travel.json +234 -0
  15. package/dist/examples/customers/README.md +4 -1
  16. package/dist/examples/event.json +1 -1
  17. package/dist/examples/flow-complete.json +107 -130
  18. package/dist/examples/flow-complete.md +12 -10
  19. package/dist/examples/flow-order-complete.json +1 -1
  20. package/dist/examples/flow.json +1 -1
  21. package/dist/examples/index.d.ts +34 -4
  22. package/dist/examples/index.js +128 -139
  23. package/dist/examples/index.js.map +1 -1
  24. package/dist/examples/shared/README.md +4 -0
  25. package/dist/index.d.ts +63 -223
  26. package/dist/index.js +572 -992
  27. package/dist/index.js.map +1 -1
  28. package/dist/validate.d.ts +1 -1
  29. package/dist/validate.js +337 -204
  30. package/dist/validate.js.map +1 -1
  31. package/examples/README.md +12 -1
  32. package/examples/contracts/app.json +261 -0
  33. package/examples/contracts/base.json +708 -0
  34. package/examples/contracts/ecommerce.json +963 -0
  35. package/examples/contracts/leadgen.json +240 -0
  36. package/examples/contracts/publisher.json +372 -0
  37. package/examples/contracts/saas.json +229 -0
  38. package/examples/contracts/travel.json +234 -0
  39. package/examples/customers/README.md +4 -1
  40. package/examples/event.json +1 -1
  41. package/examples/flow-complete.json +107 -130
  42. package/examples/flow-complete.md +12 -10
  43. package/examples/flow-order-complete.json +1 -1
  44. package/examples/flow.json +1 -1
  45. package/examples/shared/README.md +4 -0
  46. package/package.json +30 -30
  47. package/src/telemetry/flow.json +42 -34
  48. package/dist/examples/test.html +0 -43
  49. package/dist/examples/web-serve.js +0 -25503
  50. package/examples/test.html +0 -43
  51. package/examples/web-serve.js +0 -25503
@@ -140,13 +140,13 @@
140
140
  "properties": {
141
141
  "data": {
142
142
  "type": "object",
143
- "required": ["id", "total", "currency"],
143
+ "required": ["id", "value", "currency"],
144
144
  "properties": {
145
145
  "id": {
146
146
  "type": "string",
147
147
  "minLength": 1
148
148
  },
149
- "total": {
149
+ "value": {
150
150
  "type": "number",
151
151
  "minimum": 0
152
152
  },
@@ -241,25 +241,25 @@
241
241
  "bundle": {
242
242
  "packages": {
243
243
  "@walkeros/collector": {
244
- "version": "4.8.1"
244
+ "version": "4.8.3-next-1793115089237"
245
245
  },
246
246
  "@walkeros/web-source-cmp-usercentrics": {
247
- "version": "4.8.1"
247
+ "version": "4.8.3-next-1793115089237"
248
248
  },
249
249
  "@walkeros/web-source-session": {
250
- "version": "4.8.1"
250
+ "version": "4.8.3-next-1793115089237"
251
251
  },
252
252
  "@walkeros/web-source-datalayer": {
253
- "version": "4.8.1"
253
+ "version": "4.8.3-next-1793115089237"
254
254
  },
255
255
  "@walkeros/web-source-browser": {
256
- "version": "4.8.1"
256
+ "version": "4.8.3-next-1793115089237"
257
257
  },
258
258
  "@walkeros/web-destination-gtag": {
259
- "version": "4.8.1"
259
+ "version": "4.8.3-next-1793115089237"
260
260
  },
261
261
  "@walkeros/web-destination-api": {
262
- "version": "4.8.1"
262
+ "version": "4.8.3-next-1793115089237"
263
263
  }
264
264
  },
265
265
  "env": {
@@ -305,7 +305,7 @@
305
305
  "examples": {
306
306
  "explicitDecision": {
307
307
  "title": "Explicit decision",
308
- "description": "The user accepts every category in the banner. categoryMap turns essential and functional into functional, so the collector receives exactly the consent keys the contract names.",
308
+ "description": "The user accepts every category in the banner. categoryMap folds essential into functional so the collector receives exactly the consent keys the contract names; because any deny denies, functional still follows the functional category, and essential never grants it alone.",
309
309
  "public": true,
310
310
  "trigger": {
311
311
  "type": "consent",
@@ -515,15 +515,13 @@
515
515
  "dataLayer": {
516
516
  "add_to_cart": {
517
517
  "name": "product add",
518
- "data": {
519
- "map": {
520
- "id": "data.items.0.item_id",
521
- "name": "data.items.0.item_name",
522
- "price": "data.items.0.price",
523
- "quantity": {
524
- "key": "data.items.0.quantity",
525
- "value": 1
526
- }
518
+ "policy": {
519
+ "data.id": "data.items.0.item_id",
520
+ "data.name": "data.items.0.item_name",
521
+ "data.price": "data.items.0.price",
522
+ "data.quantity": {
523
+ "key": "data.items.0.quantity",
524
+ "value": 1
527
525
  }
528
526
  }
529
527
  }
@@ -736,7 +734,7 @@
736
734
  "action": "complete",
737
735
  "data": {
738
736
  "id": "ORD-100",
739
- "total": 149.8,
737
+ "value": 149.8,
740
738
  "currency": "EUR",
741
739
  "coupon": "WELCOME10"
742
740
  },
@@ -790,7 +788,7 @@
790
788
  "action": "complete",
791
789
  "data": {
792
790
  "id": "ORD-100",
793
- "total": 149.8,
791
+ "value": 149.8,
794
792
  "currency": "EUR",
795
793
  "coupon": "WELCOME10"
796
794
  },
@@ -933,7 +931,14 @@
933
931
  "ga4": {
934
932
  "measurementId": "$env.GA4_MEASUREMENT_ID:G-MAINSITE"
935
933
  },
936
- "como": true
934
+ "como": {
935
+ "marketing": [
936
+ "ad_storage",
937
+ "ad_user_data",
938
+ "ad_personalization"
939
+ ],
940
+ "functional": "analytics_storage"
941
+ }
937
942
  },
938
943
  "mapping": {
939
944
  "product": {
@@ -966,12 +971,12 @@
966
971
  "order": {
967
972
  "complete": {
968
973
  "name": "purchase",
969
- "condition": "$code:(event) => event.data && event.data.total > 0",
974
+ "condition": "$code:(event) => event.data && event.data.value > 0",
970
975
  "data": {
971
976
  "map": {
972
977
  "transaction_id": "data.id",
973
978
  "value": {
974
- "fn": "$code:(event) => Math.round(Number(event.data.total) * 100) / 100"
979
+ "fn": "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
975
980
  },
976
981
  "currency": [
977
982
  "data.currency",
@@ -1013,12 +1018,12 @@
1013
1018
  "public": true,
1014
1019
  "mapping": {
1015
1020
  "name": "purchase",
1016
- "condition": "$code:(event) => event.data && event.data.total > 0",
1021
+ "condition": "$code:(event) => event.data && event.data.value > 0",
1017
1022
  "data": {
1018
1023
  "map": {
1019
1024
  "transaction_id": "data.id",
1020
1025
  "value": {
1021
- "fn": "$code:(event) => Math.round(Number(event.data.total) * 100) / 100"
1026
+ "fn": "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
1022
1027
  },
1023
1028
  "currency": [
1024
1029
  "data.currency",
@@ -1056,7 +1061,7 @@
1056
1061
  "action": "complete",
1057
1062
  "data": {
1058
1063
  "id": "ORD-100",
1059
- "total": 149.8,
1064
+ "value": 149.8,
1060
1065
  "currency": "EUR",
1061
1066
  "coupon": "WELCOME10"
1062
1067
  },
@@ -1150,12 +1155,12 @@
1150
1155
  "description": "The coupon condition leaves the parameter out when the order has none.",
1151
1156
  "mapping": {
1152
1157
  "name": "purchase",
1153
- "condition": "$code:(event) => event.data && event.data.total > 0",
1158
+ "condition": "$code:(event) => event.data && event.data.value > 0",
1154
1159
  "data": {
1155
1160
  "map": {
1156
1161
  "transaction_id": "data.id",
1157
1162
  "value": {
1158
- "fn": "$code:(event) => Math.round(Number(event.data.total) * 100) / 100"
1163
+ "fn": "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
1159
1164
  },
1160
1165
  "currency": [
1161
1166
  "data.currency",
@@ -1193,7 +1198,7 @@
1193
1198
  "action": "complete",
1194
1199
  "data": {
1195
1200
  "id": "ORD-101",
1196
- "total": 129.9,
1201
+ "value": 129.9,
1197
1202
  "currency": "EUR"
1198
1203
  },
1199
1204
  "id": "ev-order-complete",
@@ -1421,6 +1426,14 @@
1421
1426
  "settings": {
1422
1427
  "gtm": {
1423
1428
  "containerId": "$env.GTM_ID:GTM-SHOP01"
1429
+ },
1430
+ "como": {
1431
+ "marketing": [
1432
+ "ad_storage",
1433
+ "ad_user_data",
1434
+ "ad_personalization"
1435
+ ],
1436
+ "functional": "analytics_storage"
1424
1437
  }
1425
1438
  },
1426
1439
  "mapping": {
@@ -1626,7 +1639,7 @@
1626
1639
  "action": "complete",
1627
1640
  "data": {
1628
1641
  "id": "ORD-100",
1629
- "total": 149.8,
1642
+ "value": 149.8,
1630
1643
  "currency": "EUR",
1631
1644
  "coupon": "WELCOME10"
1632
1645
  },
@@ -1677,7 +1690,7 @@
1677
1690
  [
1678
1691
  "sendWeb",
1679
1692
  "http://localhost:8080/collect",
1680
- "[{\"name\":\"order complete\",\"data\":{\"id\":\"ORD-100\",\"total\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"},\"context\":{},\"globals\":{\"site\":\"shop\",\"language\":\"en\",\"pageGroup\":\"checkout\"},\"custom\":{},\"user\":{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\",\"email\":\"jane@example.com\"},\"nested\":[{\"entity\":\"product\",\"data\":{\"id\":\"SKU-1\",\"name\":\"Trail Runner\",\"price\":129.9,\"quantity\":1}},{\"entity\":\"product\",\"data\":{\"id\":\"SKU-2\",\"name\":\"Running Socks\",\"price\":9.95,\"quantity\":2}}],\"consent\":{\"functional\":true,\"marketing\":true},\"id\":\"ev-order-complete\",\"trigger\":\"load\",\"entity\":\"order\",\"action\":\"complete\",\"timestamp\":1700000000000,\"source\":{\"type\":\"browser\",\"platform\":\"web\",\"url\":\"https://www.example.com/checkout/thanks\",\"count\":1,\"release\":{\"web\":\"4.6.1\"}}}]",
1693
+ "[{\"name\":\"order complete\",\"data\":{\"id\":\"ORD-100\",\"value\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"},\"context\":{},\"globals\":{\"site\":\"shop\",\"language\":\"en\",\"pageGroup\":\"checkout\"},\"custom\":{},\"user\":{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\",\"email\":\"jane@example.com\"},\"nested\":[{\"entity\":\"product\",\"data\":{\"id\":\"SKU-1\",\"name\":\"Trail Runner\",\"price\":129.9,\"quantity\":1}},{\"entity\":\"product\",\"data\":{\"id\":\"SKU-2\",\"name\":\"Running Socks\",\"price\":9.95,\"quantity\":2}}],\"consent\":{\"functional\":true,\"marketing\":true},\"id\":\"ev-order-complete\",\"trigger\":\"load\",\"entity\":\"order\",\"action\":\"complete\",\"timestamp\":1700000000000,\"source\":{\"type\":\"browser\",\"platform\":\"web\",\"url\":\"https://www.example.com/checkout/thanks\",\"count\":1,\"release\":{\"web\":\"4.6.1\"}}}]",
1681
1694
  {
1682
1695
  "transport": "beacon"
1683
1696
  }
@@ -1693,7 +1706,7 @@
1693
1706
  "action": "complete",
1694
1707
  "data": {
1695
1708
  "id": "ORD-100",
1696
- "total": 149.8,
1709
+ "value": 149.8,
1697
1710
  "currency": "EUR",
1698
1711
  "coupon": "WELCOME10"
1699
1712
  },
@@ -1743,7 +1756,7 @@
1743
1756
  [
1744
1757
  "sendWeb",
1745
1758
  "http://localhost:8080/collect",
1746
- "[{\"name\":\"order complete\",\"data\":{\"id\":\"ORD-100\",\"total\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"},\"context\":{},\"globals\":{\"site\":\"shop\",\"language\":\"en\",\"pageGroup\":\"checkout\"},\"custom\":{},\"user\":{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\"},\"nested\":[{\"entity\":\"product\",\"data\":{\"id\":\"SKU-1\",\"name\":\"Trail Runner\",\"price\":129.9,\"quantity\":1}},{\"entity\":\"product\",\"data\":{\"id\":\"SKU-2\",\"name\":\"Running Socks\",\"price\":9.95,\"quantity\":2}}],\"consent\":{\"functional\":true},\"id\":\"ev-order-complete\",\"trigger\":\"load\",\"entity\":\"order\",\"action\":\"complete\",\"timestamp\":1700000000000,\"source\":{\"type\":\"browser\",\"platform\":\"web\",\"url\":\"https://www.example.com/checkout/thanks\",\"count\":1,\"release\":{\"web\":\"4.6.1\"}}}]",
1759
+ "[{\"name\":\"order complete\",\"data\":{\"id\":\"ORD-100\",\"value\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"},\"context\":{},\"globals\":{\"site\":\"shop\",\"language\":\"en\",\"pageGroup\":\"checkout\"},\"custom\":{},\"user\":{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\"},\"nested\":[{\"entity\":\"product\",\"data\":{\"id\":\"SKU-1\",\"name\":\"Trail Runner\",\"price\":129.9,\"quantity\":1}},{\"entity\":\"product\",\"data\":{\"id\":\"SKU-2\",\"name\":\"Running Socks\",\"price\":9.95,\"quantity\":2}}],\"consent\":{\"functional\":true},\"id\":\"ev-order-complete\",\"trigger\":\"load\",\"entity\":\"order\",\"action\":\"complete\",\"timestamp\":1700000000000,\"source\":{\"type\":\"browser\",\"platform\":\"web\",\"url\":\"https://www.example.com/checkout/thanks\",\"count\":1,\"release\":{\"web\":\"4.6.1\"}}}]",
1747
1760
  {
1748
1761
  "transport": "beacon"
1749
1762
  }
@@ -1765,40 +1778,40 @@
1765
1778
  "bundle": {
1766
1779
  "packages": {
1767
1780
  "@walkeros/collector": {
1768
- "version": "4.8.1"
1781
+ "version": "4.8.3-next-1793115089237"
1769
1782
  },
1770
1783
  "@walkeros/server-source-express": {
1771
- "version": "4.8.1"
1784
+ "version": "4.8.3-next-1793115089237"
1772
1785
  },
1773
1786
  "@walkeros/transformer-ga4": {
1774
- "version": "4.8.1"
1787
+ "version": "4.8.3-next-1793115089237"
1775
1788
  },
1776
1789
  "@walkeros/transformer-validate": {
1777
- "version": "4.8.1"
1790
+ "version": "4.8.3-next-1793115089237"
1778
1791
  },
1779
1792
  "@walkeros/server-transformer-bot": {
1780
- "version": "4.8.1"
1793
+ "version": "4.8.3-next-1793115089237"
1781
1794
  },
1782
1795
  "@walkeros/server-transformer-fingerprint": {
1783
- "version": "4.8.1"
1796
+ "version": "4.8.3-next-1793115089237"
1784
1797
  },
1785
1798
  "@walkeros/server-transformer-file": {
1786
- "version": "4.8.1"
1799
+ "version": "4.8.3-next-1793115089237"
1787
1800
  },
1788
1801
  "@walkeros/server-store-fs": {
1789
- "version": "4.8.1"
1802
+ "version": "4.8.3-next-1793115089237"
1790
1803
  },
1791
1804
  "@walkeros/server-destination-gcp": {
1792
- "version": "4.8.1"
1805
+ "version": "4.8.3-next-1793115089237"
1793
1806
  },
1794
1807
  "@walkeros/server-destination-meta": {
1795
- "version": "4.8.1"
1808
+ "version": "4.8.3-next-1793115089237"
1796
1809
  },
1797
1810
  "@walkeros/server-destination-piwikpro": {
1798
- "version": "4.8.1"
1811
+ "version": "4.8.3-next-1793115089237"
1799
1812
  },
1800
1813
  "@walkeros/server-destination-datamanager": {
1801
- "version": "4.8.1"
1814
+ "version": "4.8.3-next-1793115089237"
1802
1815
  }
1803
1816
  }
1804
1817
  }
@@ -1884,7 +1897,7 @@
1884
1897
  },
1885
1898
  "ingest": {
1886
1899
  "map": {
1887
- "ip": "ip",
1900
+ "ip": "headers.x-client-ip",
1888
1901
  "path": "path",
1889
1902
  "method": "method",
1890
1903
  "url": "url",
@@ -1966,7 +1979,7 @@
1966
1979
  "action": "complete",
1967
1980
  "data": {
1968
1981
  "id": "ORD-100",
1969
- "total": 149.8,
1982
+ "value": 149.8,
1970
1983
  "currency": "EUR",
1971
1984
  "coupon": "WELCOME10"
1972
1985
  },
@@ -2023,7 +2036,7 @@
2023
2036
  "action": "complete",
2024
2037
  "data": {
2025
2038
  "id": "ORD-100",
2026
- "total": 149.8,
2039
+ "value": 149.8,
2027
2040
  "currency": "EUR",
2028
2041
  "coupon": "WELCOME10"
2029
2042
  },
@@ -2117,7 +2130,7 @@
2117
2130
  "data": {
2118
2131
  "id": "SUB-77",
2119
2132
  "currency": "EUR",
2120
- "total": 59.9
2133
+ "value": 59.9
2121
2134
  },
2122
2135
  "user": {
2123
2136
  "device": "cid-9",
@@ -2407,42 +2420,6 @@
2407
2420
  },
2408
2421
  "next": {
2409
2422
  "stop": true
2410
- },
2411
- "examples": {
2412
- "walkerJs": {
2413
- "title": "Serve walker.js first party",
2414
- "description": "GET /walker.js is answered from the assets store with the configured headers; the step returns false and its next stops, so a script request never becomes an event. Proven over HTTP in the flow test.",
2415
- "public": true,
2416
- "in": {
2417
- "name": "page view",
2418
- "entity": "page",
2419
- "action": "view",
2420
- "data": {
2421
- "domain": "www.example.com",
2422
- "title": "Trail Runner",
2423
- "id": "/product/trail-runner"
2424
- },
2425
- "id": "ev-page-view",
2426
- "trigger": "load",
2427
- "timestamp": 1700000000000,
2428
- "consent": {
2429
- "functional": true,
2430
- "marketing": true
2431
- },
2432
- "globals": {
2433
- "language": "en",
2434
- "pageGroup": "product"
2435
- },
2436
- "user": {
2437
- "device": "d3v1c3",
2438
- "session": "s3ss10n"
2439
- },
2440
- "source": {
2441
- "type": "express",
2442
- "platform": "server"
2443
- }
2444
- }
2445
- }
2446
2423
  }
2447
2424
  },
2448
2425
  "dedup": {
@@ -2467,7 +2444,7 @@
2467
2444
  "action": "complete",
2468
2445
  "data": {
2469
2446
  "id": "ORD-100",
2470
- "total": 149.8,
2447
+ "value": 149.8,
2471
2448
  "currency": "EUR",
2472
2449
  "coupon": "WELCOME10"
2473
2450
  },
@@ -2524,7 +2501,7 @@
2524
2501
  "action": "complete",
2525
2502
  "data": {
2526
2503
  "id": "ORD-100",
2527
- "total": 149.8,
2504
+ "value": 149.8,
2528
2505
  "currency": "EUR",
2529
2506
  "coupon": "WELCOME10"
2530
2507
  },
@@ -2597,7 +2574,7 @@
2597
2574
  "action": "complete",
2598
2575
  "data": {
2599
2576
  "id": "ORD-100",
2600
- "total": 149.8,
2577
+ "value": 149.8,
2601
2578
  "currency": "EUR",
2602
2579
  "coupon": "WELCOME10"
2603
2580
  },
@@ -2654,7 +2631,7 @@
2654
2631
  "action": "complete",
2655
2632
  "data": {
2656
2633
  "id": "ORD-100",
2657
- "total": 149.8,
2634
+ "value": 149.8,
2658
2635
  "currency": "EUR",
2659
2636
  "coupon": "WELCOME10"
2660
2637
  },
@@ -2721,7 +2698,7 @@
2721
2698
  "action": "complete",
2722
2699
  "data": {
2723
2700
  "id": "ORD-100",
2724
- "total": 149.8,
2701
+ "value": 149.8,
2725
2702
  "currency": "EUR",
2726
2703
  "coupon": "WELCOME10"
2727
2704
  },
@@ -2778,7 +2755,7 @@
2778
2755
  "action": "complete",
2779
2756
  "data": {
2780
2757
  "id": "ORD-100",
2781
- "total": 149.8,
2758
+ "value": 149.8,
2782
2759
  "currency": "EUR",
2783
2760
  "coupon": "WELCOME10"
2784
2761
  },
@@ -2840,7 +2817,7 @@
2840
2817
  "action": "complete",
2841
2818
  "data": {
2842
2819
  "id": "ORD-100",
2843
- "total": 149.8,
2820
+ "value": 149.8,
2844
2821
  "currency": "EUR",
2845
2822
  "coupon": "WELCOME10"
2846
2823
  },
@@ -2897,7 +2874,7 @@
2897
2874
  "action": "complete",
2898
2875
  "data": {
2899
2876
  "id": "ORD-100",
2900
- "total": 149.8,
2877
+ "value": 149.8,
2901
2878
  "currency": "EUR",
2902
2879
  "coupon": "WELCOME10"
2903
2880
  },
@@ -2991,7 +2968,7 @@
2991
2968
  "action": "complete",
2992
2969
  "data": {
2993
2970
  "id": "ORD-100",
2994
- "total": 149.8,
2971
+ "value": 149.8,
2995
2972
  "currency": "EUR",
2996
2973
  "coupon": "WELCOME10"
2997
2974
  },
@@ -3051,7 +3028,7 @@
3051
3028
  "action": "complete",
3052
3029
  "data": {
3053
3030
  "id": "ORD-100",
3054
- "total": 149.8,
3031
+ "value": 149.8,
3055
3032
  "currency": "EUR",
3056
3033
  "coupon": "WELCOME10"
3057
3034
  },
@@ -3134,7 +3111,7 @@
3134
3111
  "action": "complete",
3135
3112
  "data": {
3136
3113
  "id": "ORD-100",
3137
- "total": 149.8,
3114
+ "value": 149.8,
3138
3115
  "currency": "EUR",
3139
3116
  "coupon": "WELCOME10"
3140
3117
  },
@@ -3194,7 +3171,7 @@
3194
3171
  "action": "complete",
3195
3172
  "data": {
3196
3173
  "id": "ORD-100",
3197
- "total": 149.8,
3174
+ "value": 149.8,
3198
3175
  "currency": "EUR",
3199
3176
  "coupon": "WELCOME10"
3200
3177
  },
@@ -3365,7 +3342,7 @@
3365
3342
  "action": "complete",
3366
3343
  "data": {
3367
3344
  "id": "ORD-100",
3368
- "total": 149.8,
3345
+ "value": 149.8,
3369
3346
  "currency": "EUR",
3370
3347
  "coupon": "WELCOME10"
3371
3348
  },
@@ -3425,7 +3402,7 @@
3425
3402
  "action": "complete",
3426
3403
  "data": {
3427
3404
  "id": "ORD-100",
3428
- "total": 149.8,
3405
+ "value": 149.8,
3429
3406
  "currency": "EUR",
3430
3407
  "coupon": "WELCOME10"
3431
3408
  },
@@ -3500,7 +3477,7 @@
3500
3477
  "action": "complete",
3501
3478
  "data": {
3502
3479
  "id": "ORD-100",
3503
- "total": 149.8,
3480
+ "value": 149.8,
3504
3481
  "currency": "EUR",
3505
3482
  "coupon": "WELCOME10"
3506
3483
  },
@@ -3561,7 +3538,7 @@
3561
3538
  "action": "complete",
3562
3539
  "data": {
3563
3540
  "id": "ORD-100",
3564
- "total": 149.8,
3541
+ "value": 149.8,
3565
3542
  "currency": "EUR",
3566
3543
  "coupon": "WELCOME10"
3567
3544
  },
@@ -3626,7 +3603,7 @@
3626
3603
  "action": "complete",
3627
3604
  "data": {
3628
3605
  "id": "ORD-100",
3629
- "total": 149.8,
3606
+ "value": 149.8,
3630
3607
  "currency": "EUR",
3631
3608
  "coupon": "WELCOME10"
3632
3609
  },
@@ -3685,7 +3662,7 @@
3685
3662
  "action": "complete",
3686
3663
  "data": {
3687
3664
  "id": "ORD-100",
3688
- "total": 149.8,
3665
+ "value": 149.8,
3689
3666
  "currency": "EUR",
3690
3667
  "coupon": "WELCOME10"
3691
3668
  },
@@ -3775,7 +3752,7 @@
3775
3752
  "action": "complete",
3776
3753
  "data": {
3777
3754
  "id": "ORD-100",
3778
- "total": 149.8,
3755
+ "value": 149.8,
3779
3756
  "currency": "EUR",
3780
3757
  "coupon": "WELCOME10"
3781
3758
  },
@@ -3837,7 +3814,7 @@
3837
3814
  "action": "complete",
3838
3815
  "data": {
3839
3816
  "id": "ORD-100",
3840
- "total": 149.8,
3817
+ "value": 149.8,
3841
3818
  "currency": "EUR",
3842
3819
  "coupon": "WELCOME10"
3843
3820
  },
@@ -3942,7 +3919,7 @@
3942
3919
  "action": "complete",
3943
3920
  "data": {
3944
3921
  "id": "ORD-100",
3945
- "total": 149.8,
3922
+ "value": 149.8,
3946
3923
  "currency": "EUR",
3947
3924
  "coupon": "WELCOME10"
3948
3925
  },
@@ -4005,7 +3982,7 @@
4005
3982
  "action": "complete",
4006
3983
  "data": {
4007
3984
  "id": "ORD-100",
4008
- "total": 149.8,
3985
+ "value": 149.8,
4009
3986
  "currency": "EUR",
4010
3987
  "coupon": "WELCOME10"
4011
3988
  },
@@ -4086,7 +4063,7 @@
4086
4063
  "action": "complete",
4087
4064
  "data": {
4088
4065
  "id": "ORD-100",
4089
- "total": 149.8,
4066
+ "value": 149.8,
4090
4067
  "currency": "EUR",
4091
4068
  "coupon": "WELCOME10"
4092
4069
  },
@@ -4149,7 +4126,7 @@
4149
4126
  "action": "complete",
4150
4127
  "data": {
4151
4128
  "id": "ORD-100",
4152
- "total": 149.8,
4129
+ "value": 149.8,
4153
4130
  "currency": "EUR",
4154
4131
  "coupon": "WELCOME10"
4155
4132
  },
@@ -4254,7 +4231,7 @@
4254
4231
  "action": "complete",
4255
4232
  "data": {
4256
4233
  "id": "ORD-100",
4257
- "total": 149.8,
4234
+ "value": 149.8,
4258
4235
  "currency": "EUR",
4259
4236
  "coupon": "WELCOME10"
4260
4237
  },
@@ -4311,7 +4288,7 @@
4311
4288
  [
4312
4289
  "PubSub.topic.publishMessage",
4313
4290
  {
4314
- "data": "{\"name\":\"order complete\",\"data\":{\"id\":\"ORD-100\",\"total\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"},\"context\":{},\"globals\":{\"language\":\"en\",\"pageGroup\":\"checkout\"},\"custom\":{},\"user\":{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\",\"email\":\"4cdea64501d6109d0a25750a7ce1d5c87e5fc927c61b674f191b73e28b582c93\",\"hash\":\"cea3ca84340feb4a\",\"botScore\":null,\"botCategory\":\"unknown\",\"ltv\":420,\"segment\":\"loyal\"},\"nested\":[{\"entity\":\"product\",\"data\":{\"id\":\"SKU-1\",\"name\":\"Trail Runner\",\"price\":129.9,\"quantity\":1}},{\"entity\":\"product\",\"data\":{\"id\":\"SKU-2\",\"name\":\"Running Socks\",\"price\":9.95,\"quantity\":2}}],\"consent\":{\"functional\":true,\"marketing\":true},\"id\":\"ev-order-complete\",\"trigger\":\"load\",\"entity\":\"order\",\"action\":\"complete\",\"timestamp\":1700000000000,\"timing\":0,\"source\":{\"type\":\"express\",\"platform\":\"server\",\"url\":\"https://www.example.com/checkout/thanks\",\"valid\":true,\"count\":1,\"release\":{\"server\":\"4.6.1\"}}}"
4291
+ "data": "{\"name\":\"order complete\",\"data\":{\"id\":\"ORD-100\",\"value\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"},\"context\":{},\"globals\":{\"language\":\"en\",\"pageGroup\":\"checkout\"},\"custom\":{},\"user\":{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\",\"email\":\"4cdea64501d6109d0a25750a7ce1d5c87e5fc927c61b674f191b73e28b582c93\",\"hash\":\"7f1b2860213c9d3d\",\"botScore\":0,\"botCategory\":\"human\",\"ltv\":420,\"segment\":\"loyal\"},\"nested\":[{\"entity\":\"product\",\"data\":{\"id\":\"SKU-1\",\"name\":\"Trail Runner\",\"price\":129.9,\"quantity\":1}},{\"entity\":\"product\",\"data\":{\"id\":\"SKU-2\",\"name\":\"Running Socks\",\"price\":9.95,\"quantity\":2}}],\"consent\":{\"functional\":true,\"marketing\":true},\"id\":\"ev-order-complete\",\"trigger\":\"load\",\"entity\":\"order\",\"action\":\"complete\",\"timestamp\":1700000000000,\"timing\":0,\"source\":{\"type\":\"express\",\"platform\":\"server\",\"url\":\"https://www.example.com/checkout/thanks\",\"valid\":true,\"count\":1,\"release\":{\"server\":\"4.6.1\"}}}"
4315
4292
  }
4316
4293
  ]
4317
4294
  ]
@@ -4361,7 +4338,7 @@
4361
4338
  },
4362
4339
  "data": {
4363
4340
  "map": {
4364
- "value": "data.total",
4341
+ "value": "data.value",
4365
4342
  "currency": [
4366
4343
  "data.currency",
4367
4344
  {
@@ -4411,7 +4388,7 @@
4411
4388
  },
4412
4389
  "data": {
4413
4390
  "map": {
4414
- "value": "data.total",
4391
+ "value": "data.value",
4415
4392
  "currency": [
4416
4393
  "data.currency",
4417
4394
  {
@@ -4428,7 +4405,7 @@
4428
4405
  "action": "complete",
4429
4406
  "data": {
4430
4407
  "id": "ORD-100",
4431
- "total": 149.8,
4408
+ "value": 149.8,
4432
4409
  "currency": "EUR",
4433
4410
  "coupon": "WELCOME10"
4434
4411
  },
@@ -4570,7 +4547,7 @@
4570
4547
  "name": "ecommerceOrder",
4571
4548
  "settings": {
4572
4549
  "goalId": "$env.PIWIK_ORDER_GOAL:6a0f4c1e-3b2d-4e8f-a7c9-1d2e3f4a5b6c",
4573
- "goalValue": "data.total"
4550
+ "goalValue": "data.value"
4574
4551
  },
4575
4552
  "data": {
4576
4553
  "set": [
@@ -4593,7 +4570,7 @@
4593
4570
  {
4594
4571
  "map": {
4595
4572
  "orderId": "data.id",
4596
- "grandTotal": "data.total"
4573
+ "grandTotal": "data.value"
4597
4574
  }
4598
4575
  }
4599
4576
  ]
@@ -4616,7 +4593,7 @@
4616
4593
  "name": "ecommerceOrder",
4617
4594
  "settings": {
4618
4595
  "goalId": "$env.PIWIK_ORDER_GOAL:6a0f4c1e-3b2d-4e8f-a7c9-1d2e3f4a5b6c",
4619
- "goalValue": "data.total"
4596
+ "goalValue": "data.value"
4620
4597
  },
4621
4598
  "data": {
4622
4599
  "set": [
@@ -4639,7 +4616,7 @@
4639
4616
  {
4640
4617
  "map": {
4641
4618
  "orderId": "data.id",
4642
- "grandTotal": "data.total"
4619
+ "grandTotal": "data.value"
4643
4620
  }
4644
4621
  }
4645
4622
  ]
@@ -4651,7 +4628,7 @@
4651
4628
  "action": "complete",
4652
4629
  "data": {
4653
4630
  "id": "ORD-100",
4654
- "total": 149.8,
4631
+ "value": 149.8,
4655
4632
  "currency": "EUR",
4656
4633
  "coupon": "WELCOME10"
4657
4634
  },
@@ -4743,7 +4720,7 @@
4743
4720
  "data": {
4744
4721
  "map": {
4745
4722
  "transactionId": "data.id",
4746
- "conversionValue": "data.total",
4723
+ "conversionValue": "data.value",
4747
4724
  "currency": [
4748
4725
  "data.currency",
4749
4726
  {
@@ -4777,7 +4754,7 @@
4777
4754
  "data": {
4778
4755
  "map": {
4779
4756
  "transactionId": "data.id",
4780
- "conversionValue": "data.total",
4757
+ "conversionValue": "data.value",
4781
4758
  "currency": [
4782
4759
  "data.currency",
4783
4760
  {
@@ -4794,7 +4771,7 @@
4794
4771
  "action": "complete",
4795
4772
  "data": {
4796
4773
  "id": "ORD-100",
4797
- "total": 149.8,
4774
+ "value": 149.8,
4798
4775
  "currency": "EUR",
4799
4776
  "coupon": "WELCOME10",
4800
4777
  "session": {
@@ -4875,13 +4852,13 @@
4875
4852
  "bundle": {
4876
4853
  "packages": {
4877
4854
  "@walkeros/collector": {
4878
- "version": "4.8.1"
4855
+ "version": "4.8.3-next-1793115089237"
4879
4856
  },
4880
4857
  "@walkeros/server-source-gcp": {
4881
- "version": "4.8.1"
4858
+ "version": "4.8.3-next-1793115089237"
4882
4859
  },
4883
4860
  "@walkeros/server-destination-gcp": {
4884
- "version": "4.8.1"
4861
+ "version": "4.8.3-next-1793115089237"
4885
4862
  }
4886
4863
  }
4887
4864
  }
@@ -4913,7 +4890,7 @@
4913
4890
  "public": true,
4914
4891
  "in": {
4915
4892
  "id": "msg-1",
4916
- "dataString": "{\"name\":\"order complete\",\"entity\":\"order\",\"action\":\"complete\",\"data\":{\"id\":\"ORD-100\",\"total\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"},\"id\":\"ev-order-complete\",\"trigger\":\"load\",\"timestamp\":1700000000000,\"consent\":{\"functional\":true,\"marketing\":true},\"globals\":{\"language\":\"en\",\"pageGroup\":\"checkout\"},\"user\":{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\",\"email\":\"31b4ae339b671c9e81adbe27e74b38f09a4756300de6b81998c83a3964cbb849\",\"hash\":\"5f1c0a9e7d3b2c41\",\"botScore\":0,\"botCategory\":\"human\",\"ltv\":420,\"segment\":\"loyal\"},\"source\":{\"type\":\"express\",\"platform\":\"server\",\"url\":\"https://www.example.com/checkout/thanks\",\"valid\":true},\"nested\":[{\"entity\":\"product\",\"data\":{\"id\":\"SKU-1\",\"name\":\"Trail Runner\",\"price\":129.9,\"quantity\":1}},{\"entity\":\"product\",\"data\":{\"id\":\"SKU-2\",\"name\":\"Running Socks\",\"price\":9.95,\"quantity\":2}}]}",
4893
+ "dataString": "{\"name\":\"order complete\",\"entity\":\"order\",\"action\":\"complete\",\"data\":{\"id\":\"ORD-100\",\"value\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"},\"id\":\"ev-order-complete\",\"trigger\":\"load\",\"timestamp\":1700000000000,\"consent\":{\"functional\":true,\"marketing\":true},\"globals\":{\"language\":\"en\",\"pageGroup\":\"checkout\"},\"user\":{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\",\"email\":\"31b4ae339b671c9e81adbe27e74b38f09a4756300de6b81998c83a3964cbb849\",\"hash\":\"5f1c0a9e7d3b2c41\",\"botScore\":0,\"botCategory\":\"human\",\"ltv\":420,\"segment\":\"loyal\"},\"source\":{\"type\":\"express\",\"platform\":\"server\",\"url\":\"https://www.example.com/checkout/thanks\",\"valid\":true},\"nested\":[{\"entity\":\"product\",\"data\":{\"id\":\"SKU-1\",\"name\":\"Trail Runner\",\"price\":129.9,\"quantity\":1}},{\"entity\":\"product\",\"data\":{\"id\":\"SKU-2\",\"name\":\"Running Socks\",\"price\":9.95,\"quantity\":2}}]}",
4917
4894
  "attributes": {}
4918
4895
  },
4919
4896
  "out": [
@@ -4925,7 +4902,7 @@
4925
4902
  "action": "complete",
4926
4903
  "data": {
4927
4904
  "id": "ORD-100",
4928
- "total": 149.8,
4905
+ "value": 149.8,
4929
4906
  "currency": "EUR",
4930
4907
  "coupon": "WELCOME10"
4931
4908
  },
@@ -5017,7 +4994,7 @@
5017
4994
  "action": "complete",
5018
4995
  "data": {
5019
4996
  "id": "ORD-100",
5020
- "total": 149.8,
4997
+ "value": 149.8,
5021
4998
  "currency": "EUR",
5022
4999
  "coupon": "WELCOME10"
5023
5000
  },
@@ -5075,7 +5052,7 @@
5075
5052
  [
5076
5053
  {
5077
5054
  "name": "order complete",
5078
- "data": "{\"id\":\"ORD-100\",\"total\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"}",
5055
+ "data": "{\"id\":\"ORD-100\",\"value\":149.8,\"currency\":\"EUR\",\"coupon\":\"WELCOME10\"}",
5079
5056
  "context": null,
5080
5057
  "globals": "{\"language\":\"en\",\"pageGroup\":\"checkout\"}",
5081
5058
  "custom": null,