@metarouter/ajs-starter-kit 1.0.112 → 1.0.114
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/connection-schemas.json +16 -0
- package/.dist/iterable/connection.etag.json +1 -1
- package/.dist/iterable/connection.json +3 -121
- package/.dist/iterable/kit.etag.json +1 -1
- package/.dist/iterable/metadata.json +4 -0
- package/.dist/iterable/playbook.etag.json +1 -1
- package/.dist/iterable/playbook.json +8 -8
- package/.dist/moloco/kit.etag.json +1 -1
- package/.dist/moloco/metadata.json +4 -0
- package/.dist/moloco/playbook.etag.json +1 -1
- package/.dist/moloco/playbook.json +6 -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 +4 -4
- package/README.md +8 -6
- package/index.js +10 -11
- package/package.json +1 -1
|
@@ -170,6 +170,22 @@
|
|
|
170
170
|
],
|
|
171
171
|
"additionalProperties": false
|
|
172
172
|
},
|
|
173
|
+
"iterable": {
|
|
174
|
+
"type": "object",
|
|
175
|
+
"properties": {
|
|
176
|
+
"apiBaseUrl": {
|
|
177
|
+
"type": "string"
|
|
178
|
+
},
|
|
179
|
+
"apiKey": {
|
|
180
|
+
"type": "string"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"required": [
|
|
184
|
+
"apiKey",
|
|
185
|
+
"apiBaseUrl"
|
|
186
|
+
],
|
|
187
|
+
"additionalProperties": false
|
|
188
|
+
},
|
|
173
189
|
"kafka": {
|
|
174
190
|
"type": "object",
|
|
175
191
|
"properties": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"e5997aff460b6c5ea132762084580b69"
|
|
@@ -10,126 +10,8 @@
|
|
|
10
10
|
"defaultValue": "https://api.iterable.com"
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"headers": [
|
|
17
|
-
{
|
|
18
|
-
"key": "Content-Type",
|
|
19
|
-
"value": "application/json"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"key": "Accept-Encoding",
|
|
23
|
-
"value": "application/json"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"key": "X-Forwarded-For",
|
|
27
|
-
"fromEventKey": "context.ip"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"key": "User-Agent",
|
|
31
|
-
"fromEventKey": "context.userAgent"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"key": "Api-User-Agent",
|
|
35
|
-
"value": "MetaRouter/integration/1.0.0"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"key": "Api-Key",
|
|
39
|
-
"value": "$$API_KEY$$"
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
"eventSpecific": {
|
|
44
|
-
"identify": {
|
|
45
|
-
"endpoint": "$$API_BASE_URL$$/api/users/update",
|
|
46
|
-
"method": "POST",
|
|
47
|
-
"headers": [
|
|
48
|
-
{
|
|
49
|
-
"key": "Content-Type",
|
|
50
|
-
"value": "application/json"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"key": "Accept-Encoding",
|
|
54
|
-
"value": "application/json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"key": "X-Forwarded-For",
|
|
58
|
-
"fromEventKey": "context.ip"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"key": "User-Agent",
|
|
62
|
-
"fromEventKey": "context.userAgent"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"key": "Api-User-Agent",
|
|
66
|
-
"value": "MetaRouter/integration/1.0.0"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"key": "Api-Key",
|
|
70
|
-
"value": "$$API_KEY$$"
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"product_added": {
|
|
75
|
-
"endpoint": "$$API_BASE_URL$$/api/commerce/updateCart",
|
|
76
|
-
"method": "POST",
|
|
77
|
-
"headers": [
|
|
78
|
-
{
|
|
79
|
-
"key": "Content-Type",
|
|
80
|
-
"value": "application/json"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"key": "Accept-Encoding",
|
|
84
|
-
"value": "application/json"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"key": "X-Forwarded-For",
|
|
88
|
-
"fromEventKey": "context.ip"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"key": "User-Agent",
|
|
92
|
-
"fromEventKey": "context.userAgent"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"key": "Api-User-Agent",
|
|
96
|
-
"value": "MetaRouter/integration/1.0.0"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"key": "Api-Key",
|
|
100
|
-
"value": "$$API_KEY$$"
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
},
|
|
104
|
-
"order_completed": {
|
|
105
|
-
"endpoint": "$$API_BASE_URL$$/api/commerce/trackPurchase",
|
|
106
|
-
"method": "POST",
|
|
107
|
-
"headers": [
|
|
108
|
-
{
|
|
109
|
-
"key": "Content-Type",
|
|
110
|
-
"value": "application/json"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"key": "Accept-Encoding",
|
|
114
|
-
"value": "application/json"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"key": "X-Forwarded-For",
|
|
118
|
-
"fromEventKey": "context.ip"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"key": "User-Agent",
|
|
122
|
-
"fromEventKey": "context.userAgent"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"key": "Api-User-Agent",
|
|
126
|
-
"value": "MetaRouter/integration/1.0.0"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"key": "Api-Key",
|
|
130
|
-
"value": "$$API_KEY$$"
|
|
131
|
-
}
|
|
132
|
-
]
|
|
133
|
-
}
|
|
13
|
+
"iterable": {
|
|
14
|
+
"api_key": "$$API_KEY$$",
|
|
15
|
+
"api_base_url": "$$API_BASE_URL$$"
|
|
134
16
|
}
|
|
135
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"d5ce1223322b433f567cfc2b8afe1b7f"
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
{
|
|
20
20
|
"date": "2024-09-25T21:00:00.000Z",
|
|
21
21
|
"note": "Version: 0.2.0\nUpdate endpoint for identify event\nInclude IP and userAgent in dataFields"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"date": "2024-11-21T21:00:00.000Z",
|
|
25
|
+
"note": "Version: 0.3.0\nUpdate connection.yaml for SDK forwarder format\nMove user agent and ip to global stanza"
|
|
22
26
|
}
|
|
23
27
|
]
|
|
24
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"e8ddd6aafbb197f95310a381386d94e3"
|
|
@@ -23,6 +23,14 @@
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputKey": "context.ip",
|
|
29
|
+
"outputKey": "dataFields.ip"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"inputKey": "context.userAgent",
|
|
33
|
+
"outputKey": "dataFields.userAgent"
|
|
26
34
|
}
|
|
27
35
|
]
|
|
28
36
|
},
|
|
@@ -68,14 +76,6 @@
|
|
|
68
76
|
{
|
|
69
77
|
"inputKey": "properties",
|
|
70
78
|
"outputKey": "dataFields"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"inputKey": "context.ip",
|
|
74
|
-
"outputKey": "dataFields.ip"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"inputKey": "context.userAgent",
|
|
78
|
-
"outputKey": "dataFields.userAgent"
|
|
79
79
|
}
|
|
80
80
|
]
|
|
81
81
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"89677e4943f3dbee7283caee60bd4930"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"52742489d88988862b18ebc06b122088"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.2.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
},
|
|
15
15
|
"global": {
|
|
16
16
|
"mappings": [
|
|
17
|
+
{
|
|
18
|
+
"inputKey": "messageId",
|
|
19
|
+
"outputKey": "id"
|
|
20
|
+
},
|
|
17
21
|
{
|
|
18
22
|
"inputKey": "userId",
|
|
19
23
|
"outputKey": "user_id"
|
|
@@ -24,7 +28,7 @@
|
|
|
24
28
|
"transforms": [
|
|
25
29
|
{
|
|
26
30
|
"expression": {
|
|
27
|
-
"body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(
|
|
31
|
+
"body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(input.timestamp or input.originalTimestamp or input.sentAt)",
|
|
28
32
|
"lang": "lua"
|
|
29
33
|
}
|
|
30
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"d5940b017b2555b325785b6b8a6f8d3c"
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
{
|
|
17
17
|
"date": "2024-11-20T22:00:00.000Z",
|
|
18
18
|
"note": "Version: 0.1.0\nBeta Version\nRTB House initial release"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"date": "2024-12-04T22:00:00.000Z",
|
|
22
|
+
"note": "Version: 0.1.1\nFixed event name from `order-completed` to `order_completed`\nFixed time in milliseconds fidelity\nImproved order ID ensuring data type conversion to String"
|
|
19
23
|
}
|
|
20
24
|
]
|
|
21
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"f7f43c209a4997d1533957f33a41b003"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.1",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "PARTNER_KEY",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
"eventSpecific": {
|
|
26
|
-
"
|
|
26
|
+
"order_completed": {
|
|
27
27
|
"enrichments": [
|
|
28
28
|
{
|
|
29
29
|
"outputKey": "pkey",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"transforms": [
|
|
42
42
|
{
|
|
43
43
|
"expression": {
|
|
44
|
-
"body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(
|
|
44
|
+
"body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(input.timestamp or input.originalTimestamp or input.sentAt)",
|
|
45
45
|
"lang": "lua"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"transforms": [
|
|
54
54
|
{
|
|
55
55
|
"expression": {
|
|
56
|
-
"body": "local value = SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end));\nlocal products = MAP(input.properties.products, function (p) return p.product_id or p.sku end );\nreturn JOIN({\n 'pr_$$TAGGING_HASH$$',\n 'conversion_order_purchase',\n value,\n input.properties.order_id,\n JOIN(products, \",\")\n}, '_')",
|
|
56
|
+
"body": "local value = SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end));\nlocal products = MAP(input.properties.products, function (p) return p.product_id or p.sku end );\nreturn JOIN({\n 'pr_$$TAGGING_HASH$$',\n 'conversion_order_purchase',\n value,\n TRIM(TO_STRING(input.properties.order_id)),\n JOIN(products, \",\")\n}, '_')",
|
|
57
57
|
"lang": "lua"
|
|
58
58
|
}
|
|
59
59
|
}
|
package/README.md
CHANGED
|
@@ -5,13 +5,16 @@ event methods, you will create a rich, actionable data set from your website, mo
|
|
|
5
5
|
server, and other sources. It is particularly useful for tracking the pages or screens your
|
|
6
6
|
users visit, the actions they take on your property, and whether the user has been identified
|
|
7
7
|
previously.
|
|
8
|
+
## 2024-12
|
|
9
|
+
- Moloco (BETA)
|
|
10
|
+
- RTB House (BETA)
|
|
11
|
+
|
|
8
12
|
## 2024-11
|
|
9
13
|
- Adobe Analytics - Experience (BETA)
|
|
10
14
|
- AWIN (BETA)
|
|
11
15
|
- Convert (BETA)
|
|
12
|
-
-
|
|
16
|
+
- Iterable (BETA)
|
|
13
17
|
- Innervate
|
|
14
|
-
- RTB House (BETA)
|
|
15
18
|
- Snapchat - CAPI
|
|
16
19
|
- Zeotap (BETA)
|
|
17
20
|
|
|
@@ -67,7 +70,6 @@ previously.
|
|
|
67
70
|
|
|
68
71
|
## 2024-09
|
|
69
72
|
- CM360 - Floodlights (BETA)
|
|
70
|
-
- Iterable (BETA)
|
|
71
73
|
- X Ads - Web Conversions
|
|
72
74
|
|
|
73
75
|
## 2024-08
|
|
@@ -99,12 +101,13 @@ previously.
|
|
|
99
101
|
|
|
100
102
|
| Kit Name | Date | Latest Note |
|
|
101
103
|
|----------|------|-------------|
|
|
104
|
+
| Moloco (BETA) | 2024-12 | Version: 0.2.0 Fixed time in milliseconds fidelity Added `id` field |
|
|
105
|
+
| RTB House (BETA) | 2024-12 | Version: 0.1.1 Fixed event name from `order-completed` to `order_completed` Fixed time in milliseconds fidelity Improved order ID ensuring data type conversion to String |
|
|
102
106
|
| Adobe Analytics - Experience (BETA) | 2024-11 | Version: 0.6.0 Adding checkout event Updating inputKey for siteSection |
|
|
103
107
|
| AWIN (BETA) | 2024-11 | Version: 0.1.0 Beta Version AWIN initial release |
|
|
104
108
|
| Convert (BETA) | 2024-11 | Version: 0.3.0 Added new deduplication parameter for all events, `tid` |
|
|
105
|
-
|
|
|
109
|
+
| Iterable (BETA) | 2024-11 | Version: 0.3.0 Update connection.yaml for SDK forwarder format Move user agent and ip to global stanza |
|
|
106
110
|
| Innervate | 2024-11 | Version: 1.0.0 Updated friendly name Stable release |
|
|
107
|
-
| RTB House (BETA) | 2024-11 | Version: 0.1.0 Beta Version RTB House initial release |
|
|
108
111
|
| Snapchat - CAPI | 2024-11 | Version: 1.3.0 Added the `_scid` cookie value as `user_data.sc_cookie1` |
|
|
109
112
|
| Zeotap (BETA) | 2024-11 | Version: 0.4.0 Added new mapping for `context_country` |
|
|
110
113
|
| ActionIQ | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
|
|
@@ -156,7 +159,6 @@ previously.
|
|
|
156
159
|
| Yahoo Enhanced Attribution (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
|
|
157
160
|
| Yahoo Offline Conversion | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
|
|
158
161
|
| CM360 - Floodlights (BETA) | 2024-09 | Version 0.4.0 Friendly name renaming Description and color updated |
|
|
159
|
-
| Iterable (BETA) | 2024-09 | Version: 0.1.0 Beta Version Iterable initial release |
|
|
160
162
|
| X Ads - Web Conversions | 2024-09 | Version: 1.0.0 Stable release |
|
|
161
163
|
| Webhooks | 2024-08 | Version: 1.0.0 Stable release |
|
|
162
164
|
| Google BigQuery | 2024-08 | Version: 1.0.0 Adding option to set datase creation mode to BIG_QUERY_OPTIONS_DISABLE_DATASET_CREATION This will allow users to create save events without having the bigquery.datasets.create permission in their IAM role |
|
package/index.js
CHANGED
|
@@ -62,6 +62,12 @@ exports.snowflake = {
|
|
|
62
62
|
metadata: require('./.dist/snowflake/metadata.json')
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
exports.iterable = {
|
|
66
|
+
connectionTemplate: connectionSchemas.properties.iterable,
|
|
67
|
+
playbook: require('./.dist/iterable/playbook.json'),
|
|
68
|
+
metadata: require('./.dist/iterable/metadata.json')
|
|
69
|
+
}
|
|
70
|
+
|
|
65
71
|
// HTTP Integrations
|
|
66
72
|
|
|
67
73
|
exports.actioniq = {
|
|
@@ -255,12 +261,6 @@ exports['in-market'] = {
|
|
|
255
261
|
metadata: require('./.dist/in-market/metadata.json')
|
|
256
262
|
}
|
|
257
263
|
|
|
258
|
-
exports.iterable = {
|
|
259
|
-
endpointSchema: require('./.dist/iterable/connection.json'),
|
|
260
|
-
playbook: require('./.dist/iterable/playbook.json'),
|
|
261
|
-
metadata: require('./.dist/iterable/metadata.json')
|
|
262
|
-
}
|
|
263
|
-
|
|
264
264
|
exports.kochava = {
|
|
265
265
|
endpointSchema: require('./.dist/kochava/connection.json'),
|
|
266
266
|
playbook: require('./.dist/kochava/playbook.json'),
|
|
@@ -514,6 +514,10 @@ exports.etags = {
|
|
|
514
514
|
playbook: require('./.dist/snowflake/playbook.etag.json'),
|
|
515
515
|
kit: require('./.dist/snowflake/kit.etag.json')
|
|
516
516
|
},
|
|
517
|
+
iterable: {
|
|
518
|
+
playbook: require('./.dist/iterable/playbook.etag.json'),
|
|
519
|
+
kit: require('./.dist/iterable/kit.etag.json')
|
|
520
|
+
},
|
|
517
521
|
// HTTP Integrations
|
|
518
522
|
actioniq: {
|
|
519
523
|
endpointSchema: require('./.dist/actioniq/connection.etag.json'),
|
|
@@ -675,11 +679,6 @@ exports.etags = {
|
|
|
675
679
|
playbook: require('./.dist/in-market/playbook.etag.json'),
|
|
676
680
|
kit: require('./.dist/in-market/kit.etag.json')
|
|
677
681
|
},
|
|
678
|
-
iterable: {
|
|
679
|
-
endpointSchema: require('./.dist/iterable/connection.etag.json'),
|
|
680
|
-
playbook: require('./.dist/iterable/playbook.etag.json'),
|
|
681
|
-
kit: require('./.dist/iterable/kit.etag.json')
|
|
682
|
-
},
|
|
683
682
|
kochava: {
|
|
684
683
|
playbook: require('./.dist/kochava/playbook.etag.json'),
|
|
685
684
|
kit: require('./.dist/kochava/kit.etag.json')
|