@segment/action-destinations 3.49.2-alpha.1 → 3.50.1-alpha.3

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 (99) hide show
  1. package/dist/destinations/amplitude/mapUser/index.js +1 -1
  2. package/dist/destinations/amplitude/mapUser/index.js.map +1 -1
  3. package/dist/destinations/gainsight-px-cloud-action/common-fields.js +5 -267
  4. package/dist/destinations/gainsight-px-cloud-action/common-fields.js.map +1 -1
  5. package/dist/destinations/gainsight-px-cloud-action/groupIdentify/generated-types.d.ts +0 -58
  6. package/dist/destinations/gainsight-px-cloud-action/groupIdentify/index.js +1 -22
  7. package/dist/destinations/gainsight-px-cloud-action/groupIdentify/index.js.map +1 -1
  8. package/dist/destinations/gainsight-px-cloud-action/identifyUser/generated-types.d.ts +0 -57
  9. package/dist/destinations/gainsight-px-cloud-action/identifyUser/index.js +1 -13
  10. package/dist/destinations/gainsight-px-cloud-action/identifyUser/index.js.map +1 -1
  11. package/dist/destinations/gainsight-px-cloud-action/index.js +5 -1
  12. package/dist/destinations/gainsight-px-cloud-action/index.js.map +1 -1
  13. package/dist/destinations/gainsight-px-cloud-action/regional-endpoints.d.ts +2 -0
  14. package/dist/destinations/gainsight-px-cloud-action/regional-endpoints.js +4 -2
  15. package/dist/destinations/gainsight-px-cloud-action/regional-endpoints.js.map +1 -1
  16. package/dist/destinations/gainsight-px-cloud-action/trackEvent/generated-types.d.ts +0 -58
  17. package/dist/destinations/gainsight-px-cloud-action/trackEvent/index.js +1 -21
  18. package/dist/destinations/gainsight-px-cloud-action/trackEvent/index.js.map +1 -1
  19. package/dist/destinations/gainsight-px-cloud-action/trackPageView/generated-types.d.ts +0 -61
  20. package/dist/destinations/gainsight-px-cloud-action/trackPageView/index.js +1 -44
  21. package/dist/destinations/gainsight-px-cloud-action/trackPageView/index.js.map +1 -1
  22. package/dist/destinations/google-analytics-4/addPaymentInfo/generated-types.d.ts +4 -0
  23. package/dist/destinations/google-analytics-4/addPaymentInfo/index.js +6 -2
  24. package/dist/destinations/google-analytics-4/addPaymentInfo/index.js.map +1 -1
  25. package/dist/destinations/google-analytics-4/addToCart/generated-types.d.ts +4 -0
  26. package/dist/destinations/google-analytics-4/addToCart/index.js +6 -2
  27. package/dist/destinations/google-analytics-4/addToCart/index.js.map +1 -1
  28. package/dist/destinations/google-analytics-4/addToWishlist/generated-types.d.ts +4 -0
  29. package/dist/destinations/google-analytics-4/addToWishlist/index.js +6 -2
  30. package/dist/destinations/google-analytics-4/addToWishlist/index.js.map +1 -1
  31. package/dist/destinations/google-analytics-4/beginCheckout/generated-types.d.ts +4 -0
  32. package/dist/destinations/google-analytics-4/beginCheckout/index.js +6 -2
  33. package/dist/destinations/google-analytics-4/beginCheckout/index.js.map +1 -1
  34. package/dist/destinations/google-analytics-4/customEvent/generated-types.d.ts +1 -0
  35. package/dist/destinations/google-analytics-4/customEvent/index.js +3 -7
  36. package/dist/destinations/google-analytics-4/customEvent/index.js.map +1 -1
  37. package/dist/destinations/google-analytics-4/ga4-properties.d.ts +2 -0
  38. package/dist/destinations/google-analytics-4/ga4-properties.js +12 -1
  39. package/dist/destinations/google-analytics-4/ga4-properties.js.map +1 -1
  40. package/dist/destinations/google-analytics-4/generateLead/generated-types.d.ts +4 -0
  41. package/dist/destinations/google-analytics-4/generateLead/index.js +6 -2
  42. package/dist/destinations/google-analytics-4/generateLead/index.js.map +1 -1
  43. package/dist/destinations/google-analytics-4/login/generated-types.d.ts +4 -0
  44. package/dist/destinations/google-analytics-4/login/index.js +6 -2
  45. package/dist/destinations/google-analytics-4/login/index.js.map +1 -1
  46. package/dist/destinations/google-analytics-4/pageView/generated-types.d.ts +4 -0
  47. package/dist/destinations/google-analytics-4/pageView/index.js +6 -2
  48. package/dist/destinations/google-analytics-4/pageView/index.js.map +1 -1
  49. package/dist/destinations/google-analytics-4/purchase/generated-types.d.ts +4 -0
  50. package/dist/destinations/google-analytics-4/purchase/index.js +6 -2
  51. package/dist/destinations/google-analytics-4/purchase/index.js.map +1 -1
  52. package/dist/destinations/google-analytics-4/refund/generated-types.d.ts +4 -0
  53. package/dist/destinations/google-analytics-4/refund/index.js +6 -2
  54. package/dist/destinations/google-analytics-4/refund/index.js.map +1 -1
  55. package/dist/destinations/google-analytics-4/removeFromCart/generated-types.d.ts +4 -0
  56. package/dist/destinations/google-analytics-4/removeFromCart/index.js +6 -2
  57. package/dist/destinations/google-analytics-4/removeFromCart/index.js.map +1 -1
  58. package/dist/destinations/google-analytics-4/search/generated-types.d.ts +4 -0
  59. package/dist/destinations/google-analytics-4/search/index.js +6 -2
  60. package/dist/destinations/google-analytics-4/search/index.js.map +1 -1
  61. package/dist/destinations/google-analytics-4/selectItem/generated-types.d.ts +4 -0
  62. package/dist/destinations/google-analytics-4/selectItem/index.js +6 -2
  63. package/dist/destinations/google-analytics-4/selectItem/index.js.map +1 -1
  64. package/dist/destinations/google-analytics-4/selectPromotion/generated-types.d.ts +4 -0
  65. package/dist/destinations/google-analytics-4/selectPromotion/index.js +6 -2
  66. package/dist/destinations/google-analytics-4/selectPromotion/index.js.map +1 -1
  67. package/dist/destinations/google-analytics-4/signUp/generated-types.d.ts +4 -0
  68. package/dist/destinations/google-analytics-4/signUp/index.js +6 -2
  69. package/dist/destinations/google-analytics-4/signUp/index.js.map +1 -1
  70. package/dist/destinations/google-analytics-4/viewCart/generated-types.d.ts +4 -0
  71. package/dist/destinations/google-analytics-4/viewCart/index.js +6 -2
  72. package/dist/destinations/google-analytics-4/viewCart/index.js.map +1 -1
  73. package/dist/destinations/google-analytics-4/viewItem/generated-types.d.ts +4 -0
  74. package/dist/destinations/google-analytics-4/viewItem/index.js +6 -2
  75. package/dist/destinations/google-analytics-4/viewItem/index.js.map +1 -1
  76. package/dist/destinations/google-analytics-4/viewItemList/generated-types.d.ts +4 -0
  77. package/dist/destinations/google-analytics-4/viewItemList/index.js +6 -2
  78. package/dist/destinations/google-analytics-4/viewItemList/index.js.map +1 -1
  79. package/dist/destinations/google-analytics-4/viewPromotion/generated-types.d.ts +4 -0
  80. package/dist/destinations/google-analytics-4/viewPromotion/index.js +6 -2
  81. package/dist/destinations/google-analytics-4/viewPromotion/index.js.map +1 -1
  82. package/dist/destinations/google-enhanced-conversions/postConversion/formatter.js +0 -3
  83. package/dist/destinations/google-enhanced-conversions/postConversion/formatter.js.map +1 -1
  84. package/dist/destinations/google-enhanced-conversions/postConversion/generated-types.d.ts +1 -1
  85. package/dist/destinations/google-enhanced-conversions/postConversion/index.js +6 -8
  86. package/dist/destinations/google-enhanced-conversions/postConversion/index.js.map +1 -1
  87. package/dist/destinations/metronome/index.js +1 -1
  88. package/dist/destinations/metronome/index.js.map +1 -1
  89. package/dist/destinations/metronome/sendEvent/index.js +5 -7
  90. package/dist/destinations/metronome/sendEvent/index.js.map +1 -1
  91. package/dist/destinations/tiktok-conversions/index.js +75 -19
  92. package/dist/destinations/tiktok-conversions/index.js.map +1 -1
  93. package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.d.ts +3 -3
  94. package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js +9 -3
  95. package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js.map +1 -1
  96. package/dist/destinations/tiktok-conversions/reportWebEvent/generated-types.d.ts +16 -6
  97. package/dist/destinations/tiktok-conversions/reportWebEvent/index.js +116 -27
  98. package/dist/destinations/tiktok-conversions/reportWebEvent/index.js.map +1 -1
  99. package/package.json +4 -4
