@metarouter/ajs-starter-kit 1.0.136 → 1.0.138
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/actioniq/kit.etag.json +1 -1
- package/.dist/actioniq/metadata.json +4 -0
- package/.dist/actioniq/playbook.etag.json +1 -1
- package/.dist/actioniq/playbook.json +2 -2
- package/.dist/adobe-experience-platform-interact/kit.etag.json +1 -1
- package/.dist/adobe-experience-platform-interact/metadata.json +4 -0
- package/.dist/adobe-experience-platform-interact/playbook.etag.json +1 -1
- package/.dist/adobe-experience-platform-interact/playbook.json +2 -2
- package/.dist/amazon-dsp-capi/kit.etag.json +1 -1
- package/.dist/amazon-dsp-capi/metadata.json +9 -1
- package/.dist/amazon-dsp-capi/playbook.etag.json +1 -1
- package/.dist/amazon-dsp-capi/playbook.json +6 -118
- package/.dist/blueshift/kit.etag.json +1 -1
- package/.dist/blueshift/metadata.json +4 -0
- package/.dist/blueshift/playbook.etag.json +1 -1
- package/.dist/blueshift/playbook.json +2 -2
- package/.dist/button/kit.etag.json +1 -1
- package/.dist/button/metadata.json +4 -0
- package/.dist/button/playbook.etag.json +1 -1
- package/.dist/button/playbook.json +2 -2
- package/.dist/clinch/kit.etag.json +1 -1
- package/.dist/clinch/metadata.json +4 -0
- package/.dist/clinch/playbook.etag.json +1 -1
- package/.dist/clinch/playbook.json +2 -2
- package/.dist/commission-junction/kit.etag.json +1 -1
- package/.dist/commission-junction/metadata.json +4 -0
- package/.dist/commission-junction/playbook.etag.json +1 -1
- package/.dist/commission-junction/playbook.json +3 -3
- package/.dist/criteo/connection.etag.json +1 -1
- package/.dist/criteo/connection.json +1 -1
- package/.dist/criteo/kit.etag.json +1 -1
- package/.dist/criteo/metadata.json +4 -0
- package/.dist/criteo/playbook.etag.json +1 -1
- package/.dist/criteo/playbook.json +7 -7
- package/.dist/facebook-pixel/kit.etag.json +1 -1
- package/.dist/facebook-pixel/metadata.json +8 -0
- package/.dist/facebook-pixel/playbook.etag.json +1 -1
- package/.dist/facebook-pixel/playbook.json +14 -8
- package/.dist/google-cm360/kit.etag.json +1 -1
- package/.dist/hubspot-event/kit.etag.json +1 -1
- package/.dist/hubspot-event/metadata.json +4 -0
- package/.dist/hubspot-event/playbook.etag.json +1 -1
- package/.dist/hubspot-event/playbook.json +2 -2
- package/.dist/linkedin-conversions/connection.etag.json +1 -1
- package/.dist/linkedin-conversions/connection.json +1 -1
- package/.dist/linkedin-conversions/kit.etag.json +1 -1
- package/.dist/linkedin-conversions/metadata.json +8 -0
- package/.dist/linkedin-conversions/playbook.etag.json +1 -1
- package/.dist/linkedin-conversions/playbook.json +109 -45
- package/.dist/magellan-ai/kit.etag.json +1 -1
- package/.dist/magellan-ai/metadata.json +4 -0
- package/.dist/magellan-ai/playbook.etag.json +1 -1
- package/.dist/magellan-ai/playbook.json +2 -2
- package/.dist/merkle/kit.etag.json +1 -1
- package/.dist/merkle/metadata.json +4 -0
- package/.dist/merkle/playbook.etag.json +1 -1
- package/.dist/merkle/playbook.json +3 -11
- package/.dist/microsoft-ads/kit.etag.json +1 -1
- package/.dist/microsoft-ads/metadata.json +4 -0
- package/.dist/microsoft-ads/playbook.etag.json +1 -1
- package/.dist/microsoft-ads/playbook.json +2 -2
- package/.dist/nextdoor-capi/kit.etag.json +1 -1
- package/.dist/nextdoor-capi/metadata.json +4 -0
- package/.dist/nextdoor-capi/playbook.etag.json +1 -1
- package/.dist/nextdoor-capi/playbook.json +11 -11
- package/.dist/podscribe/kit.etag.json +1 -1
- package/.dist/podscribe/metadata.json +8 -0
- package/.dist/podscribe/playbook.etag.json +1 -1
- package/.dist/podscribe/playbook.json +3 -3
- package/.dist/rakuten-conversions/connection.etag.json +1 -0
- package/.dist/rakuten-conversions/connection.json +24 -0
- package/.dist/rakuten-conversions/kit.etag.json +1 -0
- package/.dist/rakuten-conversions/metadata.json +21 -0
- package/.dist/rakuten-conversions/playbook.etag.json +1 -0
- package/.dist/rakuten-conversions/playbook.json +279 -0
- package/.dist/rasp/kit.etag.json +1 -1
- package/.dist/rasp/metadata.json +4 -0
- package/.dist/rasp/playbook.etag.json +1 -1
- package/.dist/rasp/playbook.json +2 -2
- package/.dist/reddit-ads/kit.etag.json +1 -1
- package/.dist/reddit-ads/metadata.json +4 -0
- package/.dist/reddit-ads/playbook.etag.json +1 -1
- package/.dist/reddit-ads/playbook.json +3 -3
- package/.dist/ringier-axel-springer-poland/kit.etag.json +1 -1
- package/.dist/ringier-axel-springer-poland/metadata.json +4 -0
- package/.dist/ringier-axel-springer-poland/playbook.etag.json +1 -1
- package/.dist/ringier-axel-springer-poland/playbook.json +2 -2
- package/.dist/roku/kit.etag.json +1 -1
- package/.dist/roku/metadata.json +4 -0
- package/.dist/roku/playbook.etag.json +1 -1
- package/.dist/roku/playbook.json +2 -2
- package/.dist/rtb-house/kit.etag.json +1 -1
- package/.dist/rtb-house/metadata.json +4 -0
- package/.dist/rtb-house/playbook.etag.json +1 -1
- package/.dist/rtb-house/playbook.json +2 -2
- package/.dist/salesforce-cdp/kit.etag.json +1 -1
- package/.dist/salesforce-cdp/metadata.json +4 -0
- package/.dist/salesforce-cdp/playbook.etag.json +1 -1
- package/.dist/salesforce-cdp/playbook.json +2 -2
- package/.dist/snapchat-capi/kit.etag.json +1 -1
- package/.dist/snapchat-capi/metadata.json +4 -0
- package/.dist/snapchat-capi/playbook.etag.json +1 -1
- package/.dist/snapchat-capi/playbook.json +10 -10
- package/.dist/thetradedesk-conversion-events/kit.etag.json +1 -1
- package/.dist/thetradedesk-conversion-events/metadata.json +4 -0
- package/.dist/thetradedesk-conversion-events/playbook.etag.json +1 -1
- package/.dist/thetradedesk-conversion-events/playbook.json +2 -2
- package/.dist/thetradedesk-data-advertiser-firstparty/kit.etag.json +1 -1
- package/.dist/thetradedesk-data-advertiser-firstparty/metadata.json +4 -0
- package/.dist/thetradedesk-data-advertiser-firstparty/playbook.etag.json +1 -1
- package/.dist/thetradedesk-data-advertiser-firstparty/playbook.json +2 -2
- package/.dist/tiktok/kit.etag.json +1 -1
- package/.dist/tiktok/metadata.json +4 -0
- package/.dist/tiktok/playbook.etag.json +1 -1
- package/.dist/tiktok/playbook.json +3 -3
- package/.dist/ttd-conversions/kit.etag.json +1 -1
- package/.dist/ttd-conversions/metadata.json +9 -1
- package/.dist/ttd-conversions/playbook.etag.json +1 -1
- package/.dist/ttd-conversions/playbook.json +9 -41
- package/.dist/twitter-conversions/kit.etag.json +1 -1
- package/.dist/twitter-conversions/metadata.json +4 -0
- package/.dist/twitter-conversions/playbook.etag.json +1 -1
- package/.dist/twitter-conversions/playbook.json +3 -3
- package/.dist/x-ads/kit.etag.json +1 -1
- package/.dist/x-ads/metadata.json +4 -0
- package/.dist/x-ads/playbook.etag.json +1 -1
- package/.dist/x-ads/playbook.json +2 -2
- package/README.md +60 -56
- package/index.js +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.0",
|
|
3
|
+
"params": [
|
|
4
|
+
{
|
|
5
|
+
"name": "MERCHANT_ID",
|
|
6
|
+
"exampleValue": "my_merchant_id"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"global": {
|
|
10
|
+
"enrichments": [
|
|
11
|
+
{
|
|
12
|
+
"staticString": "$$MERCHANT_ID$$",
|
|
13
|
+
"outputKey": "mid"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"mappings": [
|
|
17
|
+
{
|
|
18
|
+
"inputKey": "context.providers.rakuten.ranSiteID",
|
|
19
|
+
"outputKey": "tr"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"inputKey": "context.providers.rakuten.landTimestamp",
|
|
23
|
+
"outputKey": "land"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"inputKey": "anonymousId",
|
|
27
|
+
"outputKey": "custid"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"inputKey": "context.device.advertisingId",
|
|
31
|
+
"outputKey": "did"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputKey": "input",
|
|
35
|
+
"outputKey": "date",
|
|
36
|
+
"transforms": [
|
|
37
|
+
{
|
|
38
|
+
"expression": {
|
|
39
|
+
"lang": "lua",
|
|
40
|
+
"body": "local ts = input.timestamp or input.originalTimestamp or input.sentAt\nreturn TO_DATE_TIME(ts, {outputFormat = \"20060102_1504\"})"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"inputKey": "traits.address.country",
|
|
47
|
+
"outputKey": "shipcountry"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"inputKey": "input",
|
|
51
|
+
"outputKey": "sitename",
|
|
52
|
+
"transforms": [
|
|
53
|
+
{
|
|
54
|
+
"expression": {
|
|
55
|
+
"lang": "lua",
|
|
56
|
+
"body": "return SPLIT(input.context.page.url, \"?\", 1)[1] or \"\""
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"default": {
|
|
64
|
+
"filters": [
|
|
65
|
+
{
|
|
66
|
+
"byEventNames": {
|
|
67
|
+
"action": "allow",
|
|
68
|
+
"events": [
|
|
69
|
+
""
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"eventSpecific": {
|
|
76
|
+
"order_completed": {
|
|
77
|
+
"mappings": [
|
|
78
|
+
{
|
|
79
|
+
"inputKey": "properties.order_id",
|
|
80
|
+
"outputKey": "ord"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"inputKey": "input",
|
|
84
|
+
"outputKey": "amtlist",
|
|
85
|
+
"transforms": [
|
|
86
|
+
{
|
|
87
|
+
"expression": {
|
|
88
|
+
"lang": "lua",
|
|
89
|
+
"body": "local amounts = JOIN(MAP(input.properties.products, function (p) return TO_ROUNDED_INT(TOTAL_VALUE(p) * 100) end), \"|\")\nif input.properties.discount then amounts = amounts .. \"|\" .. TO_ROUNDED_INT((input.properties.discount) * -1 * 100) end\nreturn amounts"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"inputKey": "input",
|
|
96
|
+
"outputKey": "skulist",
|
|
97
|
+
"transforms": [
|
|
98
|
+
{
|
|
99
|
+
"expression": {
|
|
100
|
+
"lang": "lua",
|
|
101
|
+
"body": "local skulist = JOIN(MAP(input.properties.products, function (p) return p.sku or p.product_id or \"\" end), \"|\")\nif input.properties.discount then skulist = skulist .. \"|Discount\" end\nreturn skulist"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"inputKey": "input",
|
|
108
|
+
"outputKey": "qlist",
|
|
109
|
+
"transforms": [
|
|
110
|
+
{
|
|
111
|
+
"expression": {
|
|
112
|
+
"lang": "lua",
|
|
113
|
+
"body": "local qlist = JOIN(MAP(input.properties.products, function (p) return p.quantity or 1 end), \"|\")\nif input.properties.discount then qlist = qlist .. \"|0\" end\nreturn qlist"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"inputKey": "properties.currency",
|
|
120
|
+
"outputKey": "cur",
|
|
121
|
+
"transforms": [
|
|
122
|
+
{
|
|
123
|
+
"modifyString": "uppercase"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"inputKey": "properties.checkout_id",
|
|
129
|
+
"outputKey": "altord"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"inputKey": "input",
|
|
133
|
+
"outputKey": "brandlist",
|
|
134
|
+
"transforms": [
|
|
135
|
+
{
|
|
136
|
+
"expression": {
|
|
137
|
+
"lang": "lua",
|
|
138
|
+
"body": "local hasOneBrand = false\nlocal brands = JOIN(MAP(input.properties.products, function (p)\n local brand = p.brand or \"\"\n if brand ~= \"\" then hasOneBrand = true end\n return brand\nend), \"|\")\nif hasOneBrand then return brands end"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"inputKey": "input",
|
|
145
|
+
"outputKey": "catlist",
|
|
146
|
+
"transforms": [
|
|
147
|
+
{
|
|
148
|
+
"expression": {
|
|
149
|
+
"lang": "lua",
|
|
150
|
+
"body": "local hasOneCategory = false\nlocal categories = JOIN(MAP(input.properties.products, function (p)\n local category = p.category or \"\"\n if category ~= \"\" then hasOneCategory = true end\n return category\nend), \"|\")\nif hasOneCategory then return categories end"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"inputKey": "properties.coupon",
|
|
157
|
+
"outputKey": "coupon"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"inputKey": "input",
|
|
161
|
+
"outputKey": "couponlist",
|
|
162
|
+
"transforms": [
|
|
163
|
+
{
|
|
164
|
+
"expression": {
|
|
165
|
+
"lang": "lua",
|
|
166
|
+
"body": "local hasOneCoupon = false\nlocal coupons = JOIN(MAP(input.properties.products, function (p)\n local productCoupon = p.coupon or \"\"\n if productCoupon ~= \"\" then hasOneCoupon = true end\n return productCoupon\nend), \"|\")\nif hasOneCoupon then return coupons end"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"inputKey": "properties.discount",
|
|
173
|
+
"outputKey": "disamt"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"order_canceled": {
|
|
178
|
+
"mappings": [
|
|
179
|
+
{
|
|
180
|
+
"inputKey": "properties.order_id",
|
|
181
|
+
"outputKey": "ord"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"inputKey": "input",
|
|
185
|
+
"outputKey": "amtlist",
|
|
186
|
+
"transforms": [
|
|
187
|
+
{
|
|
188
|
+
"expression": {
|
|
189
|
+
"lang": "lua",
|
|
190
|
+
"body": "local amounts = JOIN(MAP(input.properties.products, function (p) return TO_ROUNDED_INT(TOTAL_VALUE(p) * -1 * 100) end), \"|\")\nif input.properties.discount then amounts = amounts .. \"|\" .. TO_ROUNDED_INT((input.properties.discount) * 100) end\nreturn amounts"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"inputKey": "input",
|
|
197
|
+
"outputKey": "skulist",
|
|
198
|
+
"transforms": [
|
|
199
|
+
{
|
|
200
|
+
"expression": {
|
|
201
|
+
"lang": "lua",
|
|
202
|
+
"body": "local skulist = JOIN(MAP(input.properties.products, function (p) return p.sku or p.product_id or \"\" end), \"|\")\nif input.properties.discount then skulist = skulist .. \"|Discount\" end\nreturn skulist"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"inputKey": "input",
|
|
209
|
+
"outputKey": "qlist",
|
|
210
|
+
"transforms": [
|
|
211
|
+
{
|
|
212
|
+
"expression": {
|
|
213
|
+
"lang": "lua",
|
|
214
|
+
"body": "local qlist = JOIN(MAP(input.properties.products, function (p) return p.quantity or 1 end), \"|\")\nif input.properties.discount then qlist = qlist .. \"|0\" end\nreturn qlist"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"inputKey": "properties.currency",
|
|
221
|
+
"outputKey": "cur",
|
|
222
|
+
"transforms": [
|
|
223
|
+
{
|
|
224
|
+
"modifyString": "uppercase"
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"inputKey": "properties.checkout_id",
|
|
230
|
+
"outputKey": "altord"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"inputKey": "input",
|
|
234
|
+
"outputKey": "brandlist",
|
|
235
|
+
"transforms": [
|
|
236
|
+
{
|
|
237
|
+
"expression": {
|
|
238
|
+
"lang": "lua",
|
|
239
|
+
"body": "local hasOneBrand = false\nlocal brands = JOIN(MAP(input.properties.products, function (p)\n local brand = p.brand or \"\"\n if brand ~= \"\" then hasOneBrand = true end\n return brand\nend), \"|\")\nif hasOneBrand then return brands end"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"inputKey": "input",
|
|
246
|
+
"outputKey": "catlist",
|
|
247
|
+
"transforms": [
|
|
248
|
+
{
|
|
249
|
+
"expression": {
|
|
250
|
+
"lang": "lua",
|
|
251
|
+
"body": "local hasOneCategory = false\nlocal categories = JOIN(MAP(input.properties.products, function (p)\n local category = p.category or \"\"\n if category ~= \"\" then hasOneCategory = true end\n return category\nend), \"|\")\nif hasOneCategory then return categories end"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"inputKey": "properties.coupon",
|
|
258
|
+
"outputKey": "coupon"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"inputKey": "input",
|
|
262
|
+
"outputKey": "couponlist",
|
|
263
|
+
"transforms": [
|
|
264
|
+
{
|
|
265
|
+
"expression": {
|
|
266
|
+
"lang": "lua",
|
|
267
|
+
"body": "local hasOneCoupon = false\nlocal coupons = JOIN(MAP(input.properties.products, function (p)\n local productCoupon = p.coupon or \"\"\n if productCoupon ~= \"\" then hasOneCoupon = true end\n return productCoupon\nend), \"|\")\nif hasOneCoupon then return coupons end"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"inputKey": "properties.discount",
|
|
274
|
+
"outputKey": "disamt"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
package/.dist/rasp/kit.etag.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"3fa37eca26cd74b774d200a2adcfd090"
|
package/.dist/rasp/metadata.json
CHANGED
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
{
|
|
17
17
|
"date": "2025-06-25T22:00:00.000Z",
|
|
18
18
|
"note": "Version: 0.1.0\nBeta Version\nRingier Axel Springer Poland initial release"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"date": "2025-07-30T00:00:00.000Z",
|
|
22
|
+
"note": "Version: 0.2.0\nReplaced context.traits with traits."
|
|
19
23
|
}
|
|
20
24
|
]
|
|
21
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"ff3a1215b491a0f5fb29984cd384049c"
|
package/.dist/rasp/playbook.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.2.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "PIXEL_ID",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"transforms": [
|
|
41
41
|
{
|
|
42
42
|
"expression": {
|
|
43
|
-
"body": "local email = input.traits.email
|
|
43
|
+
"body": "local email = input.traits.email\nif email then return TO_MD5_HASH(LOWER(TRIM(email))) end\nreturn",
|
|
44
44
|
"lang": "lua"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4f40dd659be410892e66d37ac73b94dc"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"0437dbbbdabcde1a7f2930cee3fb87e7"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.5.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"outputKey": "user.user_agent"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
|
-
"inputKey": "
|
|
50
|
+
"inputKey": "traits.email",
|
|
51
51
|
"outputKey": "user.email",
|
|
52
52
|
"transforms": [
|
|
53
53
|
{
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
{
|
|
63
63
|
"expression": {
|
|
64
64
|
"lang": "lua",
|
|
65
|
-
"body": "-- Phone number must start with + sign and country code, E164 format to be exact e.g.: +16505551212\nreturn input.traits.phone
|
|
65
|
+
"body": "-- Phone number must start with + sign and country code, E164 format to be exact e.g.: +16505551212\nreturn input.traits.phone"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"37898eee457b01e0674932e5583b0e94"
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
{
|
|
21
21
|
"date": "2025-04-09T22:00:00.000Z",
|
|
22
22
|
"note": "Version: 1.0.0\nNew header: `X-Forwarded-For`\nParam update: `adp_session` retrieved from new sync field `context.providers.ringierAxelSpringerPoland.adp_session`\nStable release"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"date": "2025-07-30T00:00:00.000Z",
|
|
26
|
+
"note": "Version: 1.1.0\nReplaced context.traits with traits."
|
|
23
27
|
}
|
|
24
28
|
]
|
|
25
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"8bf5d831080b858bc585d653c34e5abd"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.1.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "PIXEL_ID",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"transforms": [
|
|
45
45
|
{
|
|
46
46
|
"expression": {
|
|
47
|
-
"body": "local email = input.traits.email
|
|
47
|
+
"body": "local email = input.traits.email\nif email then return TO_MD5_HASH(LOWER(TRIM(email))) end\nreturn",
|
|
48
48
|
"lang": "lua"
|
|
49
49
|
}
|
|
50
50
|
}
|
package/.dist/roku/kit.etag.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4a9fdc0b273c9b1f2a7b61844970c425"
|
package/.dist/roku/metadata.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"09c6486cd5dcbd22453745d300789d30"
|
package/.dist/roku/playbook.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.2.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "PAGE_PIXEL_ID",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"outputKey": "w55c"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
|
-
"inputKey": "
|
|
40
|
+
"inputKey": "traits.email",
|
|
41
41
|
"outputKey": "aEM",
|
|
42
42
|
"transforms": [
|
|
43
43
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"6b67984c37618faafc718ea3e955fccf"
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
{
|
|
25
25
|
"date": "2024-12-11T22:00:00.000Z",
|
|
26
26
|
"note": "Version: 0.2.1\nUpdated Endpoint URL\nAdded new fields for all events: page URL (`su`) and page referrer (`sr`)\nAdded new events: identify, page, products_searched, product_list_viewed, product_viewed, product_added, product_added_to_wishlist, cart_viewed, checkout_started"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"date": "2025-07-30T00:00:00.000Z",
|
|
30
|
+
"note": "Version: 0.3.1\nReplaced context.traits with traits."
|
|
27
31
|
}
|
|
28
32
|
]
|
|
29
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"369a8e8fcf83b3185f8cd0f6a269d070"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.3.1",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "PARTNER_KEY",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"transforms": [
|
|
82
82
|
{
|
|
83
83
|
"expression": {
|
|
84
|
-
"body": "local pii = input.traits.email or input.
|
|
84
|
+
"body": "local pii = input.traits.email or input.traits.phone\nlocal identifyDetails = \"\"\nif (pii) then identifyDetails = TO_SHA256_HASH(LOWER(TRIM(pii))) end\nreturn JOIN({\n 'pr_$$TAGGING_HASH$$',\n 'uid',\n identifyDetails\n}, '_')",
|
|
85
85
|
"lang": "lua"
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"862511e37a0afe3511f64201ee3f933a"
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
{
|
|
29
29
|
"date": "2024-10-23T00:00:00.000Z",
|
|
30
30
|
"note": "Version: 1.1.0\nAdded header `Accept-Encoding: application/json`"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"date": "2025-07-30T00:00:00.000Z",
|
|
34
|
+
"note": "Version: 1.2.0\nReplaced originalTimestamp with timestamp"
|
|
31
35
|
}
|
|
32
36
|
]
|
|
33
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"323d1a2840102c2929a02b75332b9863"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"17f6cf1babda3230b9a722d2b522b4d4"
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
{
|
|
33
33
|
"date": "2024-11-20T00:00:00.000Z",
|
|
34
34
|
"note": "Version: 1.3.0\nAdded the `_scid` cookie value as `user_data.sc_cookie1`"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"date": "2025-07-30T00:00:00.000Z",
|
|
38
|
+
"note": "Version: 1.4.0\nReplaced context.traits with traits."
|
|
35
39
|
}
|
|
36
40
|
]
|
|
37
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"699904894c56195e6565075601c0583e"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.4.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"transforms": [
|
|
78
78
|
{
|
|
79
79
|
"expression": {
|
|
80
|
-
"body": "local email = input.traits.email
|
|
80
|
+
"body": "local email = input.traits.email\nif (email) then return TO_SHA256_HASH(LOWER(TRIM(email))) end",
|
|
81
81
|
"lang": "lua"
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"transforms": [
|
|
90
90
|
{
|
|
91
91
|
"expression": {
|
|
92
|
-
"body": "local phone = input.traits.phone
|
|
92
|
+
"body": "local phone = input.traits.phone\nif (phone) then return TO_SHA256_HASH(TRIM(phone)) end",
|
|
93
93
|
"lang": "lua"
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"transforms": [
|
|
102
102
|
{
|
|
103
103
|
"expression": {
|
|
104
|
-
"body": "local firstName = input.traits.firstName
|
|
104
|
+
"body": "local firstName = input.traits.firstName\nif (firstName) then return TO_SHA256_HASH(LOWER(TRIM(firstName))) end",
|
|
105
105
|
"lang": "lua"
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"transforms": [
|
|
114
114
|
{
|
|
115
115
|
"expression": {
|
|
116
|
-
"body": "local lastName = input.traits.lastName
|
|
116
|
+
"body": "local lastName = input.traits.lastName\nif (lastName) then return TO_SHA256_HASH(LOWER(TRIM(lastName))) end",
|
|
117
117
|
"lang": "lua"
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"transforms": [
|
|
126
126
|
{
|
|
127
127
|
"expression": {
|
|
128
|
-
"body": "local gender = input.traits.gender
|
|
128
|
+
"body": "local gender = input.traits.gender\nif (gender) then return TO_SHA256_HASH(LOWER(TRIM(gender))) end",
|
|
129
129
|
"lang": "lua"
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"transforms": [
|
|
138
138
|
{
|
|
139
139
|
"expression": {
|
|
140
|
-
"body": "local city = input.traits.address.city
|
|
140
|
+
"body": "local city = input.traits.address.city\nif (city) then return TO_SHA256_HASH(LOWER(city:gsub('%s+',''))) end",
|
|
141
141
|
"lang": "lua"
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"transforms": [
|
|
150
150
|
{
|
|
151
151
|
"expression": {
|
|
152
|
-
"body": "local state = input.traits.address.state
|
|
152
|
+
"body": "local state = input.traits.address.state\nif (state) then return TO_SHA256_HASH(LOWER(TRIM(state))) end",
|
|
153
153
|
"lang": "lua"
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"transforms": [
|
|
162
162
|
{
|
|
163
163
|
"expression": {
|
|
164
|
-
"body": "local postalCode = input.traits.address.postalCode
|
|
164
|
+
"body": "local postalCode = input.traits.address.postalCode\nif (postalCode) then return TO_SHA256_HASH(TRIM(postalCode)) end",
|
|
165
165
|
"lang": "lua"
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"transforms": [
|
|
174
174
|
{
|
|
175
175
|
"expression": {
|
|
176
|
-
"body": "local country = input.traits.address.country
|
|
176
|
+
"body": "local country = input.traits.address.country\nif (country) then return TO_SHA256_HASH(TRIM(country)) end",
|
|
177
177
|
"lang": "lua"
|
|
178
178
|
}
|
|
179
179
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"87a9a5cf605e7dbe75f61cdcd48ecb2c"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"1ffdca23f2cd3abedd0272422b129dfd"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"d067f7025620b8b47754a833976d4330"
|