@metarouter/ajs-starter-kit 1.0.103 → 1.0.104

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 (76) hide show
  1. package/.dist/actioniq/connection.etag.json +1 -1
  2. package/.dist/actioniq/connection.json +19 -0
  3. package/.dist/actioniq/kit.etag.json +1 -1
  4. package/.dist/actioniq/metadata.json +4 -0
  5. package/.dist/actioniq/playbook.etag.json +1 -1
  6. package/.dist/actioniq/playbook.json +29 -1
  7. package/.dist/apps-flyer-android/kit.etag.json +1 -1
  8. package/.dist/apps-flyer-android/metadata.json +4 -0
  9. package/.dist/apps-flyer-android/playbook.etag.json +1 -1
  10. package/.dist/apps-flyer-android/playbook.json +11 -7
  11. package/.dist/apps-flyer-ios/kit.etag.json +1 -1
  12. package/.dist/apps-flyer-ios/metadata.json +4 -0
  13. package/.dist/apps-flyer-ios/playbook.etag.json +1 -1
  14. package/.dist/apps-flyer-ios/playbook.json +11 -7
  15. package/.dist/clinch/kit.etag.json +1 -1
  16. package/.dist/clinch/metadata.json +4 -0
  17. package/.dist/clinch/playbook.etag.json +1 -1
  18. package/.dist/clinch/playbook.json +2 -2
  19. package/.dist/commission-junction/kit.etag.json +1 -1
  20. package/.dist/commission-junction/metadata.json +4 -0
  21. package/.dist/commission-junction/playbook.etag.json +1 -1
  22. package/.dist/commission-junction/playbook.json +2 -2
  23. package/.dist/google-ads/kit.etag.json +1 -1
  24. package/.dist/google-ads/metadata.json +4 -0
  25. package/.dist/google-ads/playbook.etag.json +1 -1
  26. package/.dist/google-ads/playbook.json +2 -2
  27. package/.dist/google-cm360/kit.etag.json +1 -1
  28. package/.dist/google-cm360/metadata.json +4 -0
  29. package/.dist/google-cm360/playbook.etag.json +1 -1
  30. package/.dist/google-cm360/playbook.json +2 -2
  31. package/.dist/hubspot-event/kit.etag.json +1 -1
  32. package/.dist/hubspot-event/metadata.json +4 -0
  33. package/.dist/hubspot-event/playbook.etag.json +1 -1
  34. package/.dist/hubspot-event/playbook.json +11 -3
  35. package/.dist/impact-radius/kit.etag.json +1 -1
  36. package/.dist/impact-radius/metadata.json +4 -0
  37. package/.dist/impact-radius/playbook.etag.json +1 -1
  38. package/.dist/impact-radius/playbook.json +13 -7
  39. package/.dist/kochava/kit.etag.json +1 -1
  40. package/.dist/kochava/metadata.json +1 -1
  41. package/.dist/kochava/playbook.etag.json +1 -1
  42. package/.dist/kochava/playbook.json +2 -2
  43. package/.dist/mixpanel/kit.etag.json +1 -1
  44. package/.dist/mixpanel/metadata.json +4 -0
  45. package/.dist/mixpanel/playbook.etag.json +1 -1
  46. package/.dist/mixpanel/playbook.json +2 -2
  47. package/.dist/nextdoor-capi/kit.etag.json +1 -1
  48. package/.dist/nextdoor-capi/metadata.json +4 -0
  49. package/.dist/nextdoor-capi/playbook.etag.json +1 -1
  50. package/.dist/nextdoor-capi/playbook.json +2 -2
  51. package/.dist/pinterest-capi/kit.etag.json +1 -1
  52. package/.dist/pinterest-capi/metadata.json +4 -0
  53. package/.dist/pinterest-capi/playbook.etag.json +1 -1
  54. package/.dist/pinterest-capi/playbook.json +2 -2
  55. package/.dist/reddit-ads/kit.etag.json +1 -1
  56. package/.dist/reddit-ads/metadata.json +4 -0
  57. package/.dist/reddit-ads/playbook.etag.json +1 -1
  58. package/.dist/reddit-ads/playbook.json +2 -2
  59. package/.dist/snapchat-capi/kit.etag.json +1 -1
  60. package/.dist/snapchat-capi/metadata.json +4 -0
  61. package/.dist/snapchat-capi/playbook.etag.json +1 -1
  62. package/.dist/snapchat-capi/playbook.json +2 -2
  63. package/.dist/tiktok/kit.etag.json +1 -1
  64. package/.dist/tiktok/metadata.json +5 -1
  65. package/.dist/tiktok/playbook.etag.json +1 -1
  66. package/.dist/tiktok/playbook.json +1 -1
  67. package/.dist/twitter-conversions/kit.etag.json +1 -1
  68. package/.dist/twitter-conversions/metadata.json +5 -1
  69. package/.dist/twitter-conversions/playbook.etag.json +1 -1
  70. package/.dist/twitter-conversions/playbook.json +1 -1
  71. package/.dist/videoamp/kit.etag.json +1 -1
  72. package/.dist/videoamp/metadata.json +4 -0
  73. package/.dist/videoamp/playbook.etag.json +1 -1
  74. package/.dist/videoamp/playbook.json +9 -1
  75. package/README.md +33 -35
  76. package/package.json +1 -1
@@ -1 +1 @@
1
- "ce536a6703ee0c1fb97f8eb001693ebf"
1
+ "d05a398aac509c77e3bfd22c48654ec4"
@@ -70,6 +70,25 @@
70
70
  "lang": "lua",
71
71
  "body": "request.body = batch\nreturn request"
72
72
  }
73
+ },
74
+ "screen": {
75
+ "endpoint": "https://push.actioniq.com/v2/streams/$$ENDPOINT_IDENTIFIER$$_screen",
76
+ "basicAuth": {
77
+ "password": "$$PASSWORD$$",
78
+ "username": "$$USERNAME$$"
79
+ },
80
+ "headers": [
81
+ {
82
+ "key": "Content-Type",
83
+ "value": "application/json"
84
+ }
85
+ ],
86
+ "method": "POST",
87
+ "batchSize": 100,
88
+ "transform": {
89
+ "lang": "lua",
90
+ "body": "request.body = batch\nreturn request"
91
+ }
73
92
  }
74
93
  }
75
94
  }
@@ -1 +1 @@
1
- "022cdaf6de2bfca004cce5ac8506dea4"
1
+ "0290aa8dd3fa6ed9d00536269f55b27c"
@@ -43,6 +43,10 @@
43
43
  {
44
44
  "date": "2023-12-13T00:00:00.000Z",
45
45
  "note": "Marked as stable version: 1.0.0"
46
+ },
47
+ {
48
+ "date": "2024-09-04T00:00:00.000Z",
49
+ "note": "Version: 1.1.0\nAdded endpoint details for screen events\nAdded screen event mappings to the playbook"
46
50
  }
47
51
  ]
48
52
  }
@@ -1 +1 @@
1
- "60156c845b0d46a9306ae71818eceebd"
1
+ "f6bb7ff09b15bcae33f0fca7084f2c02"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "global": {
4
4
  "mappings": [
5
5
  {
@@ -88,6 +88,34 @@
88
88
  ]
89
89
  }
90
90
  ]
91
+ },
92
+ "screen": {
93
+ "mappings": [
94
+ {
95
+ "inputKey": "properties",
96
+ "outputKey": "properties"
97
+ },
98
+ {
99
+ "inputKey": "anonymousId",
100
+ "outputKey": "properties.anonymousId"
101
+ },
102
+ {
103
+ "inputKey": "context",
104
+ "outputKey": "properties.context"
105
+ },
106
+ {
107
+ "inputKey": "input",
108
+ "outputKey": "properties.isAnonymous",
109
+ "transforms": [
110
+ {
111
+ "expression": {
112
+ "lang": "lua",
113
+ "body": "return input.userId == nil"
114
+ }
115
+ }
116
+ ]
117
+ }
118
+ ]
91
119
  }
92
120
  },
93
121
  "default": {
@@ -1 +1 @@
1
- "35686c74010e0138b2d9c3ddf11e9ed2"
1
+ "eb3888153776bbb2f753b2f475b3a475"
@@ -31,6 +31,10 @@
31
31
  {
32
32
  "date": "2023-12-13T00:00:00.000Z",
33
33
  "note": "Stable release\nMarked as stable version: 1.0.0"
34
+ },
35
+ {
36
+ "date": "2024-08-22T00:00:00.000Z",
37
+ "note": "Version 1.1.0\ntimestamp field is used as the event time"
34
38
  }
35
39
  ]
36
40
  }
@@ -1 +1 @@
1
- "6cad16b148e4d5ea6bd9970786e09965"
1
+ "6ea7c01b2906dbbcfc19154411d4bbd4"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "global": {
4
4
  "filters": [
5
5
  {
@@ -30,14 +30,18 @@
30
30
  }
31
31
  }
32
32
  ]
33
- }
34
- ],
35
- "enrichments": [
33
+ },
36
34
  {
35
+ "inputKey": "timestamp",
37
36
  "outputKey": "eventTime",
38
- "date": {
39
- "format": "2006-01-02 15:04:05.000"
40
- }
37
+ "transforms": [
38
+ {
39
+ "toDateTime": {
40
+ "inputFormat": "2006-01-02T15:04:05Z07:00",
41
+ "outputFormat": "2006-01-02 15:04:05.000"
42
+ }
43
+ }
44
+ ]
41
45
  }
42
46
  ]
43
47
  },
@@ -1 +1 @@
1
- "f339796cbacf80fe0bcf35169c07f824"
1
+ "5ebf6d4b88d9fbca6e0f60b3739db4df"
@@ -31,6 +31,10 @@
31
31
  {
32
32
  "date": "2023-12-13T00:00:00.000Z",
33
33
  "note": "Stable release\nMarked as stable version: 1.0.0"
34
+ },
35
+ {
36
+ "date": "2024-08-22T00:00:00.000Z",
37
+ "note": "Version 1.1.0\ntimestamp field is used as the event time"
34
38
  }
35
39
  ]
36
40
  }
@@ -1 +1 @@
1
- "6cad16b148e4d5ea6bd9970786e09965"
1
+ "6ea7c01b2906dbbcfc19154411d4bbd4"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "global": {
4
4
  "filters": [
5
5
  {
@@ -30,14 +30,18 @@
30
30
  }
31
31
  }
32
32
  ]
33
- }
34
- ],
35
- "enrichments": [
33
+ },
36
34
  {
35
+ "inputKey": "timestamp",
37
36
  "outputKey": "eventTime",
38
- "date": {
39
- "format": "2006-01-02 15:04:05.000"
40
- }
37
+ "transforms": [
38
+ {
39
+ "toDateTime": {
40
+ "inputFormat": "2006-01-02T15:04:05Z07:00",
41
+ "outputFormat": "2006-01-02 15:04:05.000"
42
+ }
43
+ }
44
+ ]
41
45
  }
42
46
  ]
43
47
  },
@@ -1 +1 @@
1
- "edc5300ec4e21e4688b7f588cba597fa"
1
+ "6ec375bb42ae30f646bd7575c6afceb7"
@@ -23,6 +23,10 @@
23
23
  {
24
24
  "date": "2024-06-12T00:00:00.000Z",
25
25
  "note": "Version: 1.0.0\nStable release"
26
+ },
27
+ {
28
+ "date": "2024-08-22T00:00:00.000Z",
29
+ "note": "Version 1.1.0\ntimestamp field is used as the event time"
26
30
  }
27
31
  ]
28
32
  }
@@ -1 +1 @@
1
- "8db6f5408f77ec54d1d423bbe93499c2"
1
+ "2af5176c28dc98affce6dbeabce20b64"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CLIENT_ID",
@@ -55,7 +55,7 @@
55
55
  "transforms": [
56
56
  {
57
57
  "expression": {
58
- "body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(input.originalTimestamp or input.sentAt, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))",
58
+ "body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(input.timestamp or input.originalTimestamp or input.sentAt, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))",
59
59
  "lang": "lua"
60
60
  }
61
61
  }
@@ -1 +1 @@
1
- "ed8fede0e7b161c01ac5e5b041e86530"
1
+ "b7de8427f71f41fa5ae82a875688be08"
@@ -27,6 +27,10 @@
27
27
  {
28
28
  "date": "2024-04-24T00:00:00.000Z",
29
29
  "note": "Removed travel-related params and \"advanced integration\" `items` field.\nStable release version: 1.0.0."
30
+ },
31
+ {
32
+ "date": "2024-08-22T00:00:00.000Z",
33
+ "note": "Version 1.1.0\ntimestamp field is used as the event time"
30
34
  }
31
35
  ]
32
36
  }
@@ -1 +1 @@
1
- "528287e2fb3f5205291f07fb8a2013df"
1
+ "57237b1d199e5f2fe004249efb928163"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "ENTERPRISE_ID",
@@ -125,7 +125,7 @@
125
125
  ]
126
126
  },
127
127
  {
128
- "inputKey": "originalTimestamp",
128
+ "inputKey": "timestamp",
129
129
  "outputKey": "eventTime"
130
130
  }
131
131
  ]
@@ -1 +1 @@
1
- "98f8ba21dccd395f98adf84fddd4494a"
1
+ "efd837966b3f917457e8d2608b30401c"
@@ -35,6 +35,10 @@
35
35
  {
36
36
  "date": "2024-06-26T00:00:00.000Z",
37
37
  "note": "Renaming to Google Ads - Conversions"
38
+ },
39
+ {
40
+ "date": "2024-08-22T00:00:00.000Z",
41
+ "note": "Version 1.2.0\ntimestamp field is used as the event time"
38
42
  }
39
43
  ]
40
44
  }
@@ -1 +1 @@
1
- "2dcad8f0a541ea718347fee9437834eb"
1
+ "1420cf3e7816e41481d4ee2c1973ba83"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.0",
2
+ "version": "1.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CUSTOMER_ID",
@@ -57,7 +57,7 @@
57
57
  {
58
58
  "expression": {
59
59
  "lang": "lua",
60
- "body": "local date = input.originalTimestamp or input.sentAt\nlocal timezoneOffset = input.context.providers.googleGtag.data.timezone_offset or 0\nreturn TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\", outputLocation = { name = \"!UTC\", offset = TO_TRUNCATED_INT(timezoneOffset) * 60 }, outputFormat = \"2006-01-02 15:04:05-07:00\" })"
60
+ "body": "local date = input.timestamp or input.originalTimestamp or input.sentAt\nlocal timezoneOffset = input.context.providers.googleGtag.data.timezone_offset or 0\nreturn TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\", outputLocation = { name = \"!UTC\", offset = TO_TRUNCATED_INT(timezoneOffset) * 60 }, outputFormat = \"2006-01-02 15:04:05-07:00\" })"
61
61
  }
62
62
  }
63
63
  ]
@@ -1 +1 @@
1
- "b503c431cf402515fea086d7b2b5461a"
1
+ "6488fdb9ca7cd982a6c0bc7bd4100ada"
@@ -31,6 +31,10 @@
31
31
  {
32
32
  "date": "2024-06-26T00:00:00.000Z",
33
33
  "note": "Version: 0.2.0\nUpdate identity fields logic: gclid or dclid or mobileDeviceId or matchId"
34
+ },
35
+ {
36
+ "date": "2024-08-22T00:00:00.000Z",
37
+ "note": "Version 0.3.0\ntimestamp field is used as the event time"
34
38
  }
35
39
  ]
36
40
  }
@@ -1 +1 @@
1
- "00d635c5d98649cf4553bf2b71af74f1"
1
+ "b4b43961c72b82dac8dc5b2f565e4afd"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0",
2
+ "version": "0.3.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CONFIG_ID",
@@ -37,7 +37,7 @@
37
37
  {
38
38
  "expression": {
39
39
  "lang": "lua",
40
- "body": "return TO_STRING(MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(input.originalTimestamp) * 1000)"
40
+ "body": "return TO_STRING(MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(input.timestamp or input.originalTimestamp) * 1000)"
41
41
  }
42
42
  }
43
43
  ]
@@ -1 +1 @@
1
- "ec5aa0c66e265fa73770c2e313a820f5"
1
+ "bc3f600b0c90771c2d21186a212a5c60"
@@ -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-08-22T00:00:00.000Z",
25
+ "note": "Version 0.2.0\ntimestamp field is used as the event time"
22
26
  }
23
27
  ]
24
28
  }
@@ -1 +1 @@
1
- "fa990c8fe36de4c4fc64234c623c8cf2"
1
+ "aed3ad89cfe1a5af808dbd2942ee6ec7"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -19,8 +19,16 @@
19
19
  "outputKey": "objectId"
20
20
  },
21
21
  {
22
- "inputKey": "receivedAt",
23
- "outputKey": "occurredAt"
22
+ "inputKey": "timestamp",
23
+ "outputKey": "occurredAt",
24
+ "transforms": [
25
+ {
26
+ "toDateTime": {
27
+ "inputFormat": "2006-01-02T15:04:05Z07:00",
28
+ "outputFormat": "2006-01-02T15:04:05.000Z"
29
+ }
30
+ }
31
+ ]
24
32
  },
25
33
  {
26
34
  "inputKey": "context.providers.hubSpotTag.hubspotutk",
@@ -1 +1 @@
1
- "8459100c4e7b7e0b57ba036e73120ecb"
1
+ "a131e11590f55018e88fc2f4d2bdc2bb"
@@ -31,6 +31,10 @@
31
31
  {
32
32
  "date": "2023-12-13T00:00:00.000Z",
33
33
  "note": "Marked as stable version: 1.0.0"
34
+ },
35
+ {
36
+ "date": "2024-08-22T00:00:00.000Z",
37
+ "note": "Version 1.1.0\ntimestamp field is used as the event time"
34
38
  }
35
39
  ]
36
40
  }
@@ -1 +1 @@
1
- "cbf8c9b22a866bd811dd984d9386bedd"
1
+ "c097bac8a7fed05c521f4dec03e22872"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CAMPAIGN_ID",
@@ -15,12 +15,6 @@
15
15
  {
16
16
  "staticString": "$$CAMPAIGN_ID$$",
17
17
  "outputKey": "CampaignId"
18
- },
19
- {
20
- "date": {
21
- "format": "2006-01-02T15:04:05.070Z"
22
- },
23
- "outputKey": "EventDate"
24
18
  }
25
19
  ],
26
20
  "mappings": [
@@ -41,6 +35,18 @@
41
35
  {
42
36
  "inputKey": "userId",
43
37
  "outputKey": "CustomerId"
38
+ },
39
+ {
40
+ "inputKey": "timestamp",
41
+ "outputKey": "EventDate",
42
+ "transforms": [
43
+ {
44
+ "toDateTime": {
45
+ "inputFormat": "2006-01-02T15:04:05Z07:00",
46
+ "outputFormat": "2006-01-02T15:04:05-0700"
47
+ }
48
+ }
49
+ ]
44
50
  }
45
51
  ]
46
52
  },
@@ -1 +1 @@
1
- "c8abe4f6214c0ea41d76e2f1efdd40d9"
1
+ "b4717db0a6050c56642a097f4935a2ad"
@@ -18,7 +18,7 @@
18
18
  },
19
19
  {
20
20
  "date": "2023-12-13T00:00:00.000Z",
21
- "note": "Marked as unstable version: 0.1.0"
21
+ "note": "Marked as unstable version: 0.1.0\n- date: 2024-08-22T00:00:00.000000Z\n note: |-\n Version 0.2.0\n timestamp field is used as the event time"
22
22
  }
23
23
  ]
24
24
  }
@@ -1 +1 @@
1
- "4070afddef84e3c3d18d7938e9932990"
1
+ "7849affbbb18a302d58febad4c6a18ea"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "KOCHAVA_APP_ID",
@@ -69,7 +69,7 @@
69
69
  {
70
70
  "expression": {
71
71
  "lang": "lua",
72
- "body": "return MILLISECONDS_SINCE_EPOCH(input.receivedAt)"
72
+ "body": "return MILLISECONDS_SINCE_EPOCH(input.timestamp or input.receivedAt)"
73
73
  }
74
74
  }
75
75
  ]
@@ -1 +1 @@
1
- "49058f7d77f3a7c1a15d74df17e1d2bd"
1
+ "d268aade63151e44f0e5366e727fcd3f"
@@ -27,6 +27,10 @@
27
27
  {
28
28
  "date": "2023-12-13T00:00:00.000Z",
29
29
  "note": "Marked as stable version: 1.0.0"
30
+ },
31
+ {
32
+ "date": "2024-08-22T00:00:00.000Z",
33
+ "note": "Version 1.1.0\ntimestamp field is used as the event time"
30
34
  }
31
35
  ]
32
36
  }
@@ -1 +1 @@
1
- "511f676b6cb2174bbe3fb9d4baa6d672"
1
+ "4898e4b558a2d11f176c400a3b6a6fbe"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "TOKEN",
@@ -52,7 +52,7 @@
52
52
  {
53
53
  "expression": {
54
54
  "lang": "lua",
55
- "body": "local date = input.originalTimestamp or input.sentAt\nreturn MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))"
55
+ "body": "local date = input.timestamp or input.originalTimestamp or input.sentAt\nreturn MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))"
56
56
  }
57
57
  }
58
58
  ]
@@ -1 +1 @@
1
- "fa16b41c56e27f53e34fde98f40e4f54"
1
+ "37df6597304bbc57493abd3e59416374"
@@ -19,6 +19,10 @@
19
19
  {
20
20
  "date": "2024-07-17T00:00:00.000Z",
21
21
  "note": "Version: 1.0.0\nStable release"
22
+ },
23
+ {
24
+ "date": "2024-08-22T00:00:00.000Z",
25
+ "note": "Version 1.1.0\ntimestamp field is used as the event time"
22
26
  }
23
27
  ]
24
28
  }
@@ -1 +1 @@
1
- "b98f564b7a548284d1869f03d60e406b"
1
+ "ac35442c92d39863e81713ec168878b7"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CLIENT_ID",
@@ -35,7 +35,7 @@
35
35
  "outputKey": "event_id"
36
36
  },
37
37
  {
38
- "inputKey": "receivedAt",
38
+ "inputKey": "timestamp",
39
39
  "outputKey": "event_time"
40
40
  },
41
41
  {
@@ -1 +1 @@
1
- "e83b995d4ace8d656f1651d5aee938c4"
1
+ "a3641dbf6d40f753c3ada3f6a1e40093"
@@ -19,6 +19,10 @@
19
19
  {
20
20
  "date": "2023-12-13T00:00:00.000Z",
21
21
  "note": "Marked as stable version: 1.0.0"
22
+ },
23
+ {
24
+ "date": "2024-08-22T00:00:00.000Z",
25
+ "note": "Version 1.1.0\ntimestamp field is used as the event time"
22
26
  }
23
27
  ]
24
28
  }
@@ -1 +1 @@
1
- "435299c8a7da903fb3a17e812621579f"
1
+ "0934d4f17543c7dac89a8b4312a6b3a8"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -43,7 +43,7 @@
43
43
  {
44
44
  "expression": {
45
45
  "lang": "lua",
46
- "body": "local date = input.originalTimestamp or input.sentAt\nreturn SECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))"
46
+ "body": "local date = input.timestamp or input.originalTimestamp or input.sentAt\nreturn SECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))"
47
47
  }
48
48
  }
49
49
  ]
@@ -1 +1 @@
1
- "7694bb76ed4aecbb7fd15dfb02fcae26"
1
+ "9ca99dda711a779be1005584a2044731"
@@ -23,6 +23,10 @@
23
23
  {
24
24
  "date": "2024-03-20T00:00:00.000Z",
25
25
  "note": "Updated Standard events usage\nVersion bump: 1.1.0"
26
+ },
27
+ {
28
+ "date": "2024-08-22T00:00:00.000Z",
29
+ "note": "Version 1.2.0\ntimestamp field is used as the event time"
26
30
  }
27
31
  ]
28
32
  }
@@ -1 +1 @@
1
- "0a0277466c0607d5247c79480617bbd9"
1
+ "df94d8f685f193a60807104ebff10a4c"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.0",
2
+ "version": "1.2.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -28,7 +28,7 @@
28
28
  "transforms": [
29
29
  {
30
30
  "expression": {
31
- "body": "return input.originalTimestamp or input.sentAt",
31
+ "body": "return input.timestamp or input.originalTimestamp or input.sentAt",
32
32
  "lang": "lua"
33
33
  }
34
34
  }
@@ -1 +1 @@
1
- "e138eb757f7ed613a4c191e5262969d6"
1
+ "44b139e73f8fae74ded30555bb95baf8"
@@ -19,6 +19,10 @@
19
19
  {
20
20
  "date": "2024-07-17T00:00:00.000Z",
21
21
  "note": "Version: 1.0.0\nStable release"
22
+ },
23
+ {
24
+ "date": "2024-08-22T00:00:00.000Z",
25
+ "note": "Version 1.1.0\ntimestamp field is used as the event time"
22
26
  }
23
27
  ]
