@segment/action-destinations 3.260.0 → 3.261.0
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/destinations/chartmogul/index.js +1 -1
- package/dist/destinations/chartmogul/index.js.map +1 -1
- package/dist/destinations/gameball/index.js +1 -1
- package/dist/destinations/gameball/index.js.map +1 -1
- package/dist/destinations/hubspot/upsertCustomObjectRecord/index.js +2 -2
- package/dist/destinations/hubspot/upsertCustomObjectRecord/index.js.map +1 -1
- package/dist/destinations/index.js +1 -0
- package/dist/destinations/index.js.map +1 -1
- package/dist/destinations/inleads-ai/common-fields.d.ts +3 -0
- package/dist/destinations/inleads-ai/common-fields.js +238 -0
- package/dist/destinations/inleads-ai/common-fields.js.map +1 -0
- package/dist/destinations/inleads-ai/contants.d.ts +4 -0
- package/dist/destinations/inleads-ai/contants.js +8 -0
- package/dist/destinations/inleads-ai/contants.js.map +1 -0
- package/dist/destinations/inleads-ai/generated-types.d.ts +3 -0
- package/dist/destinations/inleads-ai/generated-types.js +3 -0
- package/dist/destinations/inleads-ai/generated-types.js.map +1 -0
- package/dist/destinations/inleads-ai/group/generated-types.d.ts +44 -0
- package/dist/destinations/inleads-ai/group/generated-types.js +3 -0
- package/dist/destinations/inleads-ai/group/generated-types.js.map +1 -0
- package/dist/destinations/inleads-ai/group/index.d.ts +5 -0
- package/dist/destinations/inleads-ai/group/index.js +76 -0
- package/dist/destinations/inleads-ai/group/index.js.map +1 -0
- package/dist/destinations/inleads-ai/identify/generated-types.d.ts +46 -0
- package/dist/destinations/inleads-ai/identify/generated-types.js +3 -0
- package/dist/destinations/inleads-ai/identify/generated-types.js.map +1 -0
- package/dist/destinations/inleads-ai/identify/index.d.ts +5 -0
- package/dist/destinations/inleads-ai/identify/index.js +120 -0
- package/dist/destinations/inleads-ai/identify/index.js.map +1 -0
- package/dist/destinations/inleads-ai/index.d.ts +4 -0
- package/dist/destinations/inleads-ai/index.js +66 -0
- package/dist/destinations/inleads-ai/index.js.map +1 -0
- package/dist/destinations/inleads-ai/track/generated-types.d.ts +45 -0
- package/dist/destinations/inleads-ai/track/generated-types.js +3 -0
- package/dist/destinations/inleads-ai/track/generated-types.js.map +1 -0
- package/dist/destinations/inleads-ai/track/index.d.ts +5 -0
- package/dist/destinations/inleads-ai/track/index.js +64 -0
- package/dist/destinations/inleads-ai/track/index.js.map +1 -0
- package/dist/destinations/kameleoon/group/generated-types.d.ts +1 -0
- package/dist/destinations/kameleoon/group/index.js +9 -0
- package/dist/destinations/kameleoon/group/index.js.map +1 -1
- package/dist/destinations/kameleoon/identify/generated-types.d.ts +1 -0
- package/dist/destinations/kameleoon/identify/index.js +9 -0
- package/dist/destinations/kameleoon/identify/index.js.map +1 -1
- package/dist/destinations/kameleoon/page/generated-types.d.ts +1 -0
- package/dist/destinations/kameleoon/page/index.js +9 -0
- package/dist/destinations/kameleoon/page/index.js.map +1 -1
- package/dist/destinations/klaviyo/index.js +3 -1
- package/dist/destinations/klaviyo/index.js.map +1 -1
- package/dist/destinations/klaviyo/orderCompleted/generated-types.d.ts +1 -4
- package/dist/destinations/klaviyo/orderCompleted/index.js +6 -15
- package/dist/destinations/klaviyo/orderCompleted/index.js.map +1 -1
- package/dist/destinations/klaviyo/removeProfile/generated-types.d.ts +6 -0
- package/dist/destinations/klaviyo/removeProfile/generated-types.js +3 -0
- package/dist/destinations/klaviyo/removeProfile/generated-types.js.map +1 -0
- package/dist/destinations/klaviyo/removeProfile/index.d.ts +5 -0
- package/dist/destinations/klaviyo/removeProfile/index.js +57 -0
- package/dist/destinations/klaviyo/removeProfile/index.js.map +1 -0
- package/dist/destinations/klaviyo/trackEvent/index.js +1 -0
- package/dist/destinations/klaviyo/trackEvent/index.js.map +1 -1
- package/dist/destinations/klaviyo/types.d.ts +3 -1
- package/dist/destinations/liveramp-audiences/audienceEnteredS3/index.js +2 -2
- package/dist/destinations/liveramp-audiences/audienceEnteredS3/index.js.map +1 -1
- package/dist/destinations/liveramp-audiences/audienceEnteredSftp/index.js +2 -2
- package/dist/destinations/liveramp-audiences/audienceEnteredSftp/index.js.map +1 -1
- package/dist/destinations/segment/segment-properties.d.ts +1 -0
- package/dist/destinations/segment/segment-properties.js +8 -1
- package/dist/destinations/segment/segment-properties.js.map +1 -1
- package/dist/destinations/segment/sendGroup/generated-types.d.ts +1 -0
- package/dist/destinations/segment/sendGroup/index.js +2 -0
- package/dist/destinations/segment/sendGroup/index.js.map +1 -1
- package/dist/destinations/segment/sendIdentify/generated-types.d.ts +1 -0
- package/dist/destinations/segment/sendIdentify/index.js +2 -0
- package/dist/destinations/segment/sendIdentify/index.js.map +1 -1
- package/dist/destinations/segment/sendPage/generated-types.d.ts +1 -0
- package/dist/destinations/segment/sendPage/index.js +2 -0
- package/dist/destinations/segment/sendPage/index.js.map +1 -1
- package/dist/destinations/segment/sendScreen/generated-types.d.ts +1 -0
- package/dist/destinations/segment/sendScreen/index.js +2 -0
- package/dist/destinations/segment/sendScreen/index.js.map +1 -1
- package/dist/destinations/segment/sendTrack/generated-types.d.ts +1 -0
- package/dist/destinations/segment/sendTrack/index.js +2 -0
- package/dist/destinations/segment/sendTrack/index.js.map +1 -1
- package/dist/destinations/segment-profiles/segment-properties.d.ts +1 -0
- package/dist/destinations/segment-profiles/segment-properties.js +8 -1
- package/dist/destinations/segment-profiles/segment-properties.js.map +1 -1
- package/dist/destinations/segment-profiles/sendGroup/generated-types.d.ts +1 -0
- package/dist/destinations/segment-profiles/sendGroup/index.js +3 -1
- package/dist/destinations/segment-profiles/sendGroup/index.js.map +1 -1
- package/dist/destinations/segment-profiles/sendIdentify/generated-types.d.ts +1 -0
- package/dist/destinations/segment-profiles/sendIdentify/index.js +3 -1
- package/dist/destinations/segment-profiles/sendIdentify/index.js.map +1 -1
- package/dist/destinations/segment-profiles/sendSubscription/generated-types.d.ts +1 -0
- package/dist/destinations/segment-profiles/sendSubscription/index.js +3 -1
- package/dist/destinations/segment-profiles/sendSubscription/index.js.map +1 -1
- package/dist/destinations/segment-profiles/sendSubscription/subscription-properties.d.ts +1 -0
- package/dist/destinations/segment-profiles/sendSubscription/subscription-properties.js +8 -1
- package/dist/destinations/segment-profiles/sendSubscription/subscription-properties.js.map +1 -1
- package/dist/destinations/segment-profiles/sendTrack/generated-types.d.ts +1 -0
- package/dist/destinations/segment-profiles/sendTrack/index.js +3 -1
- package/dist/destinations/segment-profiles/sendTrack/index.js.map +1 -1
- package/dist/destinations/tiktok-conversions/common_fields.d.ts +2 -0
- package/dist/destinations/tiktok-conversions/common_fields.js +244 -0
- package/dist/destinations/tiktok-conversions/common_fields.js.map +1 -0
- package/dist/destinations/tiktok-conversions/formatter.d.ts +3 -0
- package/dist/destinations/tiktok-conversions/formatter.js +43 -0
- package/dist/destinations/tiktok-conversions/formatter.js.map +1 -0
- package/dist/destinations/tiktok-conversions/index.js +163 -75
- package/dist/destinations/tiktok-conversions/index.js.map +1 -1
- package/dist/destinations/tiktok-conversions/reportWebEvent/generated-types.d.ts +12 -4
- package/dist/destinations/tiktok-conversions/reportWebEvent/index.d.ts +1 -1
- package/dist/destinations/tiktok-conversions/reportWebEvent/index.js +5 -233
- package/dist/destinations/tiktok-conversions/reportWebEvent/index.js.map +1 -1
- package/dist/destinations/tiktok-conversions/utils.d.ts +4 -0
- package/dist/destinations/tiktok-conversions/utils.js +65 -0
- package/dist/destinations/tiktok-conversions/utils.js.map +1 -0
- package/package.json +2 -2
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.d.ts +0 -3
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js +0 -34
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.subscription_groups = exports.ios_push_subscription_status = exports.android_push_subscription_status = exports.whatsapp_subscription_status = exports.sms_subscription_status = exports.email_subscription_status = exports.ios_push_token = exports.android_push_token = exports.phone = exports.email = exports.engage_space = exports.traits = exports.anonymous_id = exports.user_id = void 0;
|
|
3
|
+
exports.message_id = exports.subscription_groups = exports.ios_push_subscription_status = exports.android_push_subscription_status = exports.whatsapp_subscription_status = exports.sms_subscription_status = exports.email_subscription_status = exports.ios_push_token = exports.android_push_token = exports.phone = exports.email = exports.engage_space = exports.traits = exports.anonymous_id = exports.user_id = void 0;
|
|
4
4
|
exports.user_id = {
|
|
5
5
|
label: 'User ID',
|
|
6
6
|
description: 'Unique identifier for the user in your database.',
|
|
@@ -82,4 +82,11 @@ exports.subscription_groups = {
|
|
|
82
82
|
additionalProperties: true,
|
|
83
83
|
defaultObjectUI: 'keyvalue'
|
|
84
84
|
};
|
|
85
|
+
exports.message_id = {
|
|
86
|
+
type: 'string',
|
|
87
|
+
label: 'MessageId',
|
|
88
|
+
description: 'The Segment messageId.',
|
|
89
|
+
default: { '@path': '$.messageId' },
|
|
90
|
+
unsafe_hidden: true
|
|
91
|
+
};
|
|
85
92
|
//# sourceMappingURL=subscription-properties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-properties.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendSubscription/subscription-properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,OAAO,GAAe;IACjC,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,kDAAkD;IAC/D,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,YAAY,GAAe;IACtC,KAAK,EAAE,cAAc;IACrB,WAAW,EACT,0GAA0G;IAC5G,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,MAAM,GAAe;IAChC,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,0EAA0E;IACvF,IAAI,EAAE,QAAQ;IACd,eAAe,EAAE,UAAU;IAC3B,oBAAoB,EAAE,IAAI;CAC3B,CAAA;AAEY,QAAA,YAAY,GAAe;IACtC,KAAK,EAAE,eAAe;IACtB,WAAW,EACT,sSAAsS;I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EY,QAAA,mBAAmB,GAAe;IAC7C,KAAK,EAAE,2BAA2B;IAClC,WAAW,EACT,0NAA0N;IAC5N,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,IAAI;IAC1B,eAAe,EAAE,UAAU;CAC5B,CAAA"}
|
|
1
|
+
{"version":3,"file":"subscription-properties.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendSubscription/subscription-properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,OAAO,GAAe;IACjC,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,kDAAkD;IAC/D,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,YAAY,GAAe;IACtC,KAAK,EAAE,cAAc;IACrB,WAAW,EACT,0GAA0G;IAC5G,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,MAAM,GAAe;IAChC,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,0EAA0E;IACvF,IAAI,EAAE,QAAQ;IACd,eAAe,EAAE,UAAU;IAC3B,oBAAoB,EAAE,IAAI;CAC3B,CAAA;AAEY,QAAA,YAAY,GAAe;IACtC,KAAK,EAAE,eAAe;IACtB,WAAW,EACT,sSAAsS;IACxS,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,IAAI;CACd,CAAA;AAEY,QAAA,KAAK,GAAe;IAC/B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,mBAAmB;IAChC,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,KAAK,GAAe;IAC/B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,0BAA0B;IACvC,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,kBAAkB,GAAe;IAC5C,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,gCAAgC;IAC7C,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,cAAc,GAAe;IACxC,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,4BAA4B;IACzC,IAAI,EAAE,QAAQ;CACf,CAAA;AAEY,QAAA,yBAAyB,GAAe;IACnD,KAAK,EAAE,2BAA2B;IAClC,WAAW,EACT,iIAAiI;IACnI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,uBAAuB,GAAe;IACjD,KAAK,EAAE,yBAAyB;IAChC,WAAW,EACT,+HAA+H;IACjI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,4BAA4B,GAAe;IACtD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EACT,oIAAoI;IACtI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,gCAAgC,GAAe;IAC1D,KAAK,EAAE,kCAAkC;IACzC,WAAW,EACT,wIAAwI;IAC1I,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,4BAA4B,GAAe;IACtD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EACT,oIAAoI;IACtI,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;CAChB,CAAA;AAEY,QAAA,mBAAmB,GAAe;IAC7C,KAAK,EAAE,2BAA2B;IAClC,WAAW,EACT,0NAA0N;IAC5N,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,IAAI;IAC1B,eAAe,EAAE,UAAU;CAC5B,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,WAAW;IAClB,WAAW,EAAE,wBAAwB;IACrC,OAAO,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE;IACnC,aAAa,EAAE,IAAI;CACpB,CAAA"}
|
|
@@ -12,7 +12,8 @@ const action = {
|
|
|
12
12
|
timestamp: segment_properties_1.timestamp,
|
|
13
13
|
event_name: segment_properties_1.event_name,
|
|
14
14
|
group_id: segment_properties_1.group_id,
|
|
15
|
-
properties: segment_properties_1.properties
|
|
15
|
+
properties: segment_properties_1.properties,
|
|
16
|
+
message_id: segment_properties_1.message_id
|
|
16
17
|
},
|
|
17
18
|
perform: (_, { payload, statsContext }) => {
|
|
18
19
|
if (!payload.anonymous_id && !payload.user_id) {
|
|
@@ -26,6 +27,7 @@ const action = {
|
|
|
26
27
|
anonymousId: payload?.anonymous_id,
|
|
27
28
|
timestamp: payload?.timestamp,
|
|
28
29
|
event: payload?.event_name,
|
|
30
|
+
messageId: payload?.message_id,
|
|
29
31
|
integrations: {
|
|
30
32
|
All: false
|
|
31
33
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendTrack/index.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/segment-profiles/sendTrack/index.ts"],"names":[],"mappings":";;AAGA,8DAS8B;AAC9B,sCAAkE;AAElE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,iGAAiG;IAC9G,MAAM,EAAE;QACN,YAAY,EAAZ,iCAAY;QACZ,OAAO,EAAP,4BAAO;QACP,YAAY,EAAZ,iCAAY;QACZ,SAAS,EAAT,8BAAS;QACT,UAAU,EAAV,+BAAU;QACV,QAAQ,EAAR,6BAAQ;QACR,UAAU,EAAV,+BAAU;QACV,UAAU,EAAV,+BAAU;KACX;IACD,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE;QACxC,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YAC7C,MAAM,+CAAsC,CAAA;SAC7C;QACD,YAAY,EAAE,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAA;QAE/F,OAAO;YACL,KAAK,EAAE;gBACL;oBACE,MAAM,EAAE,OAAO,EAAE,OAAO;oBACxB,WAAW,EAAE,OAAO,EAAE,YAAY;oBAClC,SAAS,EAAE,OAAO,EAAE,SAAS;oBAC7B,KAAK,EAAE,OAAO,EAAE,UAAU;oBAC1B,SAAS,EAAE,OAAO,EAAE,UAAU;oBAC9B,YAAY,EAAE;wBAGZ,GAAG,EAAE,KAAK;qBACX;oBACD,UAAU,EAAE;wBACV,GAAG,OAAO,EAAE,UAAU;qBACvB;oBACD,IAAI,EAAE,OAAO;iBACd;aACF;SACF,CAAA;IACH,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commonFields = void 0;
|
|
4
|
+
exports.commonFields = {
|
|
5
|
+
event: {
|
|
6
|
+
label: 'Event Name',
|
|
7
|
+
type: 'string',
|
|
8
|
+
required: true,
|
|
9
|
+
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.'
|
|
10
|
+
},
|
|
11
|
+
event_id: {
|
|
12
|
+
label: 'Event ID',
|
|
13
|
+
type: 'string',
|
|
14
|
+
description: 'Any hashed ID that can identify a unique user/session.',
|
|
15
|
+
default: {
|
|
16
|
+
'@path': '$.messageId'
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
timestamp: {
|
|
20
|
+
label: 'Event Timestamp',
|
|
21
|
+
type: 'string',
|
|
22
|
+
description: 'Timestamp that the event took place, in ISO 8601 format.',
|
|
23
|
+
default: {
|
|
24
|
+
'@path': '$.timestamp'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
phone_number: {
|
|
28
|
+
label: 'Phone Number',
|
|
29
|
+
description: 'A single phone number or array of phone numbers in E.164 standard format. Segment will hash this value before sending to TikTok. e.g. +14150000000. Segment will hash this value before sending to TikTok.',
|
|
30
|
+
type: 'string',
|
|
31
|
+
multiple: true,
|
|
32
|
+
default: {
|
|
33
|
+
'@if': {
|
|
34
|
+
exists: { '@path': '$.properties.phone' },
|
|
35
|
+
then: { '@path': '$.properties.phone' },
|
|
36
|
+
else: { '@path': '$.context.traits.phone' }
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
email: {
|
|
41
|
+
label: 'Email',
|
|
42
|
+
description: 'A single email address or an array of email addresses. Segment will hash this value before sending to TikTok.',
|
|
43
|
+
type: 'string',
|
|
44
|
+
multiple: true,
|
|
45
|
+
default: {
|
|
46
|
+
'@if': {
|
|
47
|
+
exists: { '@path': '$.properties.email' },
|
|
48
|
+
then: { '@path': '$.properties.email' },
|
|
49
|
+
else: { '@path': '$.context.traits.email' }
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
order_id: {
|
|
54
|
+
label: 'Order ID',
|
|
55
|
+
type: 'string',
|
|
56
|
+
description: 'Order ID of the transaction.',
|
|
57
|
+
default: {
|
|
58
|
+
'@path': '$.properties.order_id'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
shop_id: {
|
|
62
|
+
label: 'Shop ID',
|
|
63
|
+
type: 'string',
|
|
64
|
+
description: 'Shop ID of the transaction.',
|
|
65
|
+
default: {
|
|
66
|
+
'@path': '$.properties.shop_id'
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
external_id: {
|
|
70
|
+
label: 'External ID',
|
|
71
|
+
description: 'Uniquely identifies the user who triggered the conversion event. Segment will hash this value before sending to TikTok. TikTok Conversions Destination supports both string and string[] types for sending external ID(s).',
|
|
72
|
+
type: 'string',
|
|
73
|
+
multiple: true,
|
|
74
|
+
default: {
|
|
75
|
+
'@if': {
|
|
76
|
+
exists: { '@path': '$.userId' },
|
|
77
|
+
then: { '@path': '$.userId' },
|
|
78
|
+
else: { '@path': '$.anonymousId' }
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
ttclid: {
|
|
83
|
+
label: 'TikTok Click ID',
|
|
84
|
+
description: 'The value of the ttclid used to match website visitor events with TikTok ads. The ttclid is valid for 7 days. See [Set up ttclid](https://ads.tiktok.com/marketing_api/docs?rid=4eezrhr6lg4&id=1681728034437121) for details.',
|
|
85
|
+
type: 'string',
|
|
86
|
+
default: {
|
|
87
|
+
'@if': {
|
|
88
|
+
exists: { '@path': '$.properties.ttclid' },
|
|
89
|
+
then: { '@path': '$.properties.ttclid' },
|
|
90
|
+
else: { '@path': '$.integrations.TikTok Conversions.ttclid' }
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
ttp: {
|
|
95
|
+
label: 'TikTok Cookie ID',
|
|
96
|
+
description: 'TikTok Cookie ID. If you also use Pixel SDK and have enabled cookies, Pixel SDK automatically saves a unique identifier in the `_ttp` cookie. The value of `_ttp` is used to match website visitor events with TikTok ads. You can extract the value of `_ttp` and attach the value here. To learn more about the `ttp` parameter, refer to [Events API 2.0 - Send TikTok Cookie](https://ads.tiktok.com/marketing_api/docs?id=%201771100936446977) (`_ttp`).',
|
|
97
|
+
type: 'string',
|
|
98
|
+
default: {
|
|
99
|
+
'@if': {
|
|
100
|
+
exists: { '@path': '$.properties.ttp' },
|
|
101
|
+
then: { '@path': '$.properties.ttp' },
|
|
102
|
+
else: { '@path': '$.integrations.TikTok Conversions.ttp' }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
lead_id: {
|
|
107
|
+
label: 'TikTok Lead ID',
|
|
108
|
+
description: 'ID of TikTok leads. Every lead will have its own lead_id when exported from TikTok. This feature is in Beta. Please contact your TikTok representative to inquire regarding availability',
|
|
109
|
+
type: 'string',
|
|
110
|
+
default: { '@path': '$.properties.lead_id' }
|
|
111
|
+
},
|
|
112
|
+
locale: {
|
|
113
|
+
label: 'Locale',
|
|
114
|
+
description: 'The BCP 47 language identifier. For reference, refer to the [IETF BCP 47 standardized code](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).',
|
|
115
|
+
type: 'string',
|
|
116
|
+
default: {
|
|
117
|
+
'@path': '$.context.locale'
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
url: {
|
|
121
|
+
label: 'Page URL',
|
|
122
|
+
type: 'string',
|
|
123
|
+
description: 'The page URL where the conversion event took place.',
|
|
124
|
+
default: {
|
|
125
|
+
'@path': '$.context.page.url'
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
referrer: {
|
|
129
|
+
label: 'Page Referrer',
|
|
130
|
+
type: 'string',
|
|
131
|
+
description: 'The page referrer.',
|
|
132
|
+
default: {
|
|
133
|
+
'@path': '$.context.page.referrer'
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
ip: {
|
|
137
|
+
label: 'IP Address',
|
|
138
|
+
type: 'string',
|
|
139
|
+
description: 'IP address of the browser.',
|
|
140
|
+
default: {
|
|
141
|
+
'@path': '$.context.ip'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
user_agent: {
|
|
145
|
+
label: 'User Agent',
|
|
146
|
+
type: 'string',
|
|
147
|
+
description: 'User agent from the user’s device.',
|
|
148
|
+
default: {
|
|
149
|
+
'@path': '$.context.userAgent'
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
contents: {
|
|
153
|
+
label: 'Contents',
|
|
154
|
+
type: 'object',
|
|
155
|
+
multiple: true,
|
|
156
|
+
description: 'Related item details for the event.',
|
|
157
|
+
properties: {
|
|
158
|
+
price: {
|
|
159
|
+
label: 'Price',
|
|
160
|
+
description: 'Price of the item.',
|
|
161
|
+
type: 'number'
|
|
162
|
+
},
|
|
163
|
+
quantity: {
|
|
164
|
+
label: 'Quantity',
|
|
165
|
+
description: 'Number of items.',
|
|
166
|
+
type: 'number'
|
|
167
|
+
},
|
|
168
|
+
content_category: {
|
|
169
|
+
label: 'Content Category',
|
|
170
|
+
description: 'Category of the product item.',
|
|
171
|
+
type: 'string'
|
|
172
|
+
},
|
|
173
|
+
content_id: {
|
|
174
|
+
label: 'Content ID',
|
|
175
|
+
description: 'ID of the product item.',
|
|
176
|
+
type: 'string'
|
|
177
|
+
},
|
|
178
|
+
content_name: {
|
|
179
|
+
label: 'Content Name',
|
|
180
|
+
description: 'Name of the product item.',
|
|
181
|
+
type: 'string'
|
|
182
|
+
},
|
|
183
|
+
brand: {
|
|
184
|
+
label: 'Brand',
|
|
185
|
+
description: 'Brand name of the product item.',
|
|
186
|
+
type: 'string'
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
content_type: {
|
|
191
|
+
label: 'Content Type',
|
|
192
|
+
description: 'Type of the product item. When the `content_id` in the `Contents` field is specified as a `sku_id`, set this field to `product`. When the `content_id` in the `Contents` field is specified as an `item_group_id`, set this field to `product_group`.',
|
|
193
|
+
type: 'string',
|
|
194
|
+
choices: [{ label: 'product', value: 'product' }, { label: 'product_group', value: 'product_group' }],
|
|
195
|
+
default: 'product'
|
|
196
|
+
},
|
|
197
|
+
currency: {
|
|
198
|
+
label: 'Currency',
|
|
199
|
+
type: 'string',
|
|
200
|
+
description: 'Currency for the value specified as ISO 4217 code.',
|
|
201
|
+
default: {
|
|
202
|
+
'@path': '$.properties.currency'
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
value: {
|
|
206
|
+
label: 'Value',
|
|
207
|
+
type: 'number',
|
|
208
|
+
description: 'Value of the order or items sold.',
|
|
209
|
+
default: {
|
|
210
|
+
'@if': {
|
|
211
|
+
exists: { '@path': '$.properties.value' },
|
|
212
|
+
then: { '@path': '$.properties.value' },
|
|
213
|
+
else: { '@path': '$.properties.revenue' }
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
description: {
|
|
218
|
+
label: 'Description',
|
|
219
|
+
type: 'string',
|
|
220
|
+
description: 'A string description of the web event.'
|
|
221
|
+
},
|
|
222
|
+
query: {
|
|
223
|
+
label: 'Query',
|
|
224
|
+
type: 'string',
|
|
225
|
+
description: 'The text string that was searched for.',
|
|
226
|
+
default: {
|
|
227
|
+
'@path': '$.properties.query'
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
limited_data_use: {
|
|
231
|
+
label: 'Limited Data Use',
|
|
232
|
+
type: 'boolean',
|
|
233
|
+
description: 'Use this field to flag an event for limited data processing. TikTok will recognize this parameter as a request for limited data processing, and will limit its processing activities accordingly if the event shared occurred in an eligible location. To learn more about the Limited Data Use feature, refer to [Events API 2.0 - Limited Data Use](https://ads.tiktok.com/marketing_api/docs?id=1771101204435970).',
|
|
234
|
+
default: {
|
|
235
|
+
'@path': '$.properties.limited_data_use'
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
test_event_code: {
|
|
239
|
+
label: 'Test Event Code',
|
|
240
|
+
type: 'string',
|
|
241
|
+
description: 'Use this field to specify that events should be test events rather than actual traffic. You can find your Test Event Code in your TikTok Events Manager under the "Test Event" tab. You\'ll want to remove your Test Event Code when sending real traffic through this integration.'
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
//# sourceMappingURL=common_fields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common_fields.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-conversions/common_fields.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAA+B;IACtD,KAAK,EAAE;QACL,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,8MAA8M;KACjN;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,wDAAwD;QACrE,OAAO,EAAE;YACP,OAAO,EAAE,aAAa;SACvB;KACF;IACD,SAAS,EAAE;QACT,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,QAAQ;QACd,WAAW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,EAAE,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC;QACtG,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,oDAAoD;QACjE,OAAO,EAAE;YACP,OAAO,EAAE,uBAAuB;SACjC;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,mCAAmC;QAChD,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,MAAM,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;gBACzC,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;gBACvC,IAAI,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE;aAC1C;SACF;KACF;IACD,WAAW,EAAE;QACX,KAAK,EAAE,aAAa;QACpB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,wCAAwC;KACtD;IACD,KAAK,EAAE;QACL,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,wCAAwC;QACrD,OAAO,EAAE;YACP,OAAO,EAAE,oBAAoB;SAC9B;KACF;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,kBAAkB;QACzB,IAAI,EAAE,SAAS;QACf,WAAW,EACT,uZAAuZ;QACzZ,OAAO,EAAE;YACP,OAAO,EAAE,+BAA+B;SACzC;KACF;IACD,eAAe,EAAE;QACf,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,QAAQ;QACd,WAAW,EACT,qRAAqR;KACxR;CACF,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.formatUserIds = exports.formatPhones = exports.formatEmails = void 0;
|
|
4
|
+
const crypto_1 = require("crypto");
|
|
5
|
+
const formatEmails = (email_addresses) => {
|
|
6
|
+
const result = [];
|
|
7
|
+
if (email_addresses) {
|
|
8
|
+
email_addresses.forEach((email) => {
|
|
9
|
+
result.push(hashAndEncode(email.toLowerCase()));
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
return result;
|
|
13
|
+
};
|
|
14
|
+
exports.formatEmails = formatEmails;
|
|
15
|
+
const formatPhones = (phone_numbers) => {
|
|
16
|
+
const result = [];
|
|
17
|
+
if (!phone_numbers)
|
|
18
|
+
return result;
|
|
19
|
+
phone_numbers.forEach((phone) => {
|
|
20
|
+
const validatedPhone = phone.match(/[0-9]{0,14}/g);
|
|
21
|
+
if (validatedPhone === null) {
|
|
22
|
+
throw new Error(`${phone} is not a valid E.164 phone number.`);
|
|
23
|
+
}
|
|
24
|
+
const formattedPhone = `+${phone.replace(/[^0-9]/g, '')}`;
|
|
25
|
+
result.push(hashAndEncode(formattedPhone.substring(0, 15)));
|
|
26
|
+
});
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
exports.formatPhones = formatPhones;
|
|
30
|
+
function formatUserIds(userIds) {
|
|
31
|
+
const result = [];
|
|
32
|
+
if (userIds) {
|
|
33
|
+
userIds.forEach((userId) => {
|
|
34
|
+
result.push(hashAndEncode(userId.toLowerCase()));
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return result;
|
|
38
|
+
}
|
|
39
|
+
exports.formatUserIds = formatUserIds;
|
|
40
|
+
function hashAndEncode(property) {
|
|
41
|
+
return crypto_1.createHash('sha256').update(property).digest('hex');
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=formatter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatter.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-conversions/formatter.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AAK5B,MAAM,YAAY,GAAG,CAAC,eAAqC,EAAY,EAAE;IAC9E,MAAM,MAAM,GAAa,EAAE,CAAA;IAC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a,CAAC,QAAgB;IACrC,OAAO,mBAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;AAC5D,CAAC"}
|
|
@@ -12,11 +12,17 @@ const productProperties = {
|
|
|
12
12
|
quantity: {
|
|
13
13
|
'@path': '$.quantity'
|
|
14
14
|
},
|
|
15
|
-
|
|
15
|
+
content_category: {
|
|
16
16
|
'@path': '$.category'
|
|
17
17
|
},
|
|
18
18
|
content_id: {
|
|
19
19
|
'@path': '$.product_id'
|
|
20
|
+
},
|
|
21
|
+
content_name: {
|
|
22
|
+
'@path': '$.name'
|
|
23
|
+
},
|
|
24
|
+
brand: {
|
|
25
|
+
'@path': '$.brand'
|
|
20
26
|
}
|
|
21
27
|
};
|
|
22
28
|
const singleProductContents = {
|
|
@@ -41,78 +47,6 @@ const multiProductContents = {
|
|
|
41
47
|
]
|
|
42
48
|
}
|
|
43
49
|
};
|
|
44
|
-
const presets = [
|
|
45
|
-
{
|
|
46
|
-
name: 'View Content',
|
|
47
|
-
subscribe: 'type="page"',
|
|
48
|
-
partnerAction: 'reportWebEvent',
|
|
49
|
-
mapping: {
|
|
50
|
-
...singleProductContents,
|
|
51
|
-
event: 'ViewContent'
|
|
52
|
-
},
|
|
53
|
-
type: 'automatic'
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
name: 'Search',
|
|
57
|
-
subscribe: 'event = "Products Searched"',
|
|
58
|
-
partnerAction: 'reportWebEvent',
|
|
59
|
-
mapping: {
|
|
60
|
-
...singleProductContents,
|
|
61
|
-
event: 'Search'
|
|
62
|
-
},
|
|
63
|
-
type: 'automatic'
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: 'Add to Wishlist',
|
|
67
|
-
subscribe: 'event = "Product Added to Wishlist"',
|
|
68
|
-
partnerAction: 'reportWebEvent',
|
|
69
|
-
mapping: {
|
|
70
|
-
...singleProductContents,
|
|
71
|
-
event: 'AddToWishlist'
|
|
72
|
-
},
|
|
73
|
-
type: 'automatic'
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
name: 'Add to Cart',
|
|
77
|
-
subscribe: 'event = "Product Added"',
|
|
78
|
-
partnerAction: 'reportWebEvent',
|
|
79
|
-
mapping: {
|
|
80
|
-
...singleProductContents,
|
|
81
|
-
event: 'AddToCart'
|
|
82
|
-
},
|
|
83
|
-
type: 'automatic'
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
name: 'Initiate Checkout',
|
|
87
|
-
subscribe: 'event = "Checkout Started"',
|
|
88
|
-
partnerAction: 'reportWebEvent',
|
|
89
|
-
mapping: {
|
|
90
|
-
...multiProductContents,
|
|
91
|
-
event: 'InitiateCheckout'
|
|
92
|
-
},
|
|
93
|
-
type: 'automatic'
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: 'Add Payment Info',
|
|
97
|
-
subscribe: 'event = "Payment Info Entered"',
|
|
98
|
-
partnerAction: 'reportWebEvent',
|
|
99
|
-
mapping: {
|
|
100
|
-
...multiProductContents,
|
|
101
|
-
event: 'AddPaymentInfo'
|
|
102
|
-
},
|
|
103
|
-
type: 'automatic'
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
name: 'Place an Order',
|
|
107
|
-
subscribe: 'event = "Order Completed"',
|
|
108
|
-
partnerAction: 'reportWebEvent',
|
|
109
|
-
mapping: {
|
|
110
|
-
...multiProductContents,
|
|
111
|
-
event: 'PlaceAnOrder'
|
|
112
|
-
},
|
|
113
|
-
type: 'automatic'
|
|
114
|
-
}
|
|
115
|
-
];
|
|
116
50
|
const destination = {
|
|
117
51
|
name: 'Tiktok Conversions',
|
|
118
52
|
slug: 'tiktok-conversions',
|
|
@@ -147,10 +81,164 @@ const destination = {
|
|
|
147
81
|
},
|
|
148
82
|
extendRequest({ settings }) {
|
|
149
83
|
return {
|
|
150
|
-
headers: {
|
|
84
|
+
headers: {
|
|
85
|
+
'Access-Token': settings.accessToken,
|
|
86
|
+
'Content-Type': 'application/json'
|
|
87
|
+
}
|
|
151
88
|
};
|
|
152
89
|
},
|
|
153
|
-
presets
|
|
90
|
+
presets: [
|
|
91
|
+
{
|
|
92
|
+
name: 'Complete Payment',
|
|
93
|
+
subscribe: 'event = "Order Completed"',
|
|
94
|
+
partnerAction: 'reportWebEvent',
|
|
95
|
+
mapping: {
|
|
96
|
+
...multiProductContents,
|
|
97
|
+
event: 'CompletePayment'
|
|
98
|
+
},
|
|
99
|
+
type: 'automatic'
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: 'Contact',
|
|
103
|
+
subscribe: 'event = "Callback Started"',
|
|
104
|
+
partnerAction: 'reportWebEvent',
|
|
105
|
+
mapping: {
|
|
106
|
+
...actions_core_1.defaultValues(reportWebEvent_1.default.fields),
|
|
107
|
+
event: 'Contact'
|
|
108
|
+
},
|
|
109
|
+
type: 'automatic'
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'Subscribe',
|
|
113
|
+
subscribe: 'event = "Subscription Created"',
|
|
114
|
+
partnerAction: 'reportWebEvent',
|
|
115
|
+
mapping: {
|
|
116
|
+
...actions_core_1.defaultValues(reportWebEvent_1.default.fields),
|
|
117
|
+
event: 'Subscribe'
|
|
118
|
+
},
|
|
119
|
+
type: 'automatic'
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: 'Submit Form',
|
|
123
|
+
subscribe: 'event = "Form Submitted"',
|
|
124
|
+
partnerAction: 'reportWebEvent',
|
|
125
|
+
mapping: {
|
|
126
|
+
...actions_core_1.defaultValues(reportWebEvent_1.default.fields),
|
|
127
|
+
event: 'SubmitForm'
|
|
128
|
+
},
|
|
129
|
+
type: 'automatic'
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: 'Page View',
|
|
133
|
+
subscribe: 'type="page"',
|
|
134
|
+
partnerAction: 'reportWebEvent',
|
|
135
|
+
mapping: {
|
|
136
|
+
...multiProductContents,
|
|
137
|
+
event: 'PageView'
|
|
138
|
+
},
|
|
139
|
+
type: 'automatic'
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'View Content',
|
|
143
|
+
subscribe: 'event = "Product Viewed"',
|
|
144
|
+
partnerAction: 'reportWebEvent',
|
|
145
|
+
mapping: {
|
|
146
|
+
...singleProductContents,
|
|
147
|
+
event: 'ViewContent'
|
|
148
|
+
},
|
|
149
|
+
type: 'automatic'
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: 'Click Button',
|
|
153
|
+
subscribe: 'event = "Product Clicked"',
|
|
154
|
+
partnerAction: 'reportWebEvent',
|
|
155
|
+
mapping: {
|
|
156
|
+
...singleProductContents,
|
|
157
|
+
event: 'ClickButton'
|
|
158
|
+
},
|
|
159
|
+
type: 'automatic'
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: 'Search',
|
|
163
|
+
subscribe: 'event = "Products Searched"',
|
|
164
|
+
partnerAction: 'reportWebEvent',
|
|
165
|
+
mapping: {
|
|
166
|
+
...singleProductContents,
|
|
167
|
+
event: 'Search'
|
|
168
|
+
},
|
|
169
|
+
type: 'automatic'
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: 'Add to Wishlist',
|
|
173
|
+
subscribe: 'event = "Product Added to Wishlist"',
|
|
174
|
+
partnerAction: 'reportWebEvent',
|
|
175
|
+
mapping: {
|
|
176
|
+
...singleProductContents,
|
|
177
|
+
event: 'AddToWishlist'
|
|
178
|
+
},
|
|
179
|
+
type: 'automatic'
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'Add to Cart',
|
|
183
|
+
subscribe: 'event = "Product Added"',
|
|
184
|
+
partnerAction: 'reportWebEvent',
|
|
185
|
+
mapping: {
|
|
186
|
+
...singleProductContents,
|
|
187
|
+
event: 'AddToCart'
|
|
188
|
+
},
|
|
189
|
+
type: 'automatic'
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: 'Initiate Checkout',
|
|
193
|
+
subscribe: 'event = "Checkout Started"',
|
|
194
|
+
partnerAction: 'reportWebEvent',
|
|
195
|
+
mapping: {
|
|
196
|
+
...multiProductContents,
|
|
197
|
+
event: 'InitiateCheckout'
|
|
198
|
+
},
|
|
199
|
+
type: 'automatic'
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: 'Add Payment Info',
|
|
203
|
+
subscribe: 'event = "Payment Info Entered"',
|
|
204
|
+
partnerAction: 'reportWebEvent',
|
|
205
|
+
mapping: {
|
|
206
|
+
...multiProductContents,
|
|
207
|
+
event: 'AddPaymentInfo'
|
|
208
|
+
},
|
|
209
|
+
type: 'automatic'
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: 'Place an Order',
|
|
213
|
+
subscribe: 'event = "Order Placed"',
|
|
214
|
+
partnerAction: 'reportWebEvent',
|
|
215
|
+
mapping: {
|
|
216
|
+
...multiProductContents,
|
|
217
|
+
event: 'PlaceAnOrder'
|
|
218
|
+
},
|
|
219
|
+
type: 'automatic'
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
name: 'Download',
|
|
223
|
+
subscribe: 'event = "Download Link Clicked"',
|
|
224
|
+
partnerAction: 'reportWebEvent',
|
|
225
|
+
mapping: {
|
|
226
|
+
...actions_core_1.defaultValues(reportWebEvent_1.default.fields),
|
|
227
|
+
event: 'Download'
|
|
228
|
+
},
|
|
229
|
+
type: 'automatic'
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: 'Complete Registration',
|
|
233
|
+
subscribe: 'event = "Signed Up"',
|
|
234
|
+
partnerAction: 'reportWebEvent',
|
|
235
|
+
mapping: {
|
|
236
|
+
...actions_core_1.defaultValues(reportWebEvent_1.default.fields),
|
|
237
|
+
event: 'CompleteRegistration'
|
|
238
|
+
},
|
|
239
|
+
type: 'automatic'
|
|
240
|
+
}
|
|
241
|
+
],
|
|
154
242
|
actions: {
|
|
155
243
|
reportWebEvent: reportWebEvent_1.default
|
|
156
244
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-conversions/index.ts"],"names":[],"mappings":";;;;;AACA,wDAAqD;AAGrD,sEAA6C;AAE7C,MAAM,iBAAiB,GAAG;IACxB,KAAK,EAAE;QACL,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,YAAY;KACtB;IACD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-conversions/index.ts"],"names":[],"mappings":";;;;;AACA,wDAAqD;AAGrD,sEAA6C;AAE7C,MAAM,iBAAiB,GAAG;IACxB,KAAK,EAAE;QACL,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,YAAY;KACtB;IACD,gBAAgB,EAAE;QAChB,OAAO,EAAE,YAAY;KACtB;IACD,UAAU,EAAE;QACV,OAAO,EAAE,cAAc;KACxB;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,QAAQ;KAClB;IACD,KAAK,EAAE;QACL,OAAO,EAAE,SAAS;KACnB;CACF,CAAA;AAED,MAAM,qBAAqB,GAAG;IAC5B,GAAG,4BAAa,CAAC,wBAAc,CAAC,MAAM,CAAC;IACvC,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,cAAc;YACd;gBACE,GAAG,iBAAiB;aACrB;SACF;KACF;CACF,CAAA;AAED,MAAM,oBAAoB,GAAG;IAC3B,GAAG,4BAAa,CAAC,wBAAc,CAAC,MAAM,CAAC;IACvC,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,uBAAuB;YACvB;gBACE,GAAG,iBAAiB;aACrB;SACF;KACF;CACF,CAAA;AAED,MAAM,WAAW,GAAoC;IAInD,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QA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