@@ -8,10 +8,8 @@ const action = {
8
8
  event: {
9
9
  label: 'Event Name',
10
10
  type: 'string',
11
- description: 'Conversion event name. Please refer to the "Supported Web Events" section on this [page](https://ads.tiktok.com/marketing_api/docs?id=1701890979375106) for accepted event names.',
12
- default: {
13
- '@path': '$.event'
14
- }
11
+ required: true,
12
+ description: 'Conversion event name. Please refer to the "Supported Web Events" section on in TikTok’s [Events API documentation](https://ads.tiktok.com/marketing_api/docs?id=1701890979375106) for accepted event names.'
15
13
  },
16
14
  event_id: {
17
15
  label: 'Event ID',
@@ -24,25 +22,14 @@ const action = {
24
22
  timestamp: {
25
23
  label: 'Event Timestamp',
26
24
  type: 'string',
27
- description: 'Timestamp that the event took place, in ISO 8601 format.'
28
- },
29
- type: {
30
- label: 'Segment Event Type',
31
- description: 'The Segment event type, e.g. "page".',
32
- type: 'string',
25
+ description: 'Timestamp that the event took place, in ISO 8601 format.',
33
26
  default: {
34
- '@path': '$.type'
27
+ '@path': '$.timestamp'
35
28
  }
36
29
  },
37
- properties: {
38
- label: 'Properties associated with the event',
39
- description: 'Additional properties such as content info, description, and currency.',
40
- type: 'object',
41
- required: false
42
- },
43
30
  phone_number: {
44
31
  label: 'Phone Number',
45
- description: 'Phone number of the user who triggered the conversion event, in E.164 standard format, e.g. +14150000000.',
32
+ description: 'Phone number of the user who triggered the conversion event, in E.164 standard format, e.g. +14150000000. Segment will hash this value before sending to TikTok.',
46
33
  type: 'string',
47
34
  default: {
48
35
  '@if': {
@@ -54,7 +41,7 @@ const action = {
54
41
  },
55
42
  email: {
56
43
  label: 'Email',
57
- description: 'Email address of the user who triggered the conversion event.',
44
+ description: 'Email address of the user who triggered the conversion event. Segment will hash this value before sending to TikTok.',
58
45
  type: 'string',
59
46
  format: 'email',
60
47
  default: {
@@ -67,9 +54,8 @@ const action = {
67
54
  },
68
55
  external_id: {
69
56
  label: 'External ID',
70
- description: 'Uniquely identifies the user who triggered the conversion event.',
57
+ description: 'Uniquely identifies the user who triggered the conversion event. Segment will hash this value before sending to TikTok.',
71
58
  type: 'string',
72
- required: true,
73
59
  default: {
74
60
  '@if': {
75
61
  exists: { '@path': '$.userId' },
@@ -89,15 +75,105 @@ const action = {
89
75
  else: { '@path': '$.traits.ttclid' }
90
76
  }
91
77
  }
78
+ },
79
+ url: {
80
+ label: 'Page URL',
81
+ type: 'string',
82
+ description: 'The page URL where the conversion event took place.',
83
+ default: {
84
+ '@path': '$.context.page.url'
85
+ }
86
+ },
87
+ referrer: {
88
+ label: 'Page Referrer',
89
+ type: 'string',
90
+ description: 'The page referrer.',
91
+ default: {
92
+ '@path': '$.context.page.referrer'
93
+ }
94
+ },
95
+ ip: {
96
+ label: 'IP Address',
97
+ type: 'string',
98
+ description: 'IP address of the browser.',
99
+ default: {
100
+ '@path': '$.context.ip'
101
+ }
102
+ },
103
+ user_agent: {
104
+ label: 'User Agent',
105
+ type: 'string',
106
+ description: 'User agent from the user’s device.',
107
+ default: {
108
+ '@path': '$.context.userAgent'
109
+ }
110
+ },
111
+ contents: {
112
+ label: 'Contents',
113
+ type: 'object',
114
+ multiple: true,
115
+ description: 'Related items in a web event.',
116
+ properties: {
117
+ price: {
118
+ label: 'Price',
119
+ description: 'Price of the item.',
120
+ type: 'number'
121
+ },
122
+ quantity: {
123
+ label: 'Quantity',
124
+ description: 'Number of items.',
125
+ type: 'number'
126
+ },
127
+ content_type: {
128
+ label: 'Content Type',
129
+ description: 'Type of the product item.',
130
+ type: 'string'
131
+ },
132
+ content_id: {
133
+ label: 'Content ID',
134
+ description: 'ID of the product item.',
135
+ type: 'string'
136
+ }
137
+ }
138
+ },
139
+ currency: {
140
+ label: 'Currency',
141
+ type: 'string',
142
+ description: 'Currency for the value specified as ISO 4217 code.',
143
+ default: {
144
+ '@path': '$.properties.currency'
145
+ }
146
+ },
147
+ value: {
148
+ label: 'Value',
149
+ type: 'number',
150
+ description: 'Value of the order or items sold.',
151
+ default: {
152
+ '@if': {
153
+ exists: { '@path': '$.properties.value' },
154
+ then: { '@path': '$.properties.value' },
155
+ else: { '@path': '$.properties.revenue' }
156
+ }
157
+ }
158
+ },
159
+ description: {
160
+ label: 'Description',
161
+ type: 'string',
162
+ description: 'A string description of the web event.'
163
+ },
164
+ query: {
165
+ label: 'Query',
166
+ type: 'string',
167
+ description: 'The text string that was searched for.',
168
+ default: {
169
+ '@path': '$.properties.query'
170
+ }
92
171
  }
93
172
  },
94
173
  perform: (request, { payload, settings }) => {
95
- const eventId = payload.event_id
96
- ? payload.event_id.toString() + '_' + (Math.random() + 1).toString(36).substring(7)
97
- : '';
98
174
  const userData = {
99
175
  hashedExternalId: formatter_1.formatUserId(payload.external_id),
100
- hashedEmail: formatter_1.formatEmail(payload.email || ''),
176
+ hashedEmail: formatter_1.formatEmail(payload.email),
101
177
  hashedPhoneNumber: formatter_1.formatPhone(payload.phone_number)
102
178
  };
103
179
  return request('https://business-api.tiktok.com/open_api/v1.2/pixel/track/', {
@@ -105,7 +181,7 @@ const action = {
105
181
  json: {
106
182
  pixel_code: settings.pixel_code,
107
183
  event: payload.event,
108
- event_id: eventId,
184
+ event_id: payload.event_id ? payload.event_id + '_seg' : undefined,
109
185
  timestamp: payload.timestamp,
110
186
  context: {
111
187
  user: {
@@ -115,7 +191,20 @@ const action = {
115
191
  },
116
192
  ad: {
117
193
  callback: payload.ttclid
118
- }
194
+ },
195
+ page: {
196
+ url: payload.url,
197
+ referrer: payload.referrer
198
+ },
199
+ ip: payload.ip,
200
+ user_agent: payload.user_agent
201
+ },
202
+ properties: {
203
+ contents: payload.contents,
204
+ currency: payload.currency,
205
+ value: payload.value,
206
+ description: payload.description,
207
+ query: payload.query
119
208
  }
120
209
  }
121
210
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-conversions/reportWebEvent/index.ts"],"names":[],"mappings":";;AAGA,2CAAoE;AAEpE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,kBAAkB;IACzB,WAAW,EACT,6JAA6J;IAC/J,MAAM,EAAE;QACN,KAAK,EAAE;YACL,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,mLAAmL;YACrL,OAAO,EAAE;gBACP,OAAO,EAAE,SAAS;aACnB;SACF;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE;gBACP,OAAO,EAAE,aAAa;aACvB;SACF;QACD,SAAS,EAAE;YACT,KAAK,EAAE,iBAA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C,iBAAiB;wBACxC,KAAK,EAAE,QAAQ,CAAC,WAAW;qBAC5B;oBACD,EAAE,EAAE;wBACF,QAAQ,EAAE,OAAO,CAAC,MAAM;qBACzB;iBACF;aACF;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-conversions/reportWebEvent/index.ts"],"names":[],"mappings":";;AAGA,2CAAoE;AAEpE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,kBAAkB;IACzB,WAAW,EACT,6JAA6J;IAC/J,MAAM,EAAE;QACN,KAAK,EAAE;YACL,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EACT,8MAA8M;SACjN;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE;gBACP,OAAO,EAAE,aAAa;aACvB;SACF;QACD,SAAS,EAAE;YACT,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,0DAA0D;YACvE,OAAO,EAAE;gBACP,OAAO,EAAE,aAAa;aACvB;SACF;QAED,YAAY,EAAE;YACZ,KAAK,EAAE,cAAc;YACrB,WAAW,EACT,kKAAkK;YACpK,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,KAAK,EAAE;oBACL,MAAM,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;oBACzC,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;oBACvC,IAAI,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE;iBACpC;aACF;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,OAAO;YACd,WAAW,EACT,sHAAsH;YACxH,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,OAAO;YACf,OAAO,EA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AAE,OAAO,CAAC,QAAQ;oBAC1B,KAAK,EAAE,OAAO,CAAC,KAAK;oBACpB,WAAW,EAAE,OAAO,CAAC,WAAW;oBAChC,KAAK,EAAE,OAAO,CAAC,KAAK;iBACrB;aACF;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@segment/action-destinations",
3
3
  "description": "Destination Actions engine and definitions.",
4
- "version": "3.49.2-alpha.1",
4
+ "version": "3.50.1-alpha.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/segmentio/action-destinations",
@@ -38,8 +38,8 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@amplitude/ua-parser-js": "^0.7.25",
41
- "@segment/actions-core": "^3.22.0",
42
- "@segment/actions-shared": "^1.3.0",
41
+ "@segment/actions-core": "^3.22.1-alpha.3",
42
+ "@segment/actions-shared": "^1.3.1-alpha.3",
43
43
  "cheerio": "^1.0.0-rc.10",
44
44
  "dayjs": "^1.10.7",
45
45
  "escape-goat": "^3",
@@ -62,5 +62,5 @@
62
62
  "<rootDir>/test/setup-after-env.ts"
63
63
  ]
64
64
  },
65
- "gitHead": "a6a50deefc81eaf55a4ef41acae01b36630a5e1f"
65
+ "gitHead": "5852addf626da5bb17b2d93e1dac2b5ef87b2266"
66
66
  }