@metarouter/ajs-starter-kit 1.0.95 → 1.0.97

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.
@@ -1 +1 @@
1
- "87d93e9ad27b5d956b15cd87a5bc98b7"
1
+ "29c91d3ab5ce99fb019b9127b1378427"
@@ -2,35 +2,23 @@
2
2
  "params": [
3
3
  {
4
4
  "name": "DATASTREAM_ID",
5
- "exampleValue": "datastream-id"
5
+ "exampleValue": "my-datastream-id",
6
+ "isOptional": false
6
7
  },
7
8
  {
8
9
  "name": "ORG_ID",
9
- "exampleValue": "org_ident@AdobeOrg"
10
+ "exampleValue": "my-org-id",
11
+ "isOptional": false
10
12
  },
11
13
  {
12
14
  "name": "API_KEY",
13
- "exampleValue": "api-key"
15
+ "exampleValue": "my-api-key",
16
+ "isOptional": false
14
17
  },
15
18
  {
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"
19
+ "name": "ACCESS_TOKEN",
20
+ "exampleValue": "my-access-token",
21
+ "isOptional": false
34
22
  }
35
23
  ],
36
24
  "default": {
@@ -45,59 +33,14 @@
45
33
  "key": "x-api-key",
46
34
  "value": "$$API_KEY$$"
47
35
  },
36
+ {
37
+ "key": "Authorization",
38
+ "value": "Bearer $$ACCESS_TOKEN$$"
39
+ },
48
40
  {
49
41
  "key": "Content-Type",
50
42
  "value": "application/json"
51
43
  }
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
- }
44
+ ]
102
45
  }
103
46
  }
@@ -1 +1 @@
1
- "575f127f6bed576ba2cf14a5720f68bc"
1
+ "82ed66f59a755aa413c5e0d2c132dd7a"
@@ -19,6 +19,10 @@
19
19
  {
20
20
  "date": "2023-12-13T00:00:00.000Z",
21
21
  "note": "Marked as unstable version: 0.1.0"
22
+ },
23
+ {
24
+ "date": "2024-06-12T00:00:00.000Z",
25
+ "note": "Version: 0.2.0\nAdding Bearer Authentication\nRemoving oAuth"
22
26
  }
23
27
  ]
24
28
  }
@@ -1 +1 @@
1
- "41f93f0857468d3ff5189f28ee34a98c"
1
+ "63c7b4f5ed37f7617b5bd2ab9a033079"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -1 +1 @@
1
- "5cc3f74ca233fe79f65468ea9402b936"
1
+ "edc5300ec4e21e4688b7f588cba597fa"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "isDraft": false,
3
- "isBeta": true,
3
+ "isBeta": false,
4
4
  "friendlyName": "Clinch",
5
5
  "description": "Clinch is a marketing platform that allows advertisers to create and deliver dynamic video ads that are tailored to individual viewers based on their interests, behaviors, and demographics.",
6
6
  "logo": "https://cdn.metarouter.io/clinch.png",
@@ -19,6 +19,10 @@
19
19
  {
20
20
  "date": "2024-05-29T00:00:00.000Z",
21
21
  "note": "Version: 0.2.0\nAdding email and cookie id\nAdding new `identify` event"
22
+ },
23
+ {
24
+ "date": "2024-06-12T00:00:00.000Z",
25
+ "note": "Version: 1.0.0\nStable release"
22
26
  }
23
27
  ]
24
28
  }
@@ -1 +1 @@
1
- "cdf4a552559724196307adf15bd7b93e"
1
+ "8db6f5408f77ec54d1d423bbe93499c2"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0",
2
+ "version": "1.0.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CLIENT_ID",
@@ -1 +1 @@
1
- "46967bbdca4f62bb261e8cd08df0126f"
1
+ "b503c431cf402515fea086d7b2b5461a"
@@ -27,6 +27,10 @@
27
27
  {
28
28
  "date": "2024-05-23T00:00:00.000Z",
29
29
  "note": "Deprecate field profileId and Create field profileIdStr"
30
+ },
31
+ {
32
+ "date": "2024-06-26T00:00:00.000Z",
33
+ "note": "Version: 0.2.0\nUpdate identity fields logic: gclid or dclid or mobileDeviceId or matchId"
30
34
  }
31
35
  ]
32
36
  }
@@ -1 +1 @@
1
- "8565f3c280df1be150d64b8d698e4420"
1
+ "00d635c5d98649cf4553bf2b71af74f1"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CONFIG_ID",
@@ -42,18 +42,6 @@
42
42
  }
43
43
  ]
44
44
  },