24
28
  }
@@ -1 +1 @@
1
- "dca7782b45c9d55476aa79e83a5d2172"
1
+ "771f2f7b08c1abdd37a4c525ddcf7d03"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -24,7 +24,7 @@
24
24
  "transforms": [
25
25
  {
26
26
  "expression": {
27
- "body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(input.receivedAt, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))",
27
+ "body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(input.timestamp or input.receivedAt, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))",
28
28
  "lang": "lua"
29
29
  }
30
30
  }
@@ -1 +1 @@
1
- "a697048f659833aca24769d8a54f1d45"
1
+ "8411404a4e5a45857dfe82f2ecb2213c"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "isDraft": false,
3
- "isBeta": true,
3
+ "isBeta": false,
4
4
  "friendlyName": "TikTok",
5
5
  "description": "Powerful self-service advertising platform makes it easy for businesses of all sizes to create and manage their own TikTok campaigns.",
6
6
  "logo": "https://cdn.metarouter.io/logo.svg",
@@ -23,6 +23,10 @@
23
23
  {
24
24
  "date": "2024-08-21T00:00:00.000Z",
25
25
  "note": "Version: 2.0.0\nAPI Upgrade\nBeta release"
26
+ },
27
+ {
28
+ "date": "2024-09-04T00:00:00.000Z",
29
+ "note": "Version: 2.1.0\nStable release"
26
30
  }
27
31
  ]
28
32
  }
@@ -1 +1 @@
1
- "dc2f4c2cf0c7325afe2888f0592a1613"
1
+ "5cbfc72d1a7631457431ac116a7574c4"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0",
2
+ "version": "2.1.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -1 +1 @@
1
- "2ce03ab2320e7e1cfae20410ce647472"
1
+ "c9179081a0b9b700ac4e1fcde3fe40ab"
@@ -1,5 +1,5 @@
1
1
  {
2
- "isDraft": false,
2
+ "isDraft": true,
3
3
  "isBeta": false,
4
4
  "friendlyName": "Twitter Ads",
5
5
  "description": "Twitter Ads and MetaRouter's connection allows marketers to track ad campaign conversions that come from Twitter and occur on a client's website.",
@@ -23,6 +23,10 @@
23
23
  {
24
24
  "date": "2023-12-13T00:00:00.000Z",
25
25
  "note": "Marked as stable version: 1.0.0"
26
+ },
27
+ {
28
+ "date": "2024-09-04T00:00:00.000Z",
29
+ "note": "Version 1.1.0\nMoved to Draft mode"
26
30
  }
27
31
  ]
28
32
  }
@@ -1 +1 @@
1
- "7688a68321fb4d5e5f14895e89766884"
1
+ "4cadfa5b786fa3ab0b059e94652f0a69"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "ACCOUNT_ID",
@@ -1 +1 @@
1
- "007d7919777c15aa6b676f0640a0c949"
1
+ "06eeff09868ef497e4a8fb37da49ebc2"
@@ -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-09-04T00:00:00.000Z",
25
+ "note": "Version 0.2.0\nAdded new GPP related mappings"
22
26
  }
23
27
  ]
24
28
  }
@@ -1 +1 @@
1
- "2a8a5a97899a44b164f58ce6318225b4"
1
+ "2c15cb90d61274b828e7cb2c56ec924b"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "VPXID",
@@ -61,6 +61,14 @@
61
61
  {
62
62
  "inputKey": "properties.us_privacy",
63
63
  "outputKey": "us_privacy"
64
+ },
65
+ {
66
+ "inputKey": "properties.gpp",
67
+ "outputKey": "gpp"
68
+ },
69
+ {
70
+ "inputKey": "properties.gpp_sid",
71
+ "outputKey": "gpp_sid"
64
72
  }
65
73
  ],
66
74
  "enrichments": [
package/README.md CHANGED
@@ -5,23 +5,33 @@ 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-09
9
+ - ActionIQ
10
+ - TikTok
11
+ - VideoAmp (BETA)
12
+
8
13
  ## 2024-08
9
14
  - Adobe Analytics - Experience (BETA)
15
+ - AppsFlyer Android
16
+ - AppsFlyer iOS
10
17
  - Webhooks
18
+ - Clinch
19
+ - Commission Junction
20
+ - Google Ads - Conversions
11
21
  - Google BigQuery
22
+ - Google Campaign Manager (BETA)
23
+ - HubSpot (BETA)
24
+ - Impact Radius
12
25
  - Magellan AI
26
+ - Mixpanel
13
27
  - Nextdoor
14
- - TikTok (BETA)
15
-
16
- ## 2024-07
17
28
  - Nextdoor - CAPI
29
+ - Pinterest CAPI
30
+ - Reddit Ads
18
31
  - Snapchat - CAPI
19
32
 
20
33
  ## 2024-06
21
- - Clinch
22
- - Google Ads - Conversions
23
34
  - Google AJSID Segments (BETA)
24
- - Google Campaign Manager (BETA)
25
35
 
26
36
  ## 2024-05
27
37
  - Criteo
@@ -30,13 +40,11 @@ previously.
30
40
 
31
41
  ## 2024-04
32
42
  - Azure Blob
33
- - Commission Junction
34
43
  - Facebook Pixel
35
44
  - Google Analytics 4
36
45
 
37
46
  ## 2024-03
38
47
  - Heap (BETA)
39
- - Reddit Ads
40
48
  - Snowflake (BETA)
41
49
 
42
50
  ## 2024-02
@@ -51,15 +59,12 @@ previously.
51
59
  - Firebase (BETA)
52
60
 
53
61
  ## 2023-12
54
- - ActionIQ
55
62
  - Acuity Ads
56
63
  - Adobe ID (BETA)
57
64
  - Amnet (BETA)
58
65
  - Amobee
59
66
  - Amperity (BETA)
60
67
  - Amplitude
61
- - AppsFlyer Android
62
- - AppsFlyer iOS
63
68
  - Microsoft Advertising (BETA)
64
69
  - Bloomreach CDP
65
70
  - Blueshift (BETA)
@@ -68,17 +73,13 @@ previously.
68
73
  - Customer.io
69
74
  - Google Ads (BETA)
70
75
  - Google Analytics
71
- - HubSpot (BETA)
72
- - Impact Radius
73
76
  - InMarket (BETA)
74
77
  - Kochava (BETA)
75
78
  - Lytics
76
79
  - Merkle
77
80
  - MIQ (Xandr) (BETA)
78
- - Mixpanel
79
81
  - Movable Ink (BETA)
80
82
  - Pinterest Ads
81
- - Pinterest CAPI
82
83
  - Podsights (BETA)
83
84
  - RevJet (BETA)
84
85
  - Roku
@@ -87,36 +88,42 @@ previously.
87
88
  - Snapchat Ads
88
89
  - TheTradeDesk Conversion Events
89
90
  - TheTradeDesk Firstparty Advertiser Data
90
- - Twitter Ads
91
91
  - Verizon Media
92
- - VideoAmp (BETA)
93
92
  - Xandr
94
93
  - Yahoo Enhanced Attribution (BETA)
95
94
  - Yahoo Offline Conversion
96
95
 
97
96
  | Kit Name | Date | Latest Note |
98
97
  |----------|------|-------------|
98
+ | ActionIQ | 2024-09 | Version: 1.1.0 Added endpoint details for screen events Added screen event mappings to the playbook |
99
+ | TikTok | 2024-09 | Version: 2.1.0 Stable release |
100
+ | VideoAmp (BETA) | 2024-09 | Version 0.2.0 Added new GPP related mappings |
99
101
  | Adobe Analytics - Experience (BETA) | 2024-08 | Version: 0.3.0 Removing Bearer Header Adding oAuth Updated friendly name |
102
+ | AppsFlyer Android | 2024-08 | Version 1.1.0 timestamp field is used as the event time |
103
+ | AppsFlyer iOS | 2024-08 | Version 1.1.0 timestamp field is used as the event time |
100
104
  | Webhooks | 2024-08 | Version: 1.0.0 Stable release |
105
+ | Clinch | 2024-08 | Version 1.1.0 timestamp field is used as the event time |
106
+ | Commission Junction | 2024-08 | Version 1.1.0 timestamp field is used as the event time |
107
+ | Google Ads - Conversions | 2024-08 | Version 1.2.0 timestamp field is used as the event time |
101
108
  | Google BigQuery | 2024-08 | Version: 1.0.0 Adding option to set datase creation mode to BIG_QUERY_OPTIONS_DISABLE_DATASET_CREATION This will allow users to create save events without having the bigquery.datasets.create permission in their IAM role |
109
+ | Google Campaign Manager (BETA) | 2024-08 | Version 0.3.0 timestamp field is used as the event time |
110
+ | HubSpot (BETA) | 2024-08 | Version 0.2.0 timestamp field is used as the event time |
111
+ | Impact Radius | 2024-08 | Version 1.1.0 timestamp field is used as the event time |
102
112
  | Magellan AI | 2024-08 | Version: 1.0.0 Stable release |
113
+ | Mixpanel | 2024-08 | Version 1.1.0 timestamp field is used as the event time |
103
114
  | Nextdoor | 2024-08 | Version: 1.0.0 Stable release |
104
- | TikTok (BETA) | 2024-08 | Version: 2.0.0 API Upgrade Beta release |
105
- | Nextdoor - CAPI | 2024-07 | Version: 1.0.0 Stable release |
106
- | Snapchat - CAPI | 2024-07 | Version: 1.0.0 Stable release |
107
- | Clinch | 2024-06 | Version: 1.0.0 Stable release |
108
- | Google Ads - Conversions | 2024-06 | Renaming to Google Ads - Conversions |
115
+ | Nextdoor - CAPI | 2024-08 | Version 1.1.0 timestamp field is used as the event time |
116
+ | Pinterest CAPI | 2024-08 | Version 1.1.0 timestamp field is used as the event time |
117
+ | Reddit Ads | 2024-08 | Version 1.2.0 timestamp field is used as the event time |
118
+ | Snapchat - CAPI | 2024-08 | Version 1.1.0 timestamp field is used as the event time |
109
119
  | Google AJSID Segments (BETA) | 2024-06 | Renaming to Google AJSID Segments |
110
- | Google Campaign Manager (BETA) | 2024-06 | Version: 0.2.0 Update identity fields logic: gclid or dclid or mobileDeviceId or matchId |
111
120
  | Criteo | 2024-05 | Stable release version: 1.0.0. |
112
121
  | Google Analytics 4 (Collect) (BETA) | 2024-05 | Version: 0.2.0 Updated `context.providers` usage for the `gclid` and `dclid` fields |
113
122
  | Movable Ink - Customer Data | 2024-05 | Version: 1.1.0 Endpoint updated. |
114
123
  | Azure Blob | 2024-04 | Added SAS Token |
115
- | Commission Junction | 2024-04 | Removed travel-related params and "advanced integration" `items` field. Stable release version: 1.0.0. |
116
124
  | Facebook Pixel | 2024-04 | Version: 1.2.0 Updated CAPI default version to `v19.0` |
117
125
  | Google Analytics 4 | 2024-04 | Version: 1.1.0 Added session data: session ID, session Count Added Engagement Time In Milliseconds |
118
126
  | Heap (BETA) | 2024-03 | heap initial release. |
119
- | Reddit Ads | 2024-03 | Updated Standard events usage Version bump: 1.1.0 |
120
127
  | Snowflake (BETA) | 2024-03 | Enabled playbook |
121
128
  | Google Cloud Storage (BETA) | 2024-02 | Removed Identity |
122
129
  | Google Pub/Sub | 2024-02 | Removed Identity |
@@ -125,15 +132,12 @@ previously.
125
132
  | Treasure Data (BETA) | 2024-02 | Initial release; beta. |
126
133
  | Zeotap (BETA) | 2024-02 | Initial release; beta. |
127
134
  | Firebase (BETA) | 2024-01 | google-firebase initial release. |
128
- | ActionIQ | 2023-12 | Marked as stable version: 1.0.0 |
129
135
  | Acuity Ads | 2023-12 | Stable release Marked as stable version: 1.0.0 |
130
136
  | Adobe ID (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
131
137
  | Amnet (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
132
138
  | Amobee | 2023-12 | Stable release Marked as stable version: 1.0.0 |
133
139
  | Amperity (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
134
140
  | Amplitude | 2023-12 | Marked as stable version: 1.0.0 |
135
- | AppsFlyer Android | 2023-12 | Stable release Marked as stable version: 1.0.0 |
136
- | AppsFlyer iOS | 2023-12 | Stable release Marked as stable version: 1.0.0 |
137
141
  | Microsoft Advertising (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
138
142
  | Bloomreach CDP | 2023-12 | Marked as stable version: 1.0.0 |
139
143
  | Blueshift (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
@@ -142,17 +146,13 @@ previously.
142
146
  | Customer.io | 2023-12 | Marked as stable version: 1.0.0 |
143
147
  | Google Ads (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
144
148
  | Google Analytics | 2023-12 | Marked as stable version: 1.0.0 |
145
- | HubSpot (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
146
- | Impact Radius | 2023-12 | Marked as stable version: 1.0.0 |
147
149
  | InMarket (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
148
- | Kochava (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
150
+ | Kochava (BETA) | 2023-12 | Marked as unstable version: 0.1.0 - date: 2024-08-22T00:00:00.000000Z note: |- Version 0.2.0 timestamp field is used as the event time |
149
151
  | Lytics | 2023-12 | Marked as stable version: 1.0.0 |
150
152
  | Merkle | 2023-12 | Marked as stable version: 1.0.0 |
151
153
  | MIQ (Xandr) (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
152
- | Mixpanel | 2023-12 | Marked as stable version: 1.0.0 |
153
154
  | Movable Ink (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
154
155
  | Pinterest Ads | 2023-12 | Marked as stable version: 1.0.0 |
155
- | Pinterest CAPI | 2023-12 | Marked as stable version: 1.0.0 |
156
156
  | Podsights (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
157
157
  | RevJet (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
158
158
  | Roku | 2023-12 | Marked as stable version: 1.0.0 |
@@ -161,9 +161,7 @@ previously.
161
161
  | Snapchat Ads | 2023-12 | Marked as stable version: 1.0.0 |
162
162
  | TheTradeDesk Conversion Events | 2023-12 | Marked as stable version: 1.0.0 |
163
163
  | TheTradeDesk Firstparty Advertiser Data | 2023-12 | Marked as stable version: 1.0.0 |
164
- | Twitter Ads | 2023-12 | Marked as stable version: 1.0.0 |
165
164
  | Verizon Media | 2023-12 | Marked as stable version: 1.0.0 |
166
- | VideoAmp (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
167
165
  | Xandr | 2023-12 | Marked as stable version: 1.0.0 |
168
166
  | Yahoo Enhanced Attribution (BETA) | 2023-12 | Marked as unstable version: 0.1.0 |
169
167
  | Yahoo Offline Conversion | 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.103",
3
+ "version": "1.0.104",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {