@metarouter/ajs-starter-kit 1.0.92 → 1.0.94

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.
Files changed (50) hide show
  1. package/.dist/acuity-ads/kit.etag.json +1 -1
  2. package/.dist/amplitude/kit.etag.json +1 -1
  3. package/.dist/build-your-own/connection.etag.json +1 -0
  4. package/.dist/build-your-own/connection.json +22 -0
  5. package/.dist/build-your-own/kit.etag.json +1 -0
  6. package/.dist/build-your-own/metadata.json +20 -0
  7. package/.dist/build-your-own/playbook.etag.json +1 -0
  8. package/.dist/build-your-own/playbook.json +11 -0
  9. package/.dist/clinch/kit.etag.json +1 -1
  10. package/.dist/clinch/metadata.json +4 -0
  11. package/.dist/clinch/playbook.etag.json +1 -1
  12. package/.dist/clinch/playbook.json +14 -2
  13. package/.dist/connection-schemas.json +74 -2
  14. package/.dist/convert/kit.etag.json +1 -1
  15. package/.dist/criteo/kit.etag.json +1 -1
  16. package/.dist/criteo/metadata.json +5 -1
  17. package/.dist/criteo/playbook.etag.json +1 -1
  18. package/.dist/criteo/playbook.json +1 -1
  19. package/.dist/google-ads-audience/connection.etag.json +1 -0
  20. package/.dist/google-ads-audience/connection.json +36 -0
  21. package/.dist/google-ads-audience/kit.etag.json +1 -0
  22. package/.dist/google-ads-audience/metadata.json +18 -0
  23. package/.dist/google-ads-audience/playbook.etag.json +1 -0
  24. package/.dist/google-ads-audience/playbook.json +21 -0
  25. package/.dist/google-analytics-4-collect/kit.etag.json +1 -1
  26. package/.dist/google-analytics-4-collect/metadata.json +4 -0
  27. package/.dist/google-analytics-4-collect/playbook.etag.json +1 -1
  28. package/.dist/google-analytics-4-collect/playbook.json +21 -5
  29. package/.dist/google-cm360/connection.etag.json +1 -1
  30. package/.dist/google-cm360/connection.json +12 -2
  31. package/.dist/google-cm360/kit.etag.json +1 -1
  32. package/.dist/google-cm360/metadata.json +4 -0
  33. package/.dist/movable-ink-customer-data/connection.etag.json +1 -1
  34. package/.dist/movable-ink-customer-data/connection.json +1 -1
  35. package/.dist/movable-ink-customer-data/kit.etag.json +1 -1
  36. package/.dist/movable-ink-customer-data/metadata.json +4 -0
  37. package/.dist/movable-ink-customer-data/playbook.etag.json +1 -1
  38. package/.dist/movable-ink-customer-data/playbook.json +1 -1
  39. package/.dist/s3/kit.etag.json +1 -1
  40. package/.dist/thetradedesk-conversion-events/kit.etag.json +1 -1
  41. package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -1
  42. package/README.md +16 -12
  43. package/index.js +23 -0
  44. package/package.json +2 -2
  45. package/.dist/google-ads-segments/connection.etag.json +0 -1
  46. package/.dist/google-ads-segments/connection.json +0 -94
  47. package/.dist/google-ads-segments/kit.etag.json +0 -1
  48. package/.dist/google-ads-segments/metadata.json +0 -36
  49. package/.dist/google-ads-segments/playbook.etag.json +0 -1
  50. package/.dist/google-ads-segments/playbook.json +0 -17
@@ -1 +1 @@
1
- "6700c6fb353b5fdb874109911b7c5e78"
1
+ "e478504d48be7b75cc522e42dd1d09d6"
@@ -1 +1 @@
1
- "ef9443b0c89aa76dd16c59d9bac2d286"
1
+ "0e91817f5700ef9c47b529d56babb936"
@@ -0,0 +1 @@
1
+ "7436091922570e087681642eeccf224a"
@@ -0,0 +1,22 @@
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
+ "method": "POST"
21
+ }
22
+ }
@@ -0,0 +1 @@
1
+ "0e1da4b583dccc688ded3473ddfd3317"
@@ -0,0 +1,20 @@
1
+ {
2
+ "isDraft": false,
3
+ "isBeta": true,
4
+ "friendlyName": "Build Your Own",
5
+ "description": "Create your own integration with a third-party vendor.",
6
+ "logo": "https://cdn.metarouter.io/clinch.png",
7
+ "color": "#2b3066",
8
+ "eventSource": {
9
+ "isAndroidApp": true,
10
+ "isIosApp": true,
11
+ "isWebApp": true
12
+ },
13
+ "inputSchema": "analytics_js",
14
+ "releaseNotes": [
15
+ {
16
+ "date": "2024-05-29T00:00:00.000Z",
17
+ "note": "Version: 0.1.0\nBeta Version\nBYO initial release"
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1 @@
1
+ "b369e2c36983957aec3cfe2f3c3bee4b"
@@ -0,0 +1,11 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "global": {
4
+ "expressions": [
5
+ {
6
+ "body": "return input",
7
+ "lang": "lua"
8
+ }
9
+ ]
10
+ }
11
+ }
@@ -1 +1 @@
1
- "bb5f1493bec844c06b5be5339db26bc8"
1
+ "5cc3f74ca233fe79f65468ea9402b936"
@@ -15,6 +15,10 @@
15
15
  {
16
16
  "date": "2024-04-24T00:00:00.000Z",
17
17
  "note": "Version: 0.1.0\nBeta Version\nClinch initial release"
18
+ },
19
+ {
20
+ "date": "2024-05-29T00:00:00.000Z",
21
+ "note": "Version: 0.2.0\nAdding email and cookie id\nAdding new `identify` event"
18
22
  }
19
23
  ]
20
24
  }
@@ -1 +1 @@
1
- "951c2216d3ed21325ca668032a97ee10"
1
+ "cdf4a552559724196307adf15bd7b93e"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CLIENT_ID",
@@ -45,6 +45,10 @@
45
45
  }
46
46
  ],
47
47
  "mappings": [
48
+ {
49
+ "inputKey": "context.providers.clinch.sid",
50
+ "outputKey": "clinch-sid"
51
+ },
48
52
  {
49
53
  "inputKey": "input",
50
54
  "outputKey": "timestamp",
@@ -75,7 +79,7 @@
75
79
  "transforms": [
76
80
  {
77
81
  "expression": {
78
- "body": "if input.context.traits.email then return TO_SHA256_HASH(LOWER(TRIM(input.context.traits.email))) end",
82
+ "body": "local email = input.traits.email or input.context.traits.email\nif (email) then return TO_SHA256_HASH(LOWER(TRIM(email))) end",
79
83
  "lang": "lua"
80
84
  }
81
85
  }
@@ -90,6 +94,14 @@
90
94
  ]
91
95
  },
92
96
  "eventSpecific": {
97
+ "identify": {
98
+ "enrichments": [
99
+ {
100
+ "staticString": "Other",
101
+ "outputKey": "type"
102
+ }
103
+ ]
104
+ },
93
105
  "page": {
94
106
  "enrichments": [
95
107
  {
@@ -67,6 +67,38 @@
67
67
  ],
68
68
  "additionalProperties": false
69
69
  },
70
+ "googleAdsAudience": {
71
+ "type": "object",
72
+ "properties": {
73
+ "audienceId": {
74
+ "type": "string"
75
+ },
76
+ "customerId": {
77
+ "type": "string"
78
+ },
79
+ "developerToken": {
80
+ "type": "string"
81
+ },
82
+ "principalEmail": {
83
+ "type": "string"
84
+ },
85
+ "privateKey": {
86
+ "type": "string"
87
+ },
88
+ "serviceAccountEmail": {
89
+ "type": "string"
90
+ }
91
+ },
92
+ "required": [
93
+ "audienceId",
94
+ "customerId",
95
+ "developerToken",
96
+ "privateKey",
97
+ "principalEmail",
98
+ "serviceAccountEmail"
99
+ ],
100
+ "additionalProperties": false
101
+ },
70
102
  "googleBigqueryStreaming": {
71
103
  "type": "object",
72
104
  "properties": {
@@ -99,11 +131,14 @@
99
131
  },
100
132
  "profileId": {
101
133
  "type": "number"
134
+ },
135
+ "profileIdStr": {
136
+ "type": "string"
102
137
  }
103
138
  },
104
139
  "required": [
105
- "profileId",
106
- "credentialsJson"
140
+ "credentialsJson",
141
+ "profileIdStr"
107
142
  ],
108
143
  "additionalProperties": false
109
144
  },
@@ -377,6 +412,43 @@
377
412
  "privateKey"
378
413
  ],
379
414
  "additionalProperties": false
415
+ },
416
+ "testTimeout": {
417
+ "type": "object",
418
+ "properties": {
419
+ "timeoutMax": {
420
+ "type": "object",
421
+ "properties": {
422
+ "nanos": {
423
+ "type": "number"
424
+ },
425
+ "seconds": {
426
+ "type": "number"
427
+ }
428
+ },
429
+ "additionalProperties": false
430
+ },
431
+ "timeoutMin": {
432
+ "type": "object",
433
+ "properties": {
434
+ "nanos": {
435
+ "type": "number"
436
+ },
437
+ "seconds": {
438
+ "type": "number"
439
+ }
440
+ },
441
+ "additionalProperties": false
442
+ },
443
+ "timeoutPercent": {
444
+ "type": "number"
445
+ }
446
+ },
447
+ "required": [
448
+ "timeoutMax",
449
+ "timeoutPercent"
450
+ ],
451
+ "additionalProperties": false
380
452
  }
381
453
  },
382
454
  "additionalProperties": false
@@ -1 +1 @@
1
- "83cc999bfedfc8e52a1aff695f4a1300"
1
+ "32918a067a614311f310516373c6f933"
@@ -1 +1 @@
1
- "11cef502ce31e460d7b55996697bfe0a"
1
+ "58a2d876888d80bd0f9fc6b0bad80d11"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "isDraft": false,
3
- "isBeta": true,
3
+ "isBeta": false,
4
4
  "friendlyName": "Criteo",
5
5
  "description": "Criteo is a Commerce Media Platform that offers programmatic advertising solutions.",
6
6
  "logo": "https://cdn.metarouter.io/criteo.png",
@@ -27,6 +27,10 @@
27
27
  {
28
28
  "date": "2024-03-06T05:00:00.000Z",
29
29
  "note": "Migrated to Server to Server endpoint"
30
+ },
31
+ {
32
+ "date": "2024-05-15T00:00:00.000Z",
33
+ "note": "Stable release version: 1.0.0."
30
34
  }
31
35
  ]
32
36
  }
@@ -1 +1 @@
1
- "cabe263814512a5000a1bdbdd8b00f9d"
1
+ "fa41695c000ac5b2777c6fddb07573c3"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0",
2
+ "version": "1.0.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "PARTNER_ID",
@@ -0,0 +1 @@
1
+ "dd5d5b5086806dc799fba93b944e6fe5"
@@ -0,0 +1,36 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "AUDIENCE_ID",
5
+ "defaultValue": "audience_id"
6
+ },
7
+ {
8
+ "name": "CUSTOMER_ID",
9
+ "defaultValue": "customer_id"
10
+ },
11
+ {
12
+ "name": "DEVELOPER_TOKEN",
13
+ "defaultValue": "developer_token"
14
+ },
15
+ {
16
+ "name": "PRINCIPAL_EMAIL",
17
+ "defaultValue": "principal_email"
18
+ },
19
+ {
20
+ "name": "PRIVATE_KEY",
21
+ "defaultValue": "private_key"
22
+ },
23
+ {
24
+ "name": "SERVICE_ACCOUNT_EMAIL",
25
+ "defaultValue": "service_account_email"
26
+ }
27
+ ],
28
+ "google_ads_audience": {
29
+ "audience_id": "$$AUDIENCE_ID$$",
30
+ "customer_id": "$$CUSTOMER_ID$$",
31
+ "developer_token": "$$DEVELOPER_TOKEN$$",
32
+ "principal_email": "$$PRINCIPAL_EMAIL$$",
33
+ "private_key": "$$PRIVATE_KEY$$",
34
+ "service_account_email": "$$SERVICE_ACCOUNT_EMAIL$$"
35
+ }
36
+ }
@@ -0,0 +1 @@
1
+ "007a6fa7c4ba24ea16c9f9dc55e91cf7"
@@ -0,0 +1,18 @@
1
+ {
2
+ "isDraft": false,
3
+ "isBeta": true,
4
+ "friendlyName": "Google Ads Audience",
5
+ "description": "Based on an AUDIENCE_ID, this job adds operations to the specified offline user data job.\nIt specifically adds the ajs annonimous ID to the job. When the event is an order completed, it adds details about that product.\nThis playbook was built based on this document https://developers.google.com/google-ads/api/rest/reference/rest/v16/customers.offlineUserDataJobs/addOperations\n",
6
+ "logo": "https://cdn.metarouter.io/logo.svg",
7
+ "color": "#4185f5",
8
+ "eventSource": {
9
+ "isWebApp": true
10
+ },
11
+ "inputSchema": "analytics_js",
12
+ "releaseNotes": [
13
+ {
14
+ "date": "2024-05-29T00:00:00.000Z",
15
+ "note": "Google Ads Audience initial release, version 0.1.0."
16
+ }
17
+ ]
18
+ }
@@ -0,0 +1 @@
1
+ "b50a7f40db43c66953cc042623bbead0"
@@ -0,0 +1,21 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "global": {
4
+ "expressions": [
5
+ {
6
+ "lang": "lua",
7
+ "body": "local data = {\n userIdentifiers = {\n {\n thirdPartyUserId = input.anonymousId\n }\n },\n consent = {\n adUserData = \"GRANTED\",\n adPersonalization = \"GRANTED\"\n }\n}\nreturn data"
8
+ }
9
+ ]
10
+ },
11
+ "eventSpecific": {
12
+ "order_completed": {
13
+ "expressions": [
14
+ {
15
+ "lang": "lua",
16
+ "body": "local DEFAULT_COUNTRY_CODE = \"US\"\nlocal DEFAULT_CURRENCY_CODE = \"USD\"\nlocal DEFAULT_LANGUAGE_CODE = \"en\"\nif input.properties.products == nil then\n return\nend\nif input.properties.products[1] == nil then\n return\nend\nlocal currencyCode = DEFAULT_CURRENCY_CODE\nif input.properties.currency ~= nil then\n currencyCode = input.properties.currency\nend\n-- Code formats https://developers.google.com/google-ads/api/data/codes-formats#country-codes\nfunction splitLocale(inputText)\n if inputText == nil then\n return DEFAULT_LANGUAGE_CODE, DEFAULT_COUNTRY_CODE\n end\n local parts = {}\n for part in string.gmatch(inputText, \"([^%-]+)\") do\n table.insert(parts, part)\n end\n -- Assign language and country with defaults\n local language = parts[1] or DEFAULT_LANGUAGE_CODE\n local country = parts[2] or DEFAULT_COUNTRY_CODE\n return language, country\nend\nlocal languageCode, countryCode = splitLocale(input.context.locale)\nlocal data = {\n transactionAttribute = {\n transactionDateTime = TO_DATE_TIME(input.timestamp, {outputFormat = \"2006-01-02 15:04:05\"}),\n transactionAmountMicros = input.properties.total * 1000000,\n currencyCode = currencyCode,\n orderId = tostring(input.properties.order_id),\n itemAttribute = {\n itemId = input.properties.products[1].product_id,\n countryCode = countryCode,\n languageCode = languageCode,\n quantity = input.properties.products[1].quantity\n }\n }\n}\nreturn data"
17
+ }
18
+ ]
19
+ }
20
+ }
21
+ }
@@ -1 +1 @@
1
- "2a0d86144463cb51f969c55a08589663"
1
+ "8ec58bb2e7d1e161146ccf01fe78f1d3"
@@ -15,6 +15,10 @@
15
15
  {
16
16
  "date": "2024-04-24T00:00:00.000Z",
17
17
  "note": "Google Analytics 4 (Collect) initial release; Beta version"
18
+ },
19
+ {
20
+ "date": "2024-05-29T00:00:00.000Z",
21
+ "note": "Version: 0.2.0\nUpdated `context.providers` usage for the `gclid` and `dclid` fields"
18
22
  }
19
23
  ]
20
24
  }
@@ -1 +1 @@
1
- "1efb703a8c64bf6674e18f7dd4cb210f"
1
+ "c8f5c74cce99369cd2c0a321dd3239e3"
@@ -1,14 +1,30 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "global": {
4
4
  "mappings": [
5
5
  {
6
- "inputKey": "context.providers.googleGtag.data.gclid",
7
- "outputKey": "gclid"
6
+ "inputKey": "input",
7
+ "outputKey": "gclid",
8
+ "transforms": [
9
+ {
10
+ "expression": {
11
+ "lang": "lua",
12
+ "body": "if input.context.providers.googleGtag.data.gclid then return SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3] end"
13
+ }
14
+ }
15
+ ]
8
16
  },
9
17
  {
10
- "inputKey": "context.providers.googleGtag.data.dclid",
11
- "outputKey": "dclid"
18
+ "inputKey": "input",
19
+ "outputKey": "dclid",
20
+ "transforms": [
21
+ {
22
+ "expression": {
23
+ "lang": "lua",
24
+ "body": "if input.context.providers.googleGtag.data.dclid then return SPLIT(input.context.providers.googleGtag.data.dclid, \".\", 3)[3] end"
25
+ }
26
+ }
27
+ ]
12
28
  },
13
29
  {
14
30
  "inputKey": "input",
@@ -1 +1 @@
1
- "e65a3facc63d436efa068c81da8ab5a2"
1
+ "d5ee5f6c8a0cc64778af8610df2faae0"
@@ -1,6 +1,16 @@
1
1
  {
2
+ "params": [
3
+ {
4
+ "name": "PROFILE_ID_STR",
5
+ "defaultValue": "my-profile-id-str"
6
+ },
7
+ {
8
+ "name": "CREDENTIALS_JSON",
9
+ "defaultValue": "my-credentials-json"
10
+ }
11
+ ],
2
12
  "googleCM360": {
3
- "profileID": 1,
4
- "credentialsJSON": "my-credentials-json"
13
+ "credentialsJSON": "$$CREDENTIALS_JSON$$",
14
+ "profileIdStr": "$$PROFILE_ID_STR$$"
5
15
  }
6
16
  }
@@ -1 +1 @@
1
- "d8169a6463a086209425b4aeb417ac58"
1
+ "46967bbdca4f62bb261e8cd08df0126f"
@@ -23,6 +23,10 @@
23
23
  {
24
24
  "date": "2023-12-13T00:00:00.000Z",
25
25
  "note": "Marked as unstable version: 0.1.0"
26
+ },
27
+ {
28
+ "date": "2024-05-23T00:00:00.000Z",
29
+ "note": "Deprecate field profileId and Create field profileIdStr"
26
30
  }
27
31
  ]
28
32
  }
@@ -1 +1 @@
1
- "c1dc9ad61c527d0444a8b1be3e6df966"
1
+ "501ceeedf2141bb9fecf4a06043b6f6b"
@@ -18,7 +18,7 @@
18
18
  "password": "$$PASSWORD$$",
19
19
  "username": "$$USERNAME$$"
20
20
  },
21
- "endpoint": "https://collector.movableink-dmz.com/behavioral/$$ENDPOINT$$",
21
+ "endpoint": "$$ENDPOINT$$",
22
22
  "headers": [
23
23
  {
24
24
  "key": "Content-Type",
@@ -1 +1 @@
1
- "941b0d0afdb4121d4339cabd20a8e5d1"
1
+ "82319a8065df64c827e5152a1f75724d"
@@ -23,6 +23,10 @@
23
23
  {
24
24
  "date": "2024-04-24T00:00:00.000Z",
25
25
  "note": "Stable release version: 1.0.0."
26
+ },
27
+ {
28
+ "date": "2024-05-15T00:00:00.000Z",
29
+ "note": "Version: 1.1.0\nEndpoint updated."
26
30
  }
27
31
  ]
28
32
  }
@@ -1 +1 @@
1
- "601c184ea21004b082dc0f7efb0f77c1"
1
+ "7766dbb2b7874b21294c1a0de205b3bf"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -1 +1 @@
1
- "b89e476b1725f3f7b7eb40bd451ad2d5"
1
+ "b8700998fced0675b28d6b1fe0c70a17"
@@ -1 +1 @@
1
- "2dbc9c0be51c4beccf2d7cd7ad153e22"
1
+ "14c7a3e8c17bf1b4dac82fb7abca87b1"
@@ -1 +1 @@
1
- "8368532b939dbfb2abb2a8e3e24a1d1a"
1
+ "5631aeffd6bca2fd135196dc8aa55944"
package/README.md CHANGED
@@ -5,19 +5,23 @@ 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-05
9
+ - Build Your Own (BETA)
10
+ - Clinch (BETA)
11
+ - Criteo
12
+ - Google Ads Audience (BETA)
13
+ - Google Analytics 4 (Collect) (BETA)
14
+ - Google Campaign Manager (BETA)
15
+ - Movable Ink - Customer Data
16
+
8
17
  ## 2024-04
9
18
  - Azure Blob
10
- - Clinch (BETA)
11
19
  - Commission Junction
12
20
  - Facebook Pixel
13
21
  - Google Ads
14
- - Google Ads
15
22
  - Google Analytics 4
16
- - Google Analytics 4 (Collect) (BETA)
17
- - Movable Ink - Customer Data
18
23
 
19
24
  ## 2024-03
20
- - Criteo (BETA)
21
25
  - Heap (BETA)
22
26
  - Reddit Ads
23
27
  - Snowflake (BETA)
@@ -53,7 +57,6 @@ previously.
53
57
  - Google Ads (BETA)
54
58
  - Google Analytics
55
59
  - Google BigQuery
56
- - Google Campaign Manager (BETA)
57
60
  - HubSpot (BETA)
58
61
  - Impact Radius
59
62
  - InMarket (BETA)
@@ -84,16 +87,18 @@ previously.
84
87
 
85
88
  | Kit Name | Date | Latest Note |
86
89
  |----------|------|-------------|
90
+ | Build Your Own (BETA) | 2024-05 | Version: 0.1.0 Beta Version BYO initial release |
91
+ | Clinch (BETA) | 2024-05 | Version: 0.2.0 Adding email and cookie id Adding new `identify` event |
92
+ | Criteo | 2024-05 | Stable release version: 1.0.0. |
93
+ | Google Ads Audience (BETA) | 2024-05 | Google Ads Audience initial release, version 0.1.0. |
94
+ | Google Analytics 4 (Collect) (BETA) | 2024-05 | Version: 0.2.0 Updated `context.providers` usage for the `gclid` and `dclid` fields |
95
+ | Google Campaign Manager (BETA) | 2024-05 | Deprecate field profileId and Create field profileIdStr |
96
+ | Movable Ink - Customer Data | 2024-05 | Version: 1.1.0 Endpoint updated. |
87
97
  | Azure Blob | 2024-04 | Added SAS Token |
88
- | Clinch (BETA) | 2024-04 | Version: 0.1.0 Beta Version Clinch initial release |
89
98
  | Commission Junction | 2024-04 | Removed travel-related params and "advanced integration" `items` field. Stable release version: 1.0.0. |
90
99
  | Facebook Pixel | 2024-04 | Version: 1.2.0 Updated CAPI default version to `v19.0` |
91
100
  | Google Ads | 2024-04 | Version: 1.1.0 Removed `userIdentifiers` field |
92
- | Google Ads | 2024-04 | Version: 1.1.0 Removed `userIdentifiers` field |
93
101
  | Google Analytics 4 | 2024-04 | Version: 1.1.0 Added session data: session ID, session Count Added Engagement Time In Milliseconds |
94
- | Google Analytics 4 (Collect) (BETA) | 2024-04 | Google Analytics 4 (Collect) initial release; Beta version |
95
- | Movable Ink - Customer Data | 2024-04 | Stable release version: 1.0.0. |
96
- | Criteo (BETA) | 2024-03 | Migrated to Server to Server endpoint |
97
102
  | Heap (BETA) | 2024-03 | heap initial release. |
98
103
  | Reddit Ads | 2024-03 | Updated Standard events usage Version bump: 1.1.0 |
99
104
  | Snowflake (BETA) | 2024-03 | Enabled playbook |
@@ -123,7 +128,6 @@ previously.
123
128
  | Google Ads (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
124
129
  | Google Analytics | 2023-12 | Marked as stable version: 1.0.0 |
125
130
  | Google BigQuery | 2023-12 | Stable release Marked as stable version: 1.0.0 |
126
- | Google Campaign Manager (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
127
131
  | HubSpot (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
128
132
  | Impact Radius | 2023-12 | Marked as stable version: 1.0.0 |
129
133
  | InMarket (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
package/index.js CHANGED
@@ -104,6 +104,13 @@ exports.braze = {
104
104
  metadata: require('./.dist/braze/metadata.json')
105
105
  }
106
106
 
107
+ exports['build-your-own'] = {
108
+ connectionTemplate: connectionSchemas.properties.buildYourOwn,
109
+ endpointSchema: require('./.dist/build-your-own/connection.json'),
110
+ playbook: require('./.dist/build-your-own/playbook.json'),
111
+ metadata: require('./.dist/build-your-own/metadata.json')
112
+ }
113
+
107
114
  exports.clinch = {
108
115
  connectionTemplate: connectionSchemas.properties.clinch,
109
116
  endpointSchema: require('./.dist/clinch/connection.json'),
@@ -163,6 +170,12 @@ exports['google-ads'] = {
163
170
  metadata: require('./.dist/google-ads/metadata.json')
164
171
  }
165
172
 
173
+ exports['google-ads-audience'] = {
174
+ connectionTemplate: connectionSchemas.properties.googleAdsAudience,
175
+ playbook: require('./.dist/google-ads-audience/playbook.json'),
176
+ metadata: require('./.dist/google-ads-audience/metadata.json')
177
+ }
178
+
166
179
  exports['google-analytics'] = {
167
180
  connectionTemplate: connectionSchemas.properties.googleAnalytics,
168
181
  endpointSchema: require('./.dist/google-analytics/connection.json'),
@@ -538,6 +551,11 @@ exports.etags = {
538
551
  playbook: require('./.dist/braze/playbook.etag.json'),
539
552
  kit: require('./.dist/braze/kit.etag.json')
540
553
  },
554
+ 'build-your-own': {
555
+ endpointSchema: require('./.dist/build-your-own/connection.etag.json'),
556
+ playbook: require('./.dist/build-your-own/playbook.etag.json'),
557
+ kit: require('./.dist/build-your-own/kit.etag.json')
558
+ },
541
559
  clinch: {
542
560
  endpointSchema: require('./.dist/clinch/connection.etag.json'),
543
561
  playbook: require('./.dist/clinch/playbook.etag.json'),
@@ -582,6 +600,11 @@ exports.etags = {
582
600
  playbook: require('./.dist/google-ads/playbook.etag.json'),
583
601
  kit: require('./.dist/google-ads/kit.etag.json')
584
602
  },
603
+ 'google-ads-audience': {
604
+ endpointSchema: require('./.dist/google-ads-audience/connection.etag.json'),
605
+ playbook: require('./.dist/google-ads-audience/playbook.etag.json'),
606
+ kit: require('./.dist/google-ads-audience/kit.etag.json')
607
+ },
585
608
  'google-analytics': {
586
609
  endpointSchema: require('./.dist/google-analytics/connection.etag.json'),
587
610
  playbook: require('./.dist/google-analytics/playbook.etag.json'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.92",
3
+ "version": "1.0.94",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -12,4 +12,4 @@
12
12
  "devDependencies": {
13
13
  "yamljs": "^0.3.0"
14
14
  }
15
- }
15
+ }
@@ -1 +0,0 @@
1
- "c536ae4aee6254e7217ea6ef211ec399"
@@ -1,94 +0,0 @@
1
- {
2
- "params": [
3
- {
4
- "name": "API_VERSION",
5
- "defaultValue": "v16",
6
- "isOptional": false
7
- },
8
- {
9
- "name": "CUSTOMER_ID",
10
- "exampleValue": "4882184890",
11
- "isOptional": false
12
- },
13
- {
14
- "name": "DEVELOPER_TOKEN",
15
- "exampleValue": "uGjRh4yTbYPNNaoou1_5Ag",
16
- "isOptional": false
17
- },
18
- {
19
- "name": "PRINCIPAL_EMAIL",
20
- "exampleValue": "osvaldo@metarouter.io",
21
- "isOptional": false
22
- },
23
- {
24
- "name": "SERVICE_ACCOUNT_EMAIL",
25
- "exampleValue": "google-ads@metarouter-sandbox.iam.gserviceaccount.com",
26
- "isOptional": false
27
- },
28
- {
29
- "name": "PRIVATE_KEY",
30
- "exampleValue": "-----BEGIN PRIVATE KEY-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC6dYg7maZyJ3we\ndsXiMkyx6wuusMbgKF5K8KLtyTmhkmyAMg/ngTtxQVqB1DLCRaHgWUz6V2S57Sjl\nPX/JU2VrJoERO61ag3iu5W1yNgFDic1x/BIJm45L+wKKXh416gU0BVXC0MLYLhIe\nZduSKSwPcjcXBmFmy+SuKiz7+bJ6HWwSkX74ld5f7AfeffYIA2fiBobrx4djF5X3\nWkReFO3ffZ8mSAyVDPTsMu7CdWuySjoDy2/xuA6CkJWvxUsKNd54hHFGkwNqkk0K\nrwLogk3+0woooXCHpKP/wnCpk/eQj8IFnRjDOHfhT4yn9OIBiv2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2W7J76X+RrItH60ORW1LOhQKBgQCaMYZ4CzbO5TxpR6+z\nB/WUzx+hxoA8H2PYiLkjyoURv2e9X/uVFTq/zllIL//0Cqvki2PCHLibrkkOcW/O\nPzn7NV0Z05gX5WdzQ+/6uv0UdPUsY43K+Kx5vumFJoqAenSmS3QT2aReuQe92N2R\nfx0FcHx4LkrdmiTf9bzGI0Hlow==\n-----END PRIVATE KEY-----\n",
31
- "isOptional": false
32
- }
33
- ],
34
- "default": {
35
- "endpoint": "https://googleads.googleapis.com/v16/customers/4882184890/userLists:mutate",
36
- "batchSize": 10,
37
- "method": "POST",
38
- "headers": [
39
- {
40
- "key": "Content-Type",
41
- "value": "application/json"
42
- },
43
- {
44
- "key": "Accept-Encoding",
45
- "value": "application/json"
46
- },
47
- {
48
- "key": "developer-token",
49
- "value": "uGjRh4yTbYPNNaoou1_5Ag"
50
- }
51
- ],
52
- "oauth2_auth": {
53
- "request": {
54
- "url": "https://oauth2.googleapis.com/token",
55
- "contentType": "application/x-www-form-urlencoded",
56
- "method": "POST",
57
- "body": [
58
- {
59
- "key": "grant_type",
60
- "value": "urn:ietf:params:oauth:grant-type:jwt-bearer"
61
- }
62
- ]
63
- },
64
- "responseAccessTokenKey": "access_token",
65
- "jwt": {
66
- "claims": [
67
- {
68
- "key": "aud",
69
- "value": "https://oauth2.googleapis.com/token"
70
- },
71
- {
72
- "key": "sub",
73
- "value": "osvaldo@metarouter.io"
74
- },
75
- {
76
- "key": "scope",
77
- "value": "https://www.googleapis.com/auth/adwords"
78
- },
79
- {
80
- "key": "iss",
81
- "value": "google-ads@metarouter-sandbox.iam.gserviceaccount.com"
82
- }
83
- ],
84
- "signingMethod": "SIGNING_METHOD_RS256",
85
- "rsaPemKey": "-----BEGIN PRIVATE KEY-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC6dYg7maZyJ3we\ndsXiMkyx6wuusMbgKF5K8KLtyTmhkmyAMg/ngTtxQVqB1DLCRaHg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DJI1hcGLhqFqhfJEubAU+0tQQmhaWqCon3i2eheA6JMBotvuXTnUb\nT6SOVu4vpAxdoHsJnFKz4W377w10uxkI+xTCi78PaY5RSxeMO8iymH5D4QKBgQCb\ngMO2GfHEGbMUIn6UBWedQlx285dCHR217u/0Fi/iiHpx6wVILxybcNyM0cpCvshG\ndt++djUdVZG0RG+t4HHb2DHNjyahyejD97ZBa4C/mMhZOVpMnNOy/EakzCM+r421\nytkL5cQvicr7AF+Dxdu2W7J76X+RrItH60ORW1LOhQKBgQCaMYZ4CzbO5TxpR6+z\nB/WUzx+hxoA8H2PYiLkjyoURv2e9X/uVFTq/zllIL//0Cqvki2PCHLibrkkOcW/O\nPzn7NV0Z05gX5WdzQ+/6uv0UdPUsY43K+Kx5vumFJoqAenSmS3QT2aReuQe92N2R\nfx0FcHx4LkrdmiTf9bzGI0Hlow==\n-----END PRIVATE KEY-----\n",
86
- "requestKey": "assertion"
87
- }
88
- },
89
- "transform": {
90
- "lang": "lua",
91
- "body": "request.body = { operations = { batch },\n partialFailure = true,\n validateOnly = true\n}\nreturn request"
92
- }
93
- }
94
- }
@@ -1 +0,0 @@
1
- "dd8acfdd36a549ce0cfbd19a6ac0810b"
@@ -1,36 +0,0 @@
1
- {
2
- "isDraft": false,
3
- "isBeta": false,
4
- "friendlyName": "Google Ads",
5
- "description": "Google Ads is an online advertising platform developed by Google, where advertisers bid to display advertisements to users.",
6
- "logo": "https://cdn.metarouter.io/logo.svg",
7
- "color": "#4185f5",
8
- "eventSource": {
9
- "isAndroidApp": true,
10
- "isIosApp": true,
11
- "isWebApp": true
12
- },
13
- "inputSchema": "analytics_js",
14
- "releaseNotes": [
15
- {
16
- "date": "2023-07-04T00:00:00.000Z",
17
- "note": "Google Ads initial release."
18
- },
19
- {
20
- "date": "2023-09-12T00:00:00.000Z",
21
- "note": "Bug fixing the `gclid` value\nReplace params usage for conversion action IDs"
22
- },
23
- {
24
- "date": "2023-12-13T00:00:00.000Z",
25
- "note": "Marked as unstable version: 0.1.0"
26
- },
27
- {
28
- "date": "2024-04-17T00:00:00.000Z",
29
- "note": "Stable release version: 1.0.0"
30
- },
31
- {
32
- "date": "2024-04-24T00:00:00.000Z",
33
- "note": "Version: 1.1.0\nRemoved `userIdentifiers` field"
34
- }
35
- ]
36
- }
@@ -1 +0,0 @@
1
- "60075145709327d110b74cd6a87c6f28"
@@ -1,17 +0,0 @@
1
- {
2
- "version": "1.1.0",
3
- "params": [
4
- {
5
- "name": "CUSTOMER_ID",
6
- "exampleValue": "customer-id"
7
- }
8
- ],
9
- "global": {
10
- "expressions": [
11
- {
12
- "lang": "lua",
13
- "body": "local data = {}\ndata.resourceName = \"from forge\"\nreturn { create = data }"
14
- }
15
- ]
16
- }
17
- }