@metarouter/ajs-starter-kit 1.0.151 → 1.0.153
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/attentive/connection.etag.json +1 -0
- package/.dist/attentive/connection.json +96 -0
- package/.dist/attentive/kit.etag.json +1 -0
- package/.dist/attentive/metadata.json +21 -0
- package/.dist/attentive/playbook.etag.json +1 -0
- package/.dist/attentive/playbook.json +1414 -0
- package/.dist/bing-ads/kit.etag.json +1 -1
- package/.dist/bing-ads/metadata.json +6 -2
- package/.dist/connection-schemas.json +0 -1
- package/.dist/engage-front/kit.etag.json +1 -1
- package/.dist/engage-front/metadata.json +4 -0
- package/.dist/engage-front/playbook.etag.json +1 -1
- package/.dist/engage-front/playbook.json +2 -2
- package/.dist/eulerian/connection.etag.json +1 -0
- package/.dist/eulerian/connection.json +30 -0
- package/.dist/eulerian/kit.etag.json +1 -0
- package/.dist/eulerian/metadata.json +21 -0
- package/.dist/eulerian/playbook.etag.json +1 -0
- package/.dist/eulerian/playbook.json +156 -0
- package/.dist/google-ads/kit.etag.json +1 -1
- package/.dist/google-ads/metadata.json +4 -0
- package/.dist/google-ads/playbook.etag.json +1 -1
- package/.dist/google-ads/playbook.json +11 -1
- package/.dist/google-analytics-4/connection.etag.json +1 -1
- package/.dist/google-analytics-4/connection.json +18 -13
- package/.dist/google-analytics-4/kit.etag.json +1 -1
- package/.dist/google-analytics-4/metadata.json +4 -0
- package/.dist/google-analytics-4/playbook.etag.json +1 -1
- package/.dist/google-analytics-4/playbook.json +209 -54
- package/.dist/microsoft-ads/kit.etag.json +1 -1
- package/.dist/microsoft-ads/metadata.json +5 -1
- 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 +303 -24
- package/.dist/ttd-conversions/kit.etag.json +1 -1
- package/.dist/ttd-conversions/metadata.json +4 -0
- package/.dist/ttd-conversions/playbook.etag.json +1 -1
- package/.dist/ttd-conversions/playbook.json +3 -7
- package/.dist/wallaroo/kit.etag.json +1 -1
- package/.dist/wallaroo/metadata.json +4 -0
- package/.dist/wallaroo/playbook.etag.json +1 -1
- package/.dist/wallaroo/playbook.json +2 -1
- package/README.md +20 -9
- package/index.js +22 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"a089690679fd421b1980593bcd763d52 -"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
|
-
"isDeprecated":
|
|
4
|
-
"isBeta":
|
|
3
|
+
"isDeprecated": true,
|
|
4
|
+
"isBeta": false,
|
|
5
5
|
"friendlyName": "Microsoft Advertising",
|
|
6
6
|
"description": "Microsoft's pay-per-click advertising solution, which includes Bing, Yahoo! and MSN.",
|
|
7
7
|
"logo": "https://cdn.metarouter.io/logo.svg",
|
|
@@ -36,6 +36,10 @@
|
|
|
36
36
|
{
|
|
37
37
|
"date": "2025-07-16T00:00:00.000Z",
|
|
38
38
|
"note": "Version: 0.3.0\nTABLE_SLICE custom function usage."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "2025-12-17T00:00:00.000Z",
|
|
42
|
+
"note": "Version: 0.4.0\nDeprecating this in favor of the released Microsoft Ads CAPI kit"
|
|
39
43
|
}
|
|
40
44
|
]
|
|
41
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"6756f2a83051f41750c07f490fcdeae8 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"85a4847f98722d5523d76d34cbf674f1 -"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.3.0",
|
|
3
3
|
"global": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"enrichments": [
|
|
32
32
|
{
|
|
33
33
|
"staticString": "ADD_YOUR_VALUE_HERE",
|
|
34
|
-
"outputKey": "ef_[
|
|
34
|
+
"outputKey": "ef_[CHANGE_TO_campaign_OR_advertiser]_id"
|
|
35
35
|
}
|
|
36
36
|
],
|
|
37
37
|
"mappings": [
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"12159a75e6c6da097f1943cfbf37268f -"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"params": [
|
|
3
|
+
{
|
|
4
|
+
"name": "ENDPOINT",
|
|
5
|
+
"exampleValue": "my-endpoint"
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"default": {
|
|
9
|
+
"endpoint": "$$ENDPOINT$$",
|
|
10
|
+
"headers": [
|
|
11
|
+
{
|
|
12
|
+
"key": "Content-Type",
|
|
13
|
+
"value": "application/json"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"key": "Accept-Encoding",
|
|
17
|
+
"value": "application/json"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"key": "User-Agent",
|
|
21
|
+
"fromEventKey": "context.userAgent"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": "X-Forwarded-For",
|
|
25
|
+
"fromEventKey": "context.ip"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"method": "POST"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"bd423354af5e0f8700130e1813ffddee -"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
4
|
+
"isBeta": true,
|
|
5
|
+
"friendlyName": "Eulerian",
|
|
6
|
+
"description": "Eulerian is a French marketing analytics platform focused on attribution, analytics, and activation across web and apps. It unifies customer journeys in real time to help advertisers evaluate channel performance and optimize media decisions, with a strong emphasis on first-party data quality and control.",
|
|
7
|
+
"logo": "https://drive.google.com/file/d/1hyd2C1I1nM9TNkvY_1O5vUD_nr7Uju2P/view",
|
|
8
|
+
"color": "#2b3066",
|
|
9
|
+
"eventSource": {
|
|
10
|
+
"isAndroidApp": true,
|
|
11
|
+
"isIosApp": true,
|
|
12
|
+
"isWebApp": true
|
|
13
|
+
},
|
|
14
|
+
"inputSchema": "analytics_js",
|
|
15
|
+
"releaseNotes": [
|
|
16
|
+
{
|
|
17
|
+
"date": "2025-12-10T21:00:00.000Z",
|
|
18
|
+
"note": "Version: 0.1.0\nBeta Version\nEulerian initial release"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"03405c2eef992ae1c5d8b5fb215eceac -"
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.0",
|
|
3
|
+
"global": {
|
|
4
|
+
"enrichments": [
|
|
5
|
+
{
|
|
6
|
+
"staticString": "metarouter",
|
|
7
|
+
"outputKey": "ereplay-platform"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"mappings": [
|
|
11
|
+
{
|
|
12
|
+
"inputKey": "input",
|
|
13
|
+
"outputKey": "eemail",
|
|
14
|
+
"transforms": [
|
|
15
|
+
{
|
|
16
|
+
"expression": {
|
|
17
|
+
"body": "local email = input.traits.email\nif email then return TO_SHA256_HASH(LOWER(TRIM(email))) end",
|
|
18
|
+
"lang": "lua"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"inputKey": "anonymousId",
|
|
25
|
+
"outputKey": "euidl"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputKey": "userId",
|
|
29
|
+
"outputKey": "uid"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"inputKey": "context.ip",
|
|
33
|
+
"outputKey": "ereplay-ip"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"inputKey": "context.userAgent",
|
|
37
|
+
"outputKey": "ereplay-ua"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"inputKey": "context.page.url",
|
|
41
|
+
"outputKey": "url"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"inputKey": "context.page.referrer",
|
|
45
|
+
"outputKey": "rf"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"inputKey": "input",
|
|
49
|
+
"outputKey": "ereplay-time",
|
|
50
|
+
"transforms": [
|
|
51
|
+
{
|
|
52
|
+
"expression": {
|
|
53
|
+
"lang": "lua",
|
|
54
|
+
"body": "return SECONDS_SINCE_EPOCH_FROM_RFC3999(input.timestamp or input.originalTimestamp or input.sentAt)"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"eventSpecific": {
|
|
62
|
+
"order_completed": {
|
|
63
|
+
"enrichments": [
|
|
64
|
+
{
|
|
65
|
+
"staticInt": "1",
|
|
66
|
+
"outputKey": "order"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"mappings": [
|
|
70
|
+
{
|
|
71
|
+
"inputKey": "input",
|
|
72
|
+
"outputKey": "amount",
|
|
73
|
+
"transforms": [
|
|
74
|
+
{
|
|
75
|
+
"expression": {
|
|
76
|
+
"lang": "lua",
|
|
77
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"inputKey": "properties.currency",
|
|
84
|
+
"outputKey": "currency",
|
|
85
|
+
"transforms": [
|
|
86
|
+
{
|
|
87
|
+
"modifyString": "uppercase"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"defaultString": "USD"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"inputKey": "properties.order_id",
|
|
94
|
+
"outputKey": "ref"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"inputKey": "input",
|
|
98
|
+
"outputKey": "products",
|
|
99
|
+
"transforms": [
|
|
100
|
+
{
|
|
101
|
+
"expression": {
|
|
102
|
+
"lang": "lua",
|
|
103
|
+
"body": "local properties = input.properties or {}\nlocal products = properties.products or {}\n\nreturn MAP(\n products,\n function(p)\n local qty = tonumber(p.quantity) or 1\n return {\n ref = p.product_id,\n name = p.name,\n quantity = qty,\n amount = TOTAL_VALUE(p)\n }\n end\n)"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"product_added": {
|
|
111
|
+
"enrichments": [
|
|
112
|
+
{
|
|
113
|
+
"staticInt": "1",
|
|
114
|
+
"outputKey": "scart"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"mappings": [
|
|
118
|
+
{
|
|
119
|
+
"inputKey": "properties.currency",
|
|
120
|
+
"outputKey": "currency",
|
|
121
|
+
"transforms": [
|
|
122
|
+
{
|
|
123
|
+
"modifyString": "uppercase"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"defaultString": "USD"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"inputKey": "input",
|
|
130
|
+
"outputKey": "products",
|
|
131
|
+
"transforms": [
|
|
132
|
+
{
|
|
133
|
+
"expression": {
|
|
134
|
+
"lang": "lua",
|
|
135
|
+
"body": "local properties = input.properties or {}\nlocal q = tonumber(properties.quantity) or 1\n\nreturn {\n {\n ref = properties.product_id,\n name = properties.name,\n quantity = q,\n amount = TOTAL_VALUE(properties)\n }\n}"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"default": {
|
|
144
|
+
"filters": [
|
|
145
|
+
{
|
|
146
|
+
"byEventNames": {
|
|
147
|
+
"action": "allow",
|
|
148
|
+
"events": [
|
|
149
|
+
"page",
|
|
150
|
+
""
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"245bc68e722adf756625f4d772168004 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"e76f934adb1c3eb51442b004aef8a089 -"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.4.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "CUSTOMER_ID",
|
|
@@ -38,6 +38,16 @@
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
|
+
"enrichments": [
|
|
42
|
+
{
|
|
43
|
+
"staticString": "GRANTED",
|
|
44
|
+
"outputKey": "consent.ad_user_data"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"staticString": "GRANTED",
|
|
48
|
+
"outputKey": "consent.ad_personalization"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
41
51
|
"mappings": [
|
|
42
52
|
{
|
|
43
53
|
"inputKey": "input",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"8cc48a72edef0b30e1475e5bf0e03257 -"
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
+
"params": [
|
|
3
|
+
{
|
|
4
|
+
"name": "API_SECRET",
|
|
5
|
+
"exampleValue": "my-api-secret"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"name": "MEASUREMENT_ID",
|
|
9
|
+
"exampleValue": "my-measurement-id"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "API_ENDPOINT",
|
|
13
|
+
"exampleValue": "my-api-endpoint",
|
|
14
|
+
"defaultValue": "https://www.google-analytics.com/mp/collect"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
2
17
|
"default": {
|
|
3
|
-
"endpoint": "
|
|
18
|
+
"endpoint": "$$API_ENDPOINT$$?api_secret=$$API_SECRET$$&measurement_id=$$MEASUREMENT_ID$$",
|
|
4
19
|
"method": "POST",
|
|
5
20
|
"headers": [
|
|
6
21
|
{
|
|
@@ -14,17 +29,7 @@
|
|
|
14
29
|
],
|
|
15
30
|
"transform": {
|
|
16
31
|
"lang": "lua",
|
|
17
|
-
"body": "request.body = {\n client_id = batch[1].client_id,\n user_id = batch[1].user_id,\n timestamp_micros = batch[1].timestamp_micros,\n user_location = batch[1].user_location,\n ip_override = batch[1].ip_override,\n events = { batch[1].event }\n}\nreturn request"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"params": [
|
|
21
|
-
{
|
|
22
|
-
"name": "API_SECRET",
|
|
23
|
-
"exampleValue": "my-api-secret"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "MEASUREMENT_ID",
|
|
27
|
-
"exampleValue": "my-measurement-id"
|
|
32
|
+
"body": "request.body = {\n client_id = batch[1].client_id,\n user_id = batch[1].user_id,\n timestamp_micros = batch[1].timestamp_micros,\n user_location = batch[1].user_location,\n ip_override = batch[1].ip_override,\n device = batch[1].device,\n user_agent = batch[1].user_agent,\n consent = batch[1].consent,\n events = { batch[1].event }\n}\nreturn request"
|
|
28
33
|
}
|
|
29
|
-
|
|
34
|
+
}
|
|
30
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"40f9cb75f21b2513d7e389c6f2f8135a -"
|
|
@@ -36,6 +36,10 @@
|
|
|
36
36
|
{
|
|
37
37
|
"date": "2025-10-29T00:00:00.000Z",
|
|
38
38
|
"note": "Version: 1.2.0\nAdded geolocation data with ip_override and user_location fields"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "2025-12-17T00:00:00.000Z",
|
|
42
|
+
"note": "Version: 1.3.0\nAdded consent, device and user_agent mappings\nRemoved gclid and dclid fields\nAdded additional standard events and updated endpoint to a parameter"
|
|
39
43
|
}
|
|
40
44
|
]
|
|
41
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"381e09e4652cb3dba853f3aa236c8cdc -"
|