45
- {
46
- "inputKey": "input",
47
- "outputKey": "gclid",
48
- "transforms": [
49
- {
50
- "expression": {
51
- "lang": "lua",
52
- "body": "return SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3]"
53
- }
54
- }
55
- ]
56
- },
57
45
  {
58
46
  "inputKey": "messageId",
59
47
  "outputKey": "ordinal"
@@ -70,6 +58,12 @@
70
58
  }
71
59
  ]
72
60
  }
61
+ ],
62
+ "expressions": [
63
+ {
64
+ "lang": "lua",
65
+ "body": "local gclid = SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3];\nlocal dclid = SPLIT(input.context.providers.googleGtag.data.dclid, \".\", 3)[3];\nlocal mobileDeviceId = input.context.device.advertisingId;\nlocal matchId = input.anonymousId;\nreturn (gclid and { gclid = gclid }) or (dclid and { dclid = dclid}) or (mobileDeviceId and { mobileDeviceId = mobileDeviceId}) or (matchId and { matchId = matchId })"
66
+ }
73
67
  ]
74
68
  },
75
69
  "eventSpecific": {
package/README.md CHANGED
@@ -6,16 +6,17 @@ server, and other sources. It is particularly useful for tracking the pages or s
6
6
  users visit, the actions they take on your property, and whether the user has been identified
7
7
  previously.
8
8
  ## 2024-06
9
+ - Adobe Analytics (BETA)
10
+ - Clinch
11
+ - Google Campaign Manager (BETA)
9
12
  - Nextdoor - CAPI (BETA)
10
13
  - Snapchat - CAPI (BETA)
11
14
 
12
15
  ## 2024-05
13
16
  - Build Your Own (BETA)
14
- - Clinch (BETA)
15
17
  - Criteo
16
18
  - Google Ads Audience (BETA)
17
19
  - Google Analytics 4 (Collect) (BETA)
18
- - Google Campaign Manager (BETA)
19
20
  - Movable Ink - Customer Data
20
21
 
21
22
  ## 2024-04
@@ -44,7 +45,6 @@ previously.
44
45
  ## 2023-12
45
46
  - ActionIQ
46
47
  - Acuity Ads
47
- - Adobe Analytics (BETA)
48
48
  - Adobe ID (BETA)
49
49
  - Amnet (BETA)
50
50
  - Amobee
@@ -91,14 +91,15 @@ previously.
91
91
 
92
92
  | Kit Name | Date | Latest Note |
93
93
  |----------|------|-------------|
94
+ | Adobe Analytics (BETA) | 2024-06 | Version: 0.2.0 Adding Bearer Authentication Removing oAuth |
95
+ | Clinch | 2024-06 | Version: 1.0.0 Stable release |
96
+ | Google Campaign Manager (BETA) | 2024-06 | Version: 0.2.0 Update identity fields logic: gclid or dclid or mobileDeviceId or matchId |
94
97
  | Nextdoor - CAPI (BETA) | 2024-06 | Version: 0.1.0 Beta Version Nextdoor CAPI initial release |
95
98
  | Snapchat - CAPI (BETA) | 2024-06 | Version: 0.1.0 Beta Version Snapchat CAPI initial release |
96
99
  | Build Your Own (BETA) | 2024-05 | Version: 0.1.0 Beta Version BYO initial release |
97
- | Clinch (BETA) | 2024-05 | Version: 0.2.0 Adding email and cookie id Adding new `identify` event |
98
100
  | Criteo | 2024-05 | Stable release version: 1.0.0. |
99
101
  | Google Ads Audience (BETA) | 2024-05 | Google Ads Audience initial release, version 0.1.0. |
100
102
  | Google Analytics 4 (Collect) (BETA) | 2024-05 | Version: 0.2.0 Updated `context.providers` usage for the `gclid` and `dclid` fields |
101
- | Google Campaign Manager (BETA) | 2024-05 | Deprecate field profileId and Create field profileIdStr |
102
103
  | Movable Ink - Customer Data | 2024-05 | Version: 1.1.0 Endpoint updated. |
103
104
  | Azure Blob | 2024-04 | Added SAS Token |
104
105
  | Commission Junction | 2024-04 | Removed travel-related params and "advanced integration" `items` field. Stable release version: 1.0.0. |
@@ -117,7 +118,6 @@ previously.
117
118
  | Firebase (BETA) | 2024-01 | google-firebase initial release. |
118
119
  | ActionIQ | 2023-12 | Marked as stable version: 1.0.0 |
119
120
  | Acuity Ads | 2023-12 | Stable release Marked as stable version: 1.0.0 |
120
- | Adobe Analytics (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
121
121
  | Adobe ID (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
122
122
  | Amnet (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
123
123
  | Amobee | 2023-12 | Stable release Marked as stable version: 1.0.0 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.95",
3
+ "version": "1.0.97",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {