@metarouter/ajs-starter-kit 1.0.148 → 1.0.150
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/adobe-bdia/kit.etag.json +1 -1
- package/.dist/adobe-bdia/metadata.json +4 -0
- package/.dist/adobe-bdia/playbook.etag.json +1 -1
- package/.dist/adobe-bdia/playbook.json +12 -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 +15 -3
- 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 +2 -1
- package/.dist/engage-front/connection.etag.json +1 -0
- package/.dist/engage-front/connection.json +26 -0
- package/.dist/engage-front/kit.etag.json +1 -0
- package/.dist/engage-front/metadata.json +25 -0
- package/.dist/engage-front/playbook.etag.json +1 -0
- package/.dist/engage-front/playbook.json +84 -0
- package/.dist/google-ad-words/kit.etag.json +1 -1
- package/.dist/roomvo/kit.etag.json +1 -1
- package/.dist/teads/connection.etag.json +1 -0
- package/.dist/teads/connection.json +16 -0
- package/.dist/teads/kit.etag.json +1 -0
- package/.dist/teads/metadata.json +21 -0
- package/.dist/teads/playbook.etag.json +1 -0
- package/.dist/teads/playbook.json +290 -0
- package/README.md +9 -4
- package/index.js +22 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"92bd0ac4cbf28c7939865e7af30d323c -"
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
{
|
|
29
29
|
"date": "2025-10-29T21:00:00.000Z",
|
|
30
30
|
"note": "Version: 0.3.0\nuserAgent generation for native app support\nIncreased possible mappings for pageName"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"date": "2025-11-19T21:00:00.000Z",
|
|
34
|
+
"note": "Version: 0.4.0\nChanged reportSuiteID to a parameter\nAdded marketingCloudVisitorID field"
|
|
31
35
|
}
|
|
32
36
|
]
|
|
33
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"12222c830f9fffcec16505917949c9d0 -"
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.4.0",
|
|
3
|
+
"params": [
|
|
4
|
+
{
|
|
5
|
+
"name": "REPORT_SUITE_ID",
|
|
6
|
+
"exampleValue": "my-report-suite-id"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
3
9
|
"default": {
|
|
4
10
|
"filters": [
|
|
5
11
|
{
|
|
@@ -17,11 +23,15 @@
|
|
|
17
23
|
"global": {
|
|
18
24
|
"enrichments": [
|
|
19
25
|
{
|
|
20
|
-
"staticString": "
|
|
26
|
+
"staticString": "$$REPORT_SUITE_ID$$",
|
|
21
27
|
"outputKey": "reportSuiteID"
|
|
22
28
|
}
|
|
23
29
|
],
|
|
24
30
|
"mappings": [
|
|
31
|
+
{
|
|
32
|
+
"inputKey": "context.providers.adobe.mid",
|
|
33
|
+
"outputKey": "marketingCloudVisitorID"
|
|
34
|
+
},
|
|
25
35
|
{
|
|
26
36
|
"inputKey": "input",
|
|
27
37
|
"outputKey": "visitorID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"622fe01daa34dcbe02d854726b61a59d -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"205f39b36f887d4bf2f8f8083d2b314d -"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0
|
|
2
|
+
"version": "1.1.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -14,13 +14,25 @@
|
|
|
14
14
|
},
|
|
15
15
|
"global": {
|
|
16
16
|
"mappings": [
|
|
17
|
+
{
|
|
18
|
+
"inputKey": "input",
|
|
19
|
+
"outputKey": "event.xdm.identityMap.ECID",
|
|
20
|
+
"transforms": [
|
|
21
|
+
{
|
|
22
|
+
"expression": {
|
|
23
|
+
"body": "local ecid = input.context.providers.adobe.mid\nlocal email = input.traits.email\nif ecid then\n if email then\n return {{ id = ecid, primary = false }}\n end\n return {{ id = ecid, primary = true }}\nend",
|
|
24
|
+
"lang": "lua"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
17
29
|
{
|
|
18
30
|
"inputKey": "input",
|
|
19
31
|
"outputKey": "event.xdm.identityMap.FPID",
|
|
20
32
|
"transforms": [
|
|
21
33
|
{
|
|
22
34
|
"expression": {
|
|
23
|
-
"body": "return {{ id = TO_SHA256_HASH(input.anonymousId), primary = true }}",
|
|
35
|
+
"body": "local ecid = input.context.providers.adobe.mid\nlocal email = input.traits.email\nif ecid or email then\n return {{ id = TO_SHA256_HASH(input.anonymousId), primary = false }}\nend\nreturn {{ id = TO_SHA256_HASH(input.anonymousId), primary = true }}",
|
|
24
36
|
"lang": "lua"
|
|
25
37
|
}
|
|
26
38
|
}
|
|
@@ -32,7 +44,7 @@
|
|
|
32
44
|
"transforms": [
|
|
33
45
|
{
|
|
34
46
|
"expression": {
|
|
35
|
-
"body": "local email = input.traits.email\nif email then\n return {{ id = TO_SHA256_HASH(LOWER(TRIM(email))), primary =
|
|
47
|
+
"body": "local email = input.traits.email\nif email then\n return {{ id = TO_SHA256_HASH(LOWER(TRIM(email))), primary = true }}\nend\nreturn",
|
|
36
48
|
"lang": "lua"
|
|
37
49
|
}
|
|
38
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"d9ffd44fadecf42bbc9e34d9cc2ed08d -"
|
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
{
|
|
49
49
|
"date": "2025-11-05T00:00:00.000Z",
|
|
50
50
|
"note": "Version: 1.5.0\nAdded a static trackingSource value under customParameters"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"date": "2025-11-19T00:00:00.000Z",
|
|
54
|
+
"note": "Version: 1.5.1\nAdded friendly name to trackingSource expression"
|
|
51
55
|
}
|
|
52
56
|
]
|
|
53
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"7dd77ba1876cc2e46e640a8ae6de7784 -"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.5.
|
|
2
|
+
"version": "1.5.1",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "ENTERPRISE_ID",
|
|
@@ -119,6 +119,7 @@
|
|
|
119
119
|
"expressions": [
|
|
120
120
|
{
|
|
121
121
|
"lang": "lua",
|
|
122
|
+
"name": "Partner Field",
|
|
122
123
|
"body": "return {\n customParameters = {\n { name = \"trackingSource\", value = \"metarouter\" }\n }\n}"
|
|
123
124
|
}
|
|
124
125
|
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"935661bda4433864fd9419bed106d530 -"
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"params": [
|
|
3
|
+
{
|
|
4
|
+
"name": "API_KEY",
|
|
5
|
+
"exampleValue": "my-api-key"
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"default": {
|
|
9
|
+
"endpoint": "https://paxbeacon.theweathernetwork.com/metarouter/events",
|
|
10
|
+
"method": "POST",
|
|
11
|
+
"headers": [
|
|
12
|
+
{
|
|
13
|
+
"key": "Accept-Encoding",
|
|
14
|
+
"value": "application/json"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "Content-Type",
|
|
18
|
+
"value": "application/json"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"key": "Authorization",
|
|
22
|
+
"value": "Api-Key $$API_KEY$$"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"d0ac10b67a42773937813707ebe18c93 -"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
4
|
+
"isBeta": true,
|
|
5
|
+
"friendlyName": "EngageFront",
|
|
6
|
+
"description": "EngageFront is a demand-side platform (DSP) that allows advertisers and agencies to run multichannel programmatic campaigns through a self-serve interface.",
|
|
7
|
+
"logo": "https://drive.google.com/file/d/1xQqRag88PDht-NBwakfYOPlVVaiRx4lY/view?usp=sharing",
|
|
8
|
+
"color": "#238497",
|
|
9
|
+
"eventSource": {
|
|
10
|
+
"isAndroidApp": false,
|
|
11
|
+
"isIosApp": false,
|
|
12
|
+
"isWebApp": true
|
|
13
|
+
},
|
|
14
|
+
"inputSchema": "analytics_js",
|
|
15
|
+
"releaseNotes": [
|
|
16
|
+
{
|
|
17
|
+
"date": "2025-11-12T00:00:00.000Z",
|
|
18
|
+
"note": "Version: 0.1.0\nEngageFront initial release."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"date": "2025-11-19T00:00:00.000Z",
|
|
22
|
+
"note": "Version: 0.2.0\nUpdate playbook with twn_id and attr_cookie."
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"c9b879f5efb6123561407bb59d6a5d59 -"
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.2.0",
|
|
3
|
+
"global": {
|
|
4
|
+
"filters": [
|
|
5
|
+
{
|
|
6
|
+
"byEventNames": {
|
|
7
|
+
"action": "allow",
|
|
8
|
+
"events": [
|
|
9
|
+
"identify",
|
|
10
|
+
"page",
|
|
11
|
+
"products_searched",
|
|
12
|
+
"product_list_viewed",
|
|
13
|
+
"product_clicked",
|
|
14
|
+
"product_viewed",
|
|
15
|
+
"product_added",
|
|
16
|
+
"product_removed",
|
|
17
|
+
"cart_viewed",
|
|
18
|
+
"checkout_started",
|
|
19
|
+
"payment_info_entered",
|
|
20
|
+
"order_completed",
|
|
21
|
+
"promotion_clicked",
|
|
22
|
+
"promotion_viewed",
|
|
23
|
+
"product_added_to_wishlist",
|
|
24
|
+
"order_updated",
|
|
25
|
+
"order_refunded",
|
|
26
|
+
"coupon_entered"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"enrichments": [
|
|
32
|
+
{
|
|
33
|
+
"staticString": "ADD_YOUR_VALUE_HERE",
|
|
34
|
+
"outputKey": "ef_[ADD_CAMPAIGN_OR_ADVERTISER]_id"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"mappings": [
|
|
38
|
+
{
|
|
39
|
+
"inputKey": "context.ip",
|
|
40
|
+
"outputKey": "client_ip"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputKey": "context.providers.engageFront.twn_id",
|
|
44
|
+
"outputKey": "twn_id"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"inputKey": "context.providers.engageFront.attr_cookie",
|
|
48
|
+
"outputKey": "attr_cookie"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"inputKey": "context.userAgent",
|
|
52
|
+
"outputKey": "user_agent"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"inputKey": "input",
|
|
56
|
+
"outputKey": "timestamp",
|
|
57
|
+
"transforms": [
|
|
58
|
+
{
|
|
59
|
+
"expression": {
|
|
60
|
+
"lang": "lua",
|
|
61
|
+
"body": "return REPLACE(input.timestamp,'Z','000')"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"inputKey": "input",
|
|
68
|
+
"outputKey": "event_name",
|
|
69
|
+
"transforms": [
|
|
70
|
+
{
|
|
71
|
+
"expression": {
|
|
72
|
+
"lang": "lua",
|
|
73
|
+
"body": "if (input.type == \"track\") then return REPLACE(LOWER(input.event), \" \", \"_\") end\nreturn input.type"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"inputKey": "context.page.referrer",
|
|
80
|
+
"outputKey": "referer"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"642c1a302f5400399036457634ec63d5 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"cc798f49d695e504352a909a1b0e93a9 -"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"8f4e4be125e49b832a55f51c218837fc -"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"default": {
|
|
3
|
+
"endpoint": "https://obtr.teads.tv/unifiedPixel",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"headers": [
|
|
6
|
+
{
|
|
7
|
+
"key": "Accept-Encoding",
|
|
8
|
+
"value": "application/json"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"key": "Content-Type",
|
|
12
|
+
"value": "application/json"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"c4d46a3f21b3c16d0bc542d05882cc60 -"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
4
|
+
"isBeta": true,
|
|
5
|
+
"friendlyName": "Teads",
|
|
6
|
+
"description": "Teads is a global advertising platform specializing in outstream video and display ads that appear within premium publisher content.",
|
|
7
|
+
"logo": "https://cdn.metarouter.io/teads.png",
|
|
8
|
+
"color": "#3300BF",
|
|
9
|
+
"eventSource": {
|
|
10
|
+
"isAndroidApp": false,
|
|
11
|
+
"isIosApp": false,
|
|
12
|
+
"isWebApp": true
|
|
13
|
+
},
|
|
14
|
+
"inputSchema": "analytics_js",
|
|
15
|
+
"releaseNotes": [
|
|
16
|
+
{
|
|
17
|
+
"date": "2025-11-12T21:00:00.000Z",
|
|
18
|
+
"note": "Version: 0.1.0\nBeta Version\nTeads initial release"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"7ff01ec94ba27d3d7eeae7a7a86d96a5 -"
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.0",
|
|
3
|
+
"params": [
|
|
4
|
+
{
|
|
5
|
+
"name": "TEADS_URL_DECORATOR",
|
|
6
|
+
"exampleValue": "my-teads-url-decorator",
|
|
7
|
+
"description": "Your custom URL Decorator for Teads"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"global": {
|
|
11
|
+
"mappings": [
|
|
12
|
+
{
|
|
13
|
+
"inputKey": "context.providers.teads.$$TEADS_URL_DECORATOR$$",
|
|
14
|
+
"outputKey": "ob_click_id"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputKey": "timestamp",
|
|
18
|
+
"outputKey": "timestamp",
|
|
19
|
+
"transforms": [
|
|
20
|
+
{
|
|
21
|
+
"expression": {
|
|
22
|
+
"lang": "lua",
|
|
23
|
+
"body": "local timestamp = input.timestamp or input.sentAt or input.originalTimestamp\ntimestamp = TO_STRING(timestamp)\nreturn SUBSTRING(timestamp, 0, 19)"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"default": {
|
|
31
|
+
"filters": [
|
|
32
|
+
{
|
|
33
|
+
"byEventNames": {
|
|
34
|
+
"action": "allow",
|
|
35
|
+
"events": [
|
|
36
|
+
""
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"eventSpecific": {
|
|
43
|
+
"page": {
|
|
44
|
+
"enrichments": [
|
|
45
|
+
{
|
|
46
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
47
|
+
"outputKey": "name"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"products_searched": {
|
|
52
|
+
"enrichments": [
|
|
53
|
+
{
|
|
54
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
55
|
+
"outputKey": "name"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"product_list_viewed": {
|
|
60
|
+
"enrichments": [
|
|
61
|
+
{
|
|
62
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
63
|
+
"outputKey": "name"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"mappings": [
|
|
67
|
+
{
|
|
68
|
+
"inputKey": "input",
|
|
69
|
+
"outputKey": "orderValue",
|
|
70
|
+
"transforms": [
|
|
71
|
+
{
|
|
72
|
+
"expression": {
|
|
73
|
+
"lang": "lua",
|
|
74
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"product_clicked": {
|
|
82
|
+
"enrichments": [
|
|
83
|
+
{
|
|
84
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
85
|
+
"outputKey": "name"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"mappings": [
|
|
89
|
+
{
|
|
90
|
+
"inputKey": "properties.price",
|
|
91
|
+
"outputKey": "orderValue"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"product_viewed": {
|
|
96
|
+
"enrichments": [
|
|
97
|
+
{
|
|
98
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
99
|
+
"outputKey": "name"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"mappings": [
|
|
103
|
+
{
|
|
104
|
+
"inputKey": "properties.price",
|
|
105
|
+
"outputKey": "orderValue"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"inputKey": "properties.currency",
|
|
109
|
+
"outputKey": "currency",
|
|
110
|
+
"transforms": [
|
|
111
|
+
{
|
|
112
|
+
"modifyString": "uppercase"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"product_added": {
|
|
119
|
+
"enrichments": [
|
|
120
|
+
{
|
|
121
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
122
|
+
"outputKey": "name"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"mappings": [
|
|
126
|
+
{
|
|
127
|
+
"inputKey": "properties.cart_id",
|
|
128
|
+
"outputKey": "orderId"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"inputKey": "properties.price",
|
|
132
|
+
"outputKey": "orderValue"
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"product_removed": {
|
|
137
|
+
"enrichments": [
|
|
138
|
+
{
|
|
139
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
140
|
+
"outputKey": "name"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"mappings": [
|
|
144
|
+
{
|
|
145
|
+
"inputKey": "properties.cart_id",
|
|
146
|
+
"outputKey": "orderId"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"inputKey": "properties.price",
|
|
150
|
+
"outputKey": "orderValue"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"cart_viewed": {
|
|
155
|
+
"enrichments": [
|
|
156
|
+
{
|
|
157
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
158
|
+
"outputKey": "name"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"mappings": [
|
|
162
|
+
{
|
|
163
|
+
"inputKey": "properties.cart_id",
|
|
164
|
+
"outputKey": "orderId"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"inputKey": "properties.currency",
|
|
168
|
+
"outputKey": "currency",
|
|
169
|
+
"transforms": [
|
|
170
|
+
{
|
|
171
|
+
"modifyString": "uppercase"
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"inputKey": "input",
|
|
177
|
+
"outputKey": "orderValue",
|
|
178
|
+
"transforms": [
|
|
179
|
+
{
|
|
180
|
+
"expression": {
|
|
181
|
+
"lang": "lua",
|
|
182
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"checkout_started": {
|
|
190
|
+
"enrichments": [
|
|
191
|
+
{
|
|
192
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
193
|
+
"outputKey": "name"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"mappings": [
|
|
197
|
+
{
|
|
198
|
+
"inputKey": "properties.order_id",
|
|
199
|
+
"outputKey": "orderId"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"inputKey": "properties.currency",
|
|
203
|
+
"outputKey": "currency",
|
|
204
|
+
"transforms": [
|
|
205
|
+
{
|
|
206
|
+
"modifyString": "uppercase"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"inputKey": "input",
|
|
212
|
+
"outputKey": "orderValue",
|
|
213
|
+
"transforms": [
|
|
214
|
+
{
|
|
215
|
+
"expression": {
|
|
216
|
+
"lang": "lua",
|
|
217
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
]
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"payment_info_entered": {
|
|
225
|
+
"enrichments": [
|
|
226
|
+
{
|
|
227
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
228
|
+
"outputKey": "name"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"mappings": [
|
|
232
|
+
{
|
|
233
|
+
"inputKey": "properties.order_id",
|
|
234
|
+
"outputKey": "orderId"
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
"order_completed": {
|
|
239
|
+
"enrichments": [
|
|
240
|
+
{
|
|
241
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
242
|
+
"outputKey": "name"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"mappings": [
|
|
246
|
+
{
|
|
247
|
+
"inputKey": "properties.order_id",
|
|
248
|
+
"outputKey": "orderId"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"inputKey": "properties.currency",
|
|
252
|
+
"outputKey": "currency",
|
|
253
|
+
"transforms": [
|
|
254
|
+
{
|
|
255
|
+
"modifyString": "uppercase"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"inputKey": "input",
|
|
261
|
+
"outputKey": "orderValue",
|
|
262
|
+
"transforms": [
|
|
263
|
+
{
|
|
264
|
+
"expression": {
|
|
265
|
+
"lang": "lua",
|
|
266
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"promotion_clicked": {
|
|
274
|
+
"enrichments": [
|
|
275
|
+
{
|
|
276
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
277
|
+
"outputKey": "name"
|
|
278
|
+
}
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
"promotion_viewed": {
|
|
282
|
+
"enrichments": [
|
|
283
|
+
{
|
|
284
|
+
"staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
|
|
285
|
+
"outputKey": "name"
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
package/README.md
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
# MetaRouter Starter Kits
|
|
2
2
|
|
|
3
3
|
### 2025-11
|
|
4
|
+
- Adobe Analytics
|
|
4
5
|
- Adobe Experience Platform
|
|
5
6
|
- Commission Junction
|
|
7
|
+
- EngageFront (New)
|
|
6
8
|
- Microsoft Ads CAPI
|
|
9
|
+
- Teads (New)
|
|
7
10
|
|
|
8
11
|
| Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
|
|
9
12
|
|----------|----------------------|---------------------|---------------------|-----------------|-------------|
|
|
@@ -11,8 +14,8 @@
|
|
|
11
14
|
| ActionIQ | 2021-06-24 | N/A | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
|
|
12
15
|
| Acuity Ads | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
13
16
|
| Adjust | 2025-09-10 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
14
|
-
| Adobe Analytics | 2025-10-08 | N/A | 2025-
|
|
15
|
-
| Adobe Experience Platform | 2023-03-21 | 2025-08-20 | 2025-11-
|
|
17
|
+
| Adobe Analytics | 2025-10-08 | N/A | 2025-11-19 | Version: 0.4.0 | Changed reportSuiteID to a parameter Added marketingCloudVisitorID field |
|
|
18
|
+
| Adobe Experience Platform | 2023-03-21 | 2025-08-20 | 2025-11-19 | Version: 1.1.0 | Added ECID support Updated identityMap mappings |
|
|
16
19
|
| Adobe ID | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
17
20
|
| Amazon DSP CAPI | 2025-05-21 | 2025-08-13 | 2025-08-13 | Version: 1.0.0 | Stable Release |
|
|
18
21
|
| Amazon Data Firehose | 2025-02-05 | 2025-04-02 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
@@ -31,10 +34,11 @@
|
|
|
31
34
|
| Button | 2025-02-19 | 2025-03-12 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
|
|
32
35
|
| CM360 - Floodlights | 2021-06-24 | 2025-08-20 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
33
36
|
| Clinch | 2024-04-24 | 2024-06-12 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
|
|
34
|
-
| Commission Junction | 2024-01-17 | 2024-04-24 | 2025-11-
|
|
37
|
+
| Commission Junction | 2024-01-17 | 2024-04-24 | 2025-11-19 | Version: 1.5.1 | Added friendly name to trackingSource expression |
|
|
35
38
|
| Convert | 2023-09-08 | N/A | 2024-11-20 | Version: 0.3.0 | Added new deduplication parameter for all events, `tid` |
|
|
36
39
|
| Criteo | 2021-06-24 | 2024-05-15 | 2025-09-03 | Version: 2.1.0 | Removed id node and added alternate_ids array in playbook.yaml |
|
|
37
40
|
| Customer.io | 2022-11-07 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
41
|
+
| EngageFront (New) | 2025-11-12 | N/A | 2025-11-19 | Version: 0.2.0 | Update playbook with twn_id and attr_cookie. |
|
|
38
42
|
| Firebase | 2024-01-15 | N/A | 2024-10-23 | Version: 0.2.0 | Updated header `Accept-Encoding: application/json` |
|
|
39
43
|
| Google AJSID Segments | 2024-05-29 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
40
44
|
| Google Ads - Conversions | 2023-07-04 | 2024-04-17 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
|
|
@@ -76,14 +80,15 @@
|
|
|
76
80
|
| RTB House | 2024-11-20 | N/A | 2025-07-30 | Version: 0.3.1 | Replaced context.traits with traits. |
|
|
77
81
|
| Rakuten Conversions | 2025-07-30 | 2025-09-24 | 2025-09-24 | Version: 1.0.0 | Stable Release |
|
|
78
82
|
| Reddit Ads | 2023-09-12 | N/A | 2025-10-15 | Version: 0.0.2 | Beta migration to Reddit CAPI V3. Removed item_count from product_viewed |
|
|
79
|
-
| Ringier Axel Springer Poland | 2025-06-25 | N/A | 2025-09-24 | Version: 0.3.0 | Stringified products fields in multiple events |
|
|
80
83
|
| Ringier Axel Springer Poland | 2025-03-05 | 2025-04-09 | 2025-09-24 | Version: 1.3.0 | Reverted changes: Stringified products fields in multiple events |
|
|
84
|
+
| Ringier Axel Springer Poland | 2025-06-25 | N/A | 2025-09-24 | Version: 0.3.0 | Stringified products fields in multiple events |
|
|
81
85
|
| Roku | 2023-04-27 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
|
|
82
86
|
| Roomvo | 2021-08-10 | N/A | 2025-10-15 | Version: 0.2.1 | Added friendly names to expressions |
|
|
83
87
|
| Salesforce CDP | 2022-05-31 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced originalTimestamp with timestamp |
|
|
84
88
|
| Snapchat - CAPI | 2024-06-05 | 2024-07-17 | 2025-07-30 | Version: 1.4.0 | Replaced context.traits with traits. |
|
|
85
89
|
| Snapchat Ads | 2021-06-24 | N/A | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
|
|
86
90
|
| Snowflake | 2021-06-24 | N/A | 2025-10-15 | Version: 0.1.2 | Added friendly names to expressions |
|
|
91
|
+
| Teads (New) | 2025-11-12 | N/A | 2025-11-12 | Version: 0.1.0 | Beta Version Teads initial release |
|
|
87
92
|
| The Trade Desk - Conversions | 2025-06-04 | 2025-07-30 | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
|
|
88
93
|
| TheTradeDesk Conversion Events | 2022-11-29 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced originalTimestamp with timestamp |
|
|
89
94
|
| TheTradeDesk Firstparty Advertiser Data | 2022-11-29 | N/A | 2025-07-30 | Version: 1.2.0 | Updated Lua timestamp fallback logic to use input.timestamp |
|
package/index.js
CHANGED
|
@@ -237,6 +237,12 @@ exports['customer-io'] = {
|
|
|
237
237
|
metadata: require('./.dist/customer-io/metadata.json')
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
+
exports['engage-front'] = {
|
|
241
|
+
endpointSchema: require('./.dist/engage-front/connection.json'),
|
|
242
|
+
playbook: require('./.dist/engage-front/playbook.json'),
|
|
243
|
+
metadata: require('./.dist/engage-front/metadata.json')
|
|
244
|
+
}
|
|
245
|
+
|
|
240
246
|
exports['facebook-pixel'] = {
|
|
241
247
|
endpointSchema: require('./.dist/facebook-pixel/connection.json'),
|
|
242
248
|
playbook: require('./.dist/facebook-pixel/playbook.json'),
|
|
@@ -489,6 +495,12 @@ exports['snapchat-capi'] = {
|
|
|
489
495
|
metadata: require('./.dist/snapchat-capi/metadata.json')
|
|
490
496
|
}
|
|
491
497
|
|
|
498
|
+
exports['teads'] = {
|
|
499
|
+
endpointSchema: require('./.dist/teads/connection.json'),
|
|
500
|
+
playbook: require('./.dist/teads/playbook.json'),
|
|
501
|
+
metadata: require('./.dist/teads/metadata.json')
|
|
502
|
+
}
|
|
503
|
+
|
|
492
504
|
exports['thetradedesk-conversion-events'] = {
|
|
493
505
|
endpointSchema: require('./.dist/thetradedesk-conversion-events/connection.json'),
|
|
494
506
|
playbook: require('./.dist/thetradedesk-conversion-events/playbook.json'),
|
|
@@ -753,6 +765,11 @@ exports.etags = {
|
|
|
753
765
|
playbook: require('./.dist/customer-io/playbook.etag.json'),
|
|
754
766
|
kit: require('./.dist/customer-io/kit.etag.json')
|
|
755
767
|
},
|
|
768
|
+
'engage-front': {
|
|
769
|
+
endpointSchema: require('./.dist/engage-front/connection.etag.json'),
|
|
770
|
+
playbook: require('./.dist/engage-front/playbook.etag.json'),
|
|
771
|
+
metadata: require('./.dist/engage-front/kit.etag.json')
|
|
772
|
+
},
|
|
756
773
|
'facebook-pixel': {
|
|
757
774
|
endpointSchema: require('./.dist/facebook-pixel/connection.etag.json'),
|
|
758
775
|
playbook: require('./.dist/facebook-pixel/playbook.etag.json'),
|
|
@@ -962,6 +979,11 @@ exports.etags = {
|
|
|
962
979
|
playbook: require('./.dist/snapchat-capi/playbook.etag.json'),
|
|
963
980
|
kit: require('./.dist/snapchat-capi/kit.etag.json')
|
|
964
981
|
},
|
|
982
|
+
'teads': {
|
|
983
|
+
endpointSchema: require('./.dist/teads/connection.etag.json'),
|
|
984
|
+
playbook: require('./.dist/teads/playbook.etag.json'),
|
|
985
|
+
kit: require('./.dist/teads/kit.etag.json')
|
|
986
|
+
},
|
|
965
987
|
'thetradedesk-conversion-events': {
|
|
966
988
|
endpointSchema: require('./.dist/thetradedesk-conversion-events/connection.etag.json'),
|
|
967
989
|
playbook: require('./.dist/thetradedesk-conversion-events/playbook.etag.json'),
|