@walkeros/cli 4.7.2 → 4.8.0-next-1791496487198
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/CHANGELOG.md +24 -0
- package/dist/cli.js +558 -554
- package/dist/examples/flow-complete.json +34 -30
- package/dist/examples/flow-complete.md +0 -3
- package/dist/examples/flow-selfhost-test.json +0 -1
- package/dist/examples/index.d.ts +0 -8
- package/dist/examples/index.js +34 -38
- package/dist/examples/index.js.map +1 -1
- package/dist/examples/server-collect.json +0 -1
- package/dist/index.d.ts +22 -10
- package/dist/index.js +24 -14
- package/dist/index.js.map +1 -1
- package/examples/flow-complete.json +34 -30
- package/examples/flow-complete.md +0 -3
- package/examples/flow-selfhost-test.json +0 -1
- package/examples/server-collect.json +0 -1
- package/openapi/client-operations.json +8 -8
- package/openapi/spec.json +51 -5
- package/package.json +29 -29
|
@@ -241,25 +241,25 @@
|
|
|
241
241
|
"bundle": {
|
|
242
242
|
"packages": {
|
|
243
243
|
"@walkeros/collector": {
|
|
244
|
-
"version": "4.
|
|
244
|
+
"version": "4.8.0-next-1791496487198"
|
|
245
245
|
},
|
|
246
246
|
"@walkeros/web-source-cmp-usercentrics": {
|
|
247
|
-
"version": "4.
|
|
247
|
+
"version": "4.8.0-next-1791496487198"
|
|
248
248
|
},
|
|
249
249
|
"@walkeros/web-source-session": {
|
|
250
|
-
"version": "4.
|
|
250
|
+
"version": "4.8.0-next-1791496487198"
|
|
251
251
|
},
|
|
252
252
|
"@walkeros/web-source-datalayer": {
|
|
253
|
-
"version": "4.
|
|
253
|
+
"version": "4.8.0-next-1791496487198"
|
|
254
254
|
},
|
|
255
255
|
"@walkeros/web-source-browser": {
|
|
256
|
-
"version": "4.
|
|
256
|
+
"version": "4.8.0-next-1791496487198"
|
|
257
257
|
},
|
|
258
258
|
"@walkeros/web-destination-gtag": {
|
|
259
|
-
"version": "4.
|
|
259
|
+
"version": "4.8.0-next-1791496487198"
|
|
260
260
|
},
|
|
261
261
|
"@walkeros/web-destination-api": {
|
|
262
|
-
"version": "4.
|
|
262
|
+
"version": "4.8.0-next-1791496487198"
|
|
263
263
|
}
|
|
264
264
|
},
|
|
265
265
|
"env": {
|
|
@@ -1765,40 +1765,40 @@
|
|
|
1765
1765
|
"bundle": {
|
|
1766
1766
|
"packages": {
|
|
1767
1767
|
"@walkeros/collector": {
|
|
1768
|
-
"version": "4.
|
|
1768
|
+
"version": "4.8.0-next-1791496487198"
|
|
1769
1769
|
},
|
|
1770
1770
|
"@walkeros/server-source-express": {
|
|
1771
|
-
"version": "4.
|
|
1771
|
+
"version": "4.8.0-next-1791496487198"
|
|
1772
1772
|
},
|
|
1773
1773
|
"@walkeros/transformer-ga4": {
|
|
1774
|
-
"version": "4.
|
|
1774
|
+
"version": "4.8.0-next-1791496487198"
|
|
1775
1775
|
},
|
|
1776
1776
|
"@walkeros/transformer-validate": {
|
|
1777
|
-
"version": "4.
|
|
1777
|
+
"version": "4.8.0-next-1791496487198"
|
|
1778
1778
|
},
|
|
1779
1779
|
"@walkeros/server-transformer-bot": {
|
|
1780
|
-
"version": "4.
|
|
1780
|
+
"version": "4.8.0-next-1791496487198"
|
|
1781
1781
|
},
|
|
1782
1782
|
"@walkeros/server-transformer-fingerprint": {
|
|
1783
|
-
"version": "4.
|
|
1783
|
+
"version": "4.8.0-next-1791496487198"
|
|
1784
1784
|
},
|
|
1785
1785
|
"@walkeros/server-transformer-file": {
|
|
1786
|
-
"version": "4.
|
|
1786
|
+
"version": "4.8.0-next-1791496487198"
|
|
1787
1787
|
},
|
|
1788
1788
|
"@walkeros/server-store-fs": {
|
|
1789
|
-
"version": "4.
|
|
1789
|
+
"version": "4.8.0-next-1791496487198"
|
|
1790
1790
|
},
|
|
1791
1791
|
"@walkeros/server-destination-gcp": {
|
|
1792
|
-
"version": "4.
|
|
1792
|
+
"version": "4.8.0-next-1791496487198"
|
|
1793
1793
|
},
|
|
1794
1794
|
"@walkeros/server-destination-meta": {
|
|
1795
|
-
"version": "4.
|
|
1795
|
+
"version": "4.8.0-next-1791496487198"
|
|
1796
1796
|
},
|
|
1797
1797
|
"@walkeros/server-destination-piwikpro": {
|
|
1798
|
-
"version": "4.
|
|
1798
|
+
"version": "4.8.0-next-1791496487198"
|
|
1799
1799
|
},
|
|
1800
1800
|
"@walkeros/server-destination-datamanager": {
|
|
1801
|
-
"version": "4.
|
|
1801
|
+
"version": "4.8.0-next-1791496487198"
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
1804
|
}
|
|
@@ -1856,7 +1856,6 @@
|
|
|
1856
1856
|
"primary": true,
|
|
1857
1857
|
"config": {
|
|
1858
1858
|
"settings": {
|
|
1859
|
-
"port": 8080,
|
|
1860
1859
|
"paths": [
|
|
1861
1860
|
{
|
|
1862
1861
|
"path": "/collect",
|
|
@@ -4110,7 +4109,8 @@
|
|
|
4110
4109
|
"hash": "5f1c0a9e7d3b2c41",
|
|
4111
4110
|
"botScore": 0,
|
|
4112
4111
|
"botCategory": "human",
|
|
4113
|
-
"ltv": 420
|
|
4112
|
+
"ltv": 420,
|
|
4113
|
+
"segment": "loyal"
|
|
4114
4114
|
},
|
|
4115
4115
|
"source": {
|
|
4116
4116
|
"type": "express",
|
|
@@ -4172,7 +4172,8 @@
|
|
|
4172
4172
|
"hash": "5f1c0a9e7d3b2c41",
|
|
4173
4173
|
"botScore": 0,
|
|
4174
4174
|
"botCategory": "human",
|
|
4175
|
-
"ltv": 420
|
|
4175
|
+
"ltv": 420,
|
|
4176
|
+
"segment": "loyal"
|
|
4176
4177
|
},
|
|
4177
4178
|
"source": {
|
|
4178
4179
|
"type": "express",
|
|
@@ -4276,7 +4277,8 @@
|
|
|
4276
4277
|
"hash": "5f1c0a9e7d3b2c41",
|
|
4277
4278
|
"botScore": 0,
|
|
4278
4279
|
"botCategory": "human",
|
|
4279
|
-
"ltv": 420
|
|
4280
|
+
"ltv": 420,
|
|
4281
|
+
"segment": "loyal"
|
|
4280
4282
|
},
|
|
4281
4283
|
"source": {
|
|
4282
4284
|
"type": "express",
|
|
@@ -4873,13 +4875,13 @@
|
|
|
4873
4875
|
"bundle": {
|
|
4874
4876
|
"packages": {
|
|
4875
4877
|
"@walkeros/collector": {
|
|
4876
|
-
"version": "4.
|
|
4878
|
+
"version": "4.8.0-next-1791496487198"
|
|
4877
4879
|
},
|
|
4878
4880
|
"@walkeros/server-source-gcp": {
|
|
4879
|
-
"version": "4.
|
|
4881
|
+
"version": "4.8.0-next-1791496487198"
|
|
4880
4882
|
},
|
|
4881
4883
|
"@walkeros/server-destination-gcp": {
|
|
4882
|
-
"version": "4.
|
|
4884
|
+
"version": "4.8.0-next-1791496487198"
|
|
4883
4885
|
}
|
|
4884
4886
|
}
|
|
4885
4887
|
}
|
|
@@ -4911,7 +4913,7 @@
|
|
|
4911
4913
|
"public": true,
|
|
4912
4914
|
"in": {
|
|
4913
4915
|
"id": "msg-1",
|
|
4914
|
-
"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},\"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}}]}",
|
|
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}}]}",
|
|
4915
4917
|
"attributes": {}
|
|
4916
4918
|
},
|
|
4917
4919
|
"out": [
|
|
@@ -4945,7 +4947,8 @@
|
|
|
4945
4947
|
"hash": "5f1c0a9e7d3b2c41",
|
|
4946
4948
|
"botScore": 0,
|
|
4947
4949
|
"botCategory": "human",
|
|
4948
|
-
"ltv": 420
|
|
4950
|
+
"ltv": 420,
|
|
4951
|
+
"segment": "loyal"
|
|
4949
4952
|
},
|
|
4950
4953
|
"source": {
|
|
4951
4954
|
"type": "express",
|
|
@@ -5036,7 +5039,8 @@
|
|
|
5036
5039
|
"hash": "5f1c0a9e7d3b2c41",
|
|
5037
5040
|
"botScore": 0,
|
|
5038
5041
|
"botCategory": "human",
|
|
5039
|
-
"ltv": 420
|
|
5042
|
+
"ltv": 420,
|
|
5043
|
+
"segment": "loyal"
|
|
5040
5044
|
},
|
|
5041
5045
|
"source": {
|
|
5042
5046
|
"type": "express",
|
|
@@ -5075,7 +5079,7 @@
|
|
|
5075
5079
|
"context": null,
|
|
5076
5080
|
"globals": "{\"language\":\"en\",\"pageGroup\":\"checkout\"}",
|
|
5077
5081
|
"custom": null,
|
|
5078
|
-
"user": "{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\",\"hash\":\"5f1c0a9e7d3b2c41\",\"botScore\":0,\"botCategory\":\"human\",\"ltv\":420}",
|
|
5082
|
+
"user": "{\"device\":\"d3v1c3\",\"session\":\"s3ss10n\",\"id\":\"cust-42\",\"hash\":\"5f1c0a9e7d3b2c41\",\"botScore\":0,\"botCategory\":\"human\",\"ltv\":420,\"segment\":\"loyal\"}",
|
|
5079
5083
|
"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}}]",
|
|
5080
5084
|
"consent": "{\"functional\":true,\"marketing\":true}",
|
|
5081
5085
|
"id": "ev-order-complete",
|
|
@@ -145,9 +145,6 @@ walkeros push packages/cli/examples/flow-complete.json -f web -e '{"name":"page
|
|
|
145
145
|
- `express-paths` at `/flows/server/sources/express/config/settings/paths`:
|
|
146
146
|
One route per job, each with its own methods: /collect, /g/collect,
|
|
147
147
|
/walker.js.
|
|
148
|
-
- `express-port` at `/flows/server/sources/express/config/settings/port`: port
|
|
149
|
-
lets push --simulate start the source; runneros mounts the handler on its
|
|
150
|
-
own port.
|
|
151
148
|
- `express-cors` at `/flows/server/sources/express/config/settings/cors`: CORS
|
|
152
149
|
response headers for the shop origin; express adds X-Content-Type-Options
|
|
153
150
|
itself.
|
package/dist/examples/index.d.ts
CHANGED
|
@@ -346,14 +346,6 @@ declare const teaching: {
|
|
|
346
346
|
name: string;
|
|
347
347
|
};
|
|
348
348
|
};
|
|
349
|
-
'express-port': {
|
|
350
|
-
pointer: string;
|
|
351
|
-
chapter: "server-entry";
|
|
352
|
-
level: "beginner";
|
|
353
|
-
useCases: never[];
|
|
354
|
-
note: string;
|
|
355
|
-
docs: never[];
|
|
356
|
-
};
|
|
357
349
|
'express-cors': {
|
|
358
350
|
pointer: string;
|
|
359
351
|
chapter: "server-entry";
|
package/dist/examples/index.js
CHANGED
|
@@ -264,25 +264,25 @@ var flow_complete_default = {
|
|
|
264
264
|
bundle: {
|
|
265
265
|
packages: {
|
|
266
266
|
"@walkeros/collector": {
|
|
267
|
-
version: "4.
|
|
267
|
+
version: "4.8.0-next-1791496487198"
|
|
268
268
|
},
|
|
269
269
|
"@walkeros/web-source-cmp-usercentrics": {
|
|
270
|
-
version: "4.
|
|
270
|
+
version: "4.8.0-next-1791496487198"
|
|
271
271
|
},
|
|
272
272
|
"@walkeros/web-source-session": {
|
|
273
|
-
version: "4.
|
|
273
|
+
version: "4.8.0-next-1791496487198"
|
|
274
274
|
},
|
|
275
275
|
"@walkeros/web-source-datalayer": {
|
|
276
|
-
version: "4.
|
|
276
|
+
version: "4.8.0-next-1791496487198"
|
|
277
277
|
},
|
|
278
278
|
"@walkeros/web-source-browser": {
|
|
279
|
-
version: "4.
|
|
279
|
+
version: "4.8.0-next-1791496487198"
|
|
280
280
|
},
|
|
281
281
|
"@walkeros/web-destination-gtag": {
|
|
282
|
-
version: "4.
|
|
282
|
+
version: "4.8.0-next-1791496487198"
|
|
283
283
|
},
|
|
284
284
|
"@walkeros/web-destination-api": {
|
|
285
|
-
version: "4.
|
|
285
|
+
version: "4.8.0-next-1791496487198"
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
env: {
|
|
@@ -1788,40 +1788,40 @@ var flow_complete_default = {
|
|
|
1788
1788
|
bundle: {
|
|
1789
1789
|
packages: {
|
|
1790
1790
|
"@walkeros/collector": {
|
|
1791
|
-
version: "4.
|
|
1791
|
+
version: "4.8.0-next-1791496487198"
|
|
1792
1792
|
},
|
|
1793
1793
|
"@walkeros/server-source-express": {
|
|
1794
|
-
version: "4.
|
|
1794
|
+
version: "4.8.0-next-1791496487198"
|
|
1795
1795
|
},
|
|
1796
1796
|
"@walkeros/transformer-ga4": {
|
|
1797
|
-
version: "4.
|
|
1797
|
+
version: "4.8.0-next-1791496487198"
|
|
1798
1798
|
},
|
|
1799
1799
|
"@walkeros/transformer-validate": {
|
|
1800
|
-
version: "4.
|
|
1800
|
+
version: "4.8.0-next-1791496487198"
|
|
1801
1801
|
},
|
|
1802
1802
|
"@walkeros/server-transformer-bot": {
|
|
1803
|
-
version: "4.
|
|
1803
|
+
version: "4.8.0-next-1791496487198"
|
|
1804
1804
|
},
|
|
1805
1805
|
"@walkeros/server-transformer-fingerprint": {
|
|
1806
|
-
version: "4.
|
|
1806
|
+
version: "4.8.0-next-1791496487198"
|
|
1807
1807
|
},
|
|
1808
1808
|
"@walkeros/server-transformer-file": {
|
|
1809
|
-
version: "4.
|
|
1809
|
+
version: "4.8.0-next-1791496487198"
|
|
1810
1810
|
},
|
|
1811
1811
|
"@walkeros/server-store-fs": {
|
|
1812
|
-
version: "4.
|
|
1812
|
+
version: "4.8.0-next-1791496487198"
|
|
1813
1813
|
},
|
|
1814
1814
|
"@walkeros/server-destination-gcp": {
|
|
1815
|
-
version: "4.
|
|
1815
|
+
version: "4.8.0-next-1791496487198"
|
|
1816
1816
|
},
|
|
1817
1817
|
"@walkeros/server-destination-meta": {
|
|
1818
|
-
version: "4.
|
|
1818
|
+
version: "4.8.0-next-1791496487198"
|
|
1819
1819
|
},
|
|
1820
1820
|
"@walkeros/server-destination-piwikpro": {
|
|
1821
|
-
version: "4.
|
|
1821
|
+
version: "4.8.0-next-1791496487198"
|
|
1822
1822
|
},
|
|
1823
1823
|
"@walkeros/server-destination-datamanager": {
|
|
1824
|
-
version: "4.
|
|
1824
|
+
version: "4.8.0-next-1791496487198"
|
|
1825
1825
|
}
|
|
1826
1826
|
}
|
|
1827
1827
|
}
|
|
@@ -1879,7 +1879,6 @@ var flow_complete_default = {
|
|
|
1879
1879
|
primary: true,
|
|
1880
1880
|
config: {
|
|
1881
1881
|
settings: {
|
|
1882
|
-
port: 8080,
|
|
1883
1882
|
paths: [
|
|
1884
1883
|
{
|
|
1885
1884
|
path: "/collect",
|
|
@@ -4133,7 +4132,8 @@ var flow_complete_default = {
|
|
|
4133
4132
|
hash: "5f1c0a9e7d3b2c41",
|
|
4134
4133
|
botScore: 0,
|
|
4135
4134
|
botCategory: "human",
|
|
4136
|
-
ltv: 420
|
|
4135
|
+
ltv: 420,
|
|
4136
|
+
segment: "loyal"
|
|
4137
4137
|
},
|
|
4138
4138
|
source: {
|
|
4139
4139
|
type: "express",
|
|
@@ -4195,7 +4195,8 @@ var flow_complete_default = {
|
|
|
4195
4195
|
hash: "5f1c0a9e7d3b2c41",
|
|
4196
4196
|
botScore: 0,
|
|
4197
4197
|
botCategory: "human",
|
|
4198
|
-
ltv: 420
|
|
4198
|
+
ltv: 420,
|
|
4199
|
+
segment: "loyal"
|
|
4199
4200
|
},
|
|
4200
4201
|
source: {
|
|
4201
4202
|
type: "express",
|
|
@@ -4299,7 +4300,8 @@ var flow_complete_default = {
|
|
|
4299
4300
|
hash: "5f1c0a9e7d3b2c41",
|
|
4300
4301
|
botScore: 0,
|
|
4301
4302
|
botCategory: "human",
|
|
4302
|
-
ltv: 420
|
|
4303
|
+
ltv: 420,
|
|
4304
|
+
segment: "loyal"
|
|
4303
4305
|
},
|
|
4304
4306
|
source: {
|
|
4305
4307
|
type: "express",
|
|
@@ -4896,13 +4898,13 @@ var flow_complete_default = {
|
|
|
4896
4898
|
bundle: {
|
|
4897
4899
|
packages: {
|
|
4898
4900
|
"@walkeros/collector": {
|
|
4899
|
-
version: "4.
|
|
4901
|
+
version: "4.8.0-next-1791496487198"
|
|
4900
4902
|
},
|
|
4901
4903
|
"@walkeros/server-source-gcp": {
|
|
4902
|
-
version: "4.
|
|
4904
|
+
version: "4.8.0-next-1791496487198"
|
|
4903
4905
|
},
|
|
4904
4906
|
"@walkeros/server-destination-gcp": {
|
|
4905
|
-
version: "4.
|
|
4907
|
+
version: "4.8.0-next-1791496487198"
|
|
4906
4908
|
}
|
|
4907
4909
|
}
|
|
4908
4910
|
}
|
|
@@ -4934,7 +4936,7 @@ var flow_complete_default = {
|
|
|
4934
4936
|
public: true,
|
|
4935
4937
|
in: {
|
|
4936
4938
|
id: "msg-1",
|
|
4937
|
-
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},"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}}]}',
|
|
4939
|
+
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}}]}',
|
|
4938
4940
|
attributes: {}
|
|
4939
4941
|
},
|
|
4940
4942
|
out: [
|
|
@@ -4968,7 +4970,8 @@ var flow_complete_default = {
|
|
|
4968
4970
|
hash: "5f1c0a9e7d3b2c41",
|
|
4969
4971
|
botScore: 0,
|
|
4970
4972
|
botCategory: "human",
|
|
4971
|
-
ltv: 420
|
|
4973
|
+
ltv: 420,
|
|
4974
|
+
segment: "loyal"
|
|
4972
4975
|
},
|
|
4973
4976
|
source: {
|
|
4974
4977
|
type: "express",
|
|
@@ -5059,7 +5062,8 @@ var flow_complete_default = {
|
|
|
5059
5062
|
hash: "5f1c0a9e7d3b2c41",
|
|
5060
5063
|
botScore: 0,
|
|
5061
5064
|
botCategory: "human",
|
|
5062
|
-
ltv: 420
|
|
5065
|
+
ltv: 420,
|
|
5066
|
+
segment: "loyal"
|
|
5063
5067
|
},
|
|
5064
5068
|
source: {
|
|
5065
5069
|
type: "express",
|
|
@@ -5098,7 +5102,7 @@ var flow_complete_default = {
|
|
|
5098
5102
|
context: null,
|
|
5099
5103
|
globals: '{"language":"en","pageGroup":"checkout"}',
|
|
5100
5104
|
custom: null,
|
|
5101
|
-
user: '{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","hash":"5f1c0a9e7d3b2c41","botScore":0,"botCategory":"human","ltv":420}',
|
|
5105
|
+
user: '{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","hash":"5f1c0a9e7d3b2c41","botScore":0,"botCategory":"human","ltv":420,"segment":"loyal"}',
|
|
5102
5106
|
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}}]',
|
|
5103
5107
|
consent: '{"functional":true,"marketing":true}',
|
|
5104
5108
|
id: "ev-order-complete",
|
|
@@ -5418,14 +5422,6 @@ var teaching = {
|
|
|
5418
5422
|
docs: [],
|
|
5419
5423
|
example: { step: "express", name: "postCollect" }
|
|
5420
5424
|
},
|
|
5421
|
-
"express-port": {
|
|
5422
|
-
pointer: "/flows/server/sources/express/config/settings/port",
|
|
5423
|
-
chapter: "server-entry",
|
|
5424
|
-
level: "beginner",
|
|
5425
|
-
useCases: [],
|
|
5426
|
-
note: "port lets push --simulate start the source; runneros mounts the handler on its own port.",
|
|
5427
|
-
docs: []
|
|
5428
|
-
},
|
|
5429
5425
|
"express-cors": {
|
|
5430
5426
|
pointer: "/flows/server/sources/express/config/settings/cors",
|
|
5431
5427
|
chapter: "server-entry",
|