@metarouter/ajs-starter-kit 1.0.57 → 1.0.59
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-analytics/connection.etag.json +1 -0
- package/.dist/adobe-analytics/connection.json +103 -0
- package/.dist/adobe-analytics/metadata.json +20 -0
- package/.dist/adobe-analytics/playbook.etag.json +1 -0
- package/.dist/adobe-analytics/playbook.json +71 -0
- package/.dist/roku/connection.etag.json +1 -0
- package/.dist/roku/connection.json +24 -0
- package/.dist/roku/kit.etag.json +1 -0
- package/.dist/roku/metadata.json +20 -0
- package/.dist/roku/playbook.etag.json +1 -0
- package/.dist/roku/playbook.json +106 -0
- package/index.js +21 -9
- package/package.json +1 -1
- package/.dist/adobe/connection.etag.json +0 -1
- package/.dist/adobe/connection.json +0 -6
- package/.dist/adobe/metadata.json +0 -24
- package/.dist/adobe/playbook.etag.json +0 -1
- package/.dist/adobe/playbook.json +0 -3
- /package/.dist/{adobe → adobe-analytics}/kit.etag.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"87d93e9ad27b5d956b15cd87a5bc98b7"
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"params": [
|
|
3
|
+
{
|
|
4
|
+
"name": "DATASTREAM_ID",
|
|
5
|
+
"exampleValue": "datastream-id"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"name": "ORG_ID",
|
|
9
|
+
"exampleValue": "org_ident@AdobeOrg"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "API_KEY",
|
|
13
|
+
"exampleValue": "api-key"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "CLIENT_ID",
|
|
17
|
+
"exampleValue": "api-key"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "CLIENT_SECRET",
|
|
21
|
+
"exampleValue": "client-secret"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "OAUTH2_REQUEST_URL",
|
|
25
|
+
"defaultValue": "https://ims-na1.adobelogin.com/ims/exchange/jwt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "TECHNICAL_ACCOUNT_ID",
|
|
29
|
+
"exampleValue": "id@techacct.adobe.com"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "CLIENT_PEM_KEY",
|
|
33
|
+
"exampleValue": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBg....\n-----END PRIVATE KEY-----\n"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"default": {
|
|
37
|
+
"endpoint": "https://server.adobedc.net/ee/v2/interact?dataStreamId=$$DATASTREAM_ID$$",
|
|
38
|
+
"method": "POST",
|
|
39
|
+
"headers": [
|
|
40
|
+
{
|
|
41
|
+
"key": "x-gw-ims-org-id",
|
|
42
|
+
"value": "$$ORG_ID$$"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"key": "x-api-key",
|
|
46
|
+
"value": "$$API_KEY$$"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"key": "Content-Type",
|
|
50
|
+
"value": "application/json"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"oauth2_auth": {
|
|
54
|
+
"request": {
|
|
55
|
+
"url": "$$OAUTH2_REQUEST_URL$$",
|
|
56
|
+
"contentType": "application/x-www-form-urlencoded",
|
|
57
|
+
"method": "POST",
|
|
58
|
+
"body": [
|
|
59
|
+
{
|
|
60
|
+
"key": "client_id",
|
|
61
|
+
"value": "$$CLIENT_ID$$"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"key": "client_secret",
|
|
65
|
+
"value": "$$CLIENT_SECRET$$"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"responseAccessTokenKey": "access_token",
|
|
70
|
+
"jwt": {
|
|
71
|
+
"claims": [
|
|
72
|
+
{
|
|
73
|
+
"key": "aud",
|
|
74
|
+
"value": "https://ims-na1.adobelogin.com/c/$$API_KEY$$"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"key": "sub",
|
|
78
|
+
"value": "$$TECHNICAL_ACCOUNT_ID$$"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"key": "https://ims-na1.adobelogin.com/s/ent_analytics_bulk_ingest_sdk",
|
|
82
|
+
"value": "true"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"key": "https://ims-na1.adobelogin.com/s/ent_user_sdk",
|
|
86
|
+
"value": "true"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"key": "https://ims-na1.adobelogin.com/s/ent_adobeio_sdk",
|
|
90
|
+
"value": "true"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"key": "iss",
|
|
94
|
+
"value": "$$ORG_ID$$"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"signingMethod": "SIGNING_METHOD_RS256",
|
|
98
|
+
"rsaPemKey": "$$CLIENT_PEM_KEY$$",
|
|
99
|
+
"requestKey": "jwt_token"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"isDraft": false,
|
|
3
|
+
"isBeta": true,
|
|
4
|
+
"friendlyName": "Adobe Analytics",
|
|
5
|
+
"description": "Adobe Analytics is a web and marketing analytics tool focused on in-depth reporting of customer web and marketing journeys.",
|
|
6
|
+
"logo": "https://cdn.metarouter.io/logo.svg",
|
|
7
|
+
"color": "#2E204B",
|
|
8
|
+
"eventSource": {
|
|
9
|
+
"isAndroidApp": true,
|
|
10
|
+
"isIosApp": true,
|
|
11
|
+
"isWebApp": true
|
|
12
|
+
},
|
|
13
|
+
"inputSchema": "analytics_js",
|
|
14
|
+
"releaseNotes": [
|
|
15
|
+
{
|
|
16
|
+
"date": "2023-03-21T00:00:00.000Z",
|
|
17
|
+
"note": "Adobe Analytics initial release."
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"5e77d68e5bca1d0f425cc1bd53168dd7"
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "v0.0.1",
|
|
3
|
+
"default": {
|
|
4
|
+
"filters": [
|
|
5
|
+
{
|
|
6
|
+
"byEventNames": {
|
|
7
|
+
"action": "allow",
|
|
8
|
+
"events": [
|
|
9
|
+
""
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"global": {
|
|
16
|
+
"mappings": [
|
|
17
|
+
{
|
|
18
|
+
"inputKey": "input",
|
|
19
|
+
"outputKey": "event.xdm.identityMap.FPID",
|
|
20
|
+
"transforms": [
|
|
21
|
+
{
|
|
22
|
+
"expression": {
|
|
23
|
+
"body": "return {{ id = TO_SHA256_HASH(input.anonymousId), primary = true }}",
|
|
24
|
+
"lang": "lua"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"inputKey": "input",
|
|
31
|
+
"outputKey": "event.xdm.identityMap.Email_LC_SHA256",
|
|
32
|
+
"transforms": [
|
|
33
|
+
{
|
|
34
|
+
"expression": {
|
|
35
|
+
"body": "if (input.context.traits.email) then\n return {{ id = TO_SHA256_HASH(LOWER(TRIM(input.context.traits.email))), primary = false }}\nend\nreturn",
|
|
36
|
+
"lang": "lua"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"inputKey": "timestamp",
|
|
43
|
+
"outputKey": "event.xdm.timestamp"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"eventSpecific": {
|
|
48
|
+
"page": {
|
|
49
|
+
"enrichments": [
|
|
50
|
+
{
|
|
51
|
+
"outputKey": "event.xdm.eventType",
|
|
52
|
+
"staticString": "web.webpagedetails.pageViews"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"mappings": [
|
|
56
|
+
{
|
|
57
|
+
"inputKey": "context.page.url",
|
|
58
|
+
"outputKey": "event.xdm.web.webPageDetails.URL"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"inputKey": "context.page.title",
|
|
62
|
+
"outputKey": "event.xdm.web.webPageDetails.name"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"inputKey": "context.page.referrer",
|
|
66
|
+
"outputKey": "event.data.prop1"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"e3364d04f0bee50000ee105d7f9aa3f0"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"default": {
|
|
3
|
+
"endpoint": "https://tags.w55c.net/rs",
|
|
4
|
+
"headers": [
|
|
5
|
+
{
|
|
6
|
+
"key": "Referer",
|
|
7
|
+
"fromEventKey": "context.page.referrer"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"key": "X-Forwarded-For",
|
|
11
|
+
"fromEventKey": "context.ip"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"key": "User-Agent",
|
|
15
|
+
"fromEventKey": "context.userAgent"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"method": "GET",
|
|
19
|
+
"transform": {
|
|
20
|
+
"lang": "lua",
|
|
21
|
+
"body": "if (batch[1].w55c) then request.headers[\"Cookie\"] = 'wfivefivec=' .. batch[1].w55c end\nreturn request"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"d41d8cd98f00b204e9800998ecf8427e"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"isDraft": false,
|
|
3
|
+
"isBeta": false,
|
|
4
|
+
"friendlyName": "Roku",
|
|
5
|
+
"description": "Roku Ad Manager allows clients to programmatically purchase Roku inventory and reach users on the Roku platform. Our integration allows you to send data to Roku to track advertising campaigns.",
|
|
6
|
+
"logo": "https://cdn.metarouter.io/logo.svg",
|
|
7
|
+
"color": "#6f1ab1",
|
|
8
|
+
"eventSource": {
|
|
9
|
+
"isAndroidApp": "no",
|
|
10
|
+
"isIosApp": "no",
|
|
11
|
+
"isWebApp": true
|
|
12
|
+
},
|
|
13
|
+
"inputSchema": "analytics_js",
|
|
14
|
+
"releaseNotes": [
|
|
15
|
+
{
|
|
16
|
+
"date": "2023-04-27T00:00:00.000Z",
|
|
17
|
+
"note": "Roku initial release."
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"2a55870597dbad9f5718e0ba2e0b9f45"
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "v0.0.1",
|
|
3
|
+
"params": [
|
|
4
|
+
{
|
|
5
|
+
"name": "PAGE_PIXEL_ID",
|
|
6
|
+
"exampleValue": "page-pixel-id"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "ORDER_COMPLETED_PIXEL_ID",
|
|
10
|
+
"exampleValue": "order-completed-pixel-id"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"default": {
|
|
14
|
+
"filters": [
|
|
15
|
+
{
|
|
16
|
+
"byEventNames": {
|
|
17
|
+
"action": "allow",
|
|
18
|
+
"events": [
|
|
19
|
+
""
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"global": {
|
|
26
|
+
"mappings": [
|
|
27
|
+
{
|
|
28
|
+
"inputKey": "context.ip",
|
|
29
|
+
"outputKey": "aIP"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"inputKey": "anonymousId",
|
|
33
|
+
"outputKey": "aGM"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"inputKey": "context.providers.roku.wfivefivec",
|
|
37
|
+
"outputKey": "w55c"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"inputKey": "context.traits.email",
|
|
41
|
+
"outputKey": "aEM",
|
|
42
|
+
"transforms": [
|
|
43
|
+
{
|
|
44
|
+
"toHash": "sha256"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"eventSpecific": {
|
|
51
|
+
"order_completed": {
|
|
52
|
+
"enrichments": [
|
|
53
|
+
{
|
|
54
|
+
"outputKey": "id",
|
|
55
|
+
"staticString": "$$ORDER_COMPLETED_PIXEL_ID$$"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"outputKey": "t",
|
|
59
|
+
"staticString": "checkout"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"mappings": [
|
|
63
|
+
{
|
|
64
|
+
"inputKey": "properties.order_id",
|
|
65
|
+
"outputKey": "tx"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"inputKey": "input",
|
|
69
|
+
"outputKey": "sku",
|
|
70
|
+
"transforms": [
|
|
71
|
+
{
|
|
72
|
+
"expression": {
|
|
73
|
+
"lang": "lua",
|
|
74
|
+
"body": "return JOIN(PLUCK(input.properties.products, \"sku\"), \",\")"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"inputKey": "input",
|
|
81
|
+
"outputKey": "price",
|
|
82
|
+
"transforms": [
|
|
83
|
+
{
|
|
84
|
+
"expression": {
|
|
85
|
+
"lang": "lua",
|
|
86
|
+
"body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"page": {
|
|
94
|
+
"enrichments": [
|
|
95
|
+
{
|
|
96
|
+
"outputKey": "id",
|
|
97
|
+
"staticString": "$$PAGE_PIXEL_ID$$"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"outputKey": "t",
|
|
101
|
+
"staticString": "page"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
package/index.js
CHANGED
|
@@ -14,11 +14,11 @@ exports['acuity-ads'] = {
|
|
|
14
14
|
metadata: require('./.dist/acuity-ads/metadata.json')
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
exports
|
|
18
|
-
connectionTemplate: connectionSchemas.properties.
|
|
19
|
-
endpointSchema: require('./.dist/adobe/connection.json'),
|
|
20
|
-
playbook: require('./.dist/adobe/playbook.json'),
|
|
21
|
-
metadata: require('./.dist/adobe/metadata.json')
|
|
17
|
+
exports['adobe-analytics'] = {
|
|
18
|
+
connectionTemplate: connectionSchemas.properties.adobeAnalytics,
|
|
19
|
+
endpointSchema: require('./.dist/adobe-analytics/connection.json'),
|
|
20
|
+
playbook: require('./.dist/adobe-analytics/playbook.json'),
|
|
21
|
+
metadata: require('./.dist/adobe-analytics/metadata.json')
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
exports['adobe-id'] = {
|
|
@@ -286,6 +286,13 @@ exports['rev-jet'] = {
|
|
|
286
286
|
metadata: require('./.dist/rev-jet/metadata.json')
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
+
exports.roku = {
|
|
290
|
+
connectionTemplate: connectionSchemas.properties.roku,
|
|
291
|
+
endpointSchema: require('./.dist/roku/connection.json'),
|
|
292
|
+
playbook: require('./.dist/roku/playbook.json'),
|
|
293
|
+
metadata: require('./.dist/roku/metadata.json')
|
|
294
|
+
}
|
|
295
|
+
|
|
289
296
|
exports.roomvo = {
|
|
290
297
|
connectionTemplate: connectionSchemas.properties.roomvo,
|
|
291
298
|
endpointSchema: require('./.dist/roomvo/connection.json'),
|
|
@@ -393,10 +400,10 @@ exports.etags = {
|
|
|
393
400
|
playbook: require('./.dist/acuity-ads/playbook.etag.json'),
|
|
394
401
|
kit: require('./.dist/acuity-ads/kit.etag.json')
|
|
395
402
|
},
|
|
396
|
-
adobe: {
|
|
397
|
-
endpointSchema: require('./.dist/adobe/connection.etag.json'),
|
|
398
|
-
playbook: require('./.dist/adobe/playbook.etag.json'),
|
|
399
|
-
kit: require('./.dist/adobe/kit.etag.json')
|
|
403
|
+
'adobe-analytics': {
|
|
404
|
+
endpointSchema: require('./.dist/adobe-analytics/connection.etag.json'),
|
|
405
|
+
playbook: require('./.dist/adobe-analytics/playbook.etag.json'),
|
|
406
|
+
kit: require('./.dist/adobe-analytics/kit.etag.json')
|
|
400
407
|
},
|
|
401
408
|
'adobe-id': {
|
|
402
409
|
endpointSchema: require('./.dist/adobe-id/connection.etag.json'),
|
|
@@ -586,6 +593,11 @@ exports.etags = {
|
|
|
586
593
|
playbook: require('./.dist/rev-jet/playbook.etag.json'),
|
|
587
594
|
kit: require('./.dist/rev-jet/kit.etag.json')
|
|
588
595
|
},
|
|
596
|
+
roku: {
|
|
597
|
+
endpointSchema: require('./.dist/roku/connection.etag.json'),
|
|
598
|
+
playbook: require('./.dist/roku/playbook.etag.json'),
|
|
599
|
+
kit: require('./.dist/roku/kit.etag.json')
|
|
600
|
+
},
|
|
589
601
|
roomvo: {
|
|
590
602
|
endpointSchema: require('./.dist/roomvo/connection.etag.json'),
|
|
591
603
|
playbook: require('./.dist/roomvo/playbook.etag.json'),
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"00a1119e77914ebb412cba0b4bda50ca"
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"isDraft": true,
|
|
3
|
-
"isBeta": false,
|
|
4
|
-
"friendlyName": "Adobe Analytics",
|
|
5
|
-
"description": "An Enterprise-level web analytics platform that is accessible by anyone within an organization,\nyet is robust enough to adapt to advanced analytics needs.",
|
|
6
|
-
"logo": "https://cdn.metarouter.io/logo.svg",
|
|
7
|
-
"color": "#CF4853",
|
|
8
|
-
"eventSource": {
|
|
9
|
-
"isAndroidApp": true,
|
|
10
|
-
"isIosApp": true,
|
|
11
|
-
"isWebApp": true
|
|
12
|
-
},
|
|
13
|
-
"inputSchema": "analytics_js",
|
|
14
|
-
"releaseNotes": [
|
|
15
|
-
{
|
|
16
|
-
"date": "2021-06-24T00:00:00.000Z",
|
|
17
|
-
"note": "Adobe Analytics initial release."
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"date": "2022-11-16T00:00:00.000Z",
|
|
21
|
-
"note": "Add isBeta field"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"b595e137717755bf1031fcaa01ce64b5"
|
|
File without changes
|