@metarouter/ajs-starter-kit 1.0.107 → 1.0.109
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/actioniq/connection.etag.json +1 -1
- package/.dist/actioniq/connection.json +16 -0
- package/.dist/actioniq/kit.etag.json +1 -1
- package/.dist/actioniq/metadata.json +4 -0
- package/.dist/actioniq/playbook.etag.json +1 -1
- package/.dist/actioniq/playbook.json +1 -1
- package/.dist/acuity-ads/connection.etag.json +1 -1
- package/.dist/acuity-ads/connection.json +4 -0
- package/.dist/acuity-ads/kit.etag.json +1 -1
- package/.dist/acuity-ads/metadata.json +4 -0
- package/.dist/acuity-ads/playbook.etag.json +1 -1
- package/.dist/acuity-ads/playbook.json +1 -1
- package/.dist/adobe-analytics/kit.etag.json +1 -1
- package/.dist/adobe-analytics/metadata.json +4 -0
- package/.dist/adobe-analytics/playbook.etag.json +1 -1
- package/.dist/adobe-analytics/playbook.json +14 -2
- package/.dist/adobe-id/connection.etag.json +1 -1
- package/.dist/adobe-id/connection.json +4 -0
- package/.dist/adobe-id/kit.etag.json +1 -1
- package/.dist/adobe-id/metadata.json +4 -0
- package/.dist/adobe-id/playbook.etag.json +1 -1
- package/.dist/adobe-id/playbook.json +1 -1
- package/.dist/amnet/connection.etag.json +1 -1
- package/.dist/amnet/connection.json +4 -0
- package/.dist/amnet/kit.etag.json +1 -1
- package/.dist/amnet/metadata.json +4 -0
- package/.dist/amnet/playbook.etag.json +1 -1
- package/.dist/amnet/playbook.json +1 -1
- package/.dist/amobee/connection.etag.json +1 -1
- package/.dist/amobee/connection.json +7 -1
- package/.dist/amobee/kit.etag.json +1 -1
- package/.dist/amobee/metadata.json +4 -0
- package/.dist/amobee/playbook.etag.json +1 -1
- package/.dist/amobee/playbook.json +1 -1
- package/.dist/amperity/kit.etag.json +1 -1
- package/.dist/amperity/metadata.json +4 -0
- package/.dist/amperity/playbook.etag.json +1 -1
- package/.dist/amperity/playbook.json +1 -1
- package/.dist/amplitude/connection.etag.json +1 -1
- package/.dist/amplitude/connection.json +4 -0
- package/.dist/amplitude/kit.etag.json +1 -1
- package/.dist/amplitude/metadata.json +4 -0
- package/.dist/amplitude/playbook.etag.json +1 -1
- package/.dist/amplitude/playbook.json +1 -1
- package/.dist/apps-flyer-android/connection.etag.json +1 -1
- package/.dist/apps-flyer-android/connection.json +4 -0
- package/.dist/apps-flyer-android/kit.etag.json +1 -1
- package/.dist/apps-flyer-android/metadata.json +4 -0
- package/.dist/apps-flyer-android/playbook.etag.json +1 -1
- package/.dist/apps-flyer-android/playbook.json +1 -1
- package/.dist/apps-flyer-ios/connection.etag.json +1 -1
- package/.dist/apps-flyer-ios/connection.json +4 -0
- package/.dist/apps-flyer-ios/kit.etag.json +1 -1
- package/.dist/apps-flyer-ios/metadata.json +4 -0
- package/.dist/apps-flyer-ios/playbook.etag.json +1 -1
- package/.dist/apps-flyer-ios/playbook.json +1 -1
- package/.dist/bing-ads/connection.etag.json +1 -1
- package/.dist/bing-ads/connection.json +7 -1
- package/.dist/bing-ads/kit.etag.json +1 -1
- package/.dist/bing-ads/metadata.json +4 -0
- package/.dist/bing-ads/playbook.etag.json +1 -1
- package/.dist/bing-ads/playbook.json +1 -1
- package/.dist/blueshift/connection.etag.json +1 -1
- package/.dist/blueshift/connection.json +12 -3
- package/.dist/blueshift/kit.etag.json +1 -1
- package/.dist/blueshift/metadata.json +8 -0
- package/.dist/blueshift/playbook.etag.json +1 -1
- package/.dist/blueshift/playbook.json +497 -1
- package/.dist/clinch/connection.etag.json +1 -1
- package/.dist/clinch/connection.json +4 -0
- package/.dist/clinch/kit.etag.json +1 -1
- package/.dist/clinch/metadata.json +4 -0
- package/.dist/clinch/playbook.etag.json +1 -1
- package/.dist/clinch/playbook.json +1 -1
- package/.dist/commission-junction/connection.etag.json +1 -1
- package/.dist/commission-junction/connection.json +4 -0
- package/.dist/commission-junction/kit.etag.json +1 -1
- package/.dist/commission-junction/metadata.json +4 -0
- package/.dist/commission-junction/playbook.etag.json +1 -1
- package/.dist/commission-junction/playbook.json +1 -1
- package/.dist/convert/connection.etag.json +1 -1
- package/.dist/convert/connection.json +1 -1
- package/.dist/convert/kit.etag.json +1 -1
- package/.dist/convert/metadata.json +4 -0
- package/.dist/convert/playbook.etag.json +1 -1
- package/.dist/convert/playbook.json +1 -1
- package/.dist/criteo/connection.etag.json +1 -1
- package/.dist/criteo/connection.json +1 -1
- package/.dist/criteo/kit.etag.json +1 -1
- package/.dist/criteo/metadata.json +4 -0
- package/.dist/criteo/playbook.etag.json +1 -1
- package/.dist/criteo/playbook.json +1 -1
- package/.dist/customer-io/connection.etag.json +1 -1
- package/.dist/customer-io/connection.json +8 -0
- package/.dist/customer-io/kit.etag.json +1 -1
- package/.dist/customer-io/metadata.json +4 -0
- package/.dist/customer-io/playbook.etag.json +1 -1
- package/.dist/customer-io/playbook.json +1 -1
- package/.dist/facebook-pixel/connection.etag.json +1 -1
- package/.dist/facebook-pixel/connection.json +6 -0
- package/.dist/facebook-pixel/kit.etag.json +1 -1
- package/.dist/facebook-pixel/metadata.json +4 -0
- package/.dist/facebook-pixel/playbook.etag.json +1 -1
- package/.dist/facebook-pixel/playbook.json +1 -1
- package/.dist/google-ads/kit.etag.json +1 -1
- package/.dist/google-ads/metadata.json +4 -0
- package/.dist/google-ads/playbook.etag.json +1 -1
- package/.dist/google-ads/playbook.json +1 -1
- package/.dist/google-analytics-4-collect/connection.etag.json +1 -1
- package/.dist/google-analytics-4-collect/connection.json +4 -0
- package/.dist/google-analytics-4-collect/kit.etag.json +1 -1
- package/.dist/google-analytics-4-collect/metadata.json +4 -0
- package/.dist/google-analytics-4-collect/playbook.etag.json +1 -1
- package/.dist/google-analytics-4-collect/playbook.json +1 -1
- package/.dist/google-firebase/connection.etag.json +1 -1
- package/.dist/google-firebase/connection.json +1 -1
- package/.dist/google-firebase/kit.etag.json +1 -1
- package/.dist/google-firebase/metadata.json +4 -0
- package/.dist/google-firebase/playbook.etag.json +1 -1
- package/.dist/google-firebase/playbook.json +1 -1
- package/.dist/heap/connection.etag.json +1 -1
- package/.dist/heap/connection.json +2 -2
- package/.dist/heap/kit.etag.json +1 -1
- package/.dist/heap/metadata.json +4 -0
- package/.dist/heap/playbook.etag.json +1 -1
- package/.dist/heap/playbook.json +1 -1
- package/.dist/hubspot-event/connection.etag.json +1 -1
- package/.dist/hubspot-event/connection.json +4 -0
- package/.dist/hubspot-event/kit.etag.json +1 -1
- package/.dist/hubspot-event/metadata.json +4 -0
- package/.dist/hubspot-event/playbook.etag.json +1 -1
- package/.dist/hubspot-event/playbook.json +1 -1
- package/.dist/impact-radius/connection.etag.json +1 -1
- package/.dist/impact-radius/connection.json +12 -0
- package/.dist/impact-radius/kit.etag.json +1 -1
- package/.dist/impact-radius/metadata.json +4 -0
- package/.dist/impact-radius/playbook.etag.json +1 -1
- package/.dist/impact-radius/playbook.json +1 -1
- package/.dist/in-market/connection.etag.json +1 -1
- package/.dist/in-market/connection.json +6 -0
- package/.dist/in-market/kit.etag.json +1 -1
- package/.dist/in-market/metadata.json +4 -0
- package/.dist/in-market/playbook.etag.json +1 -1
- package/.dist/in-market/playbook.json +1 -1
- package/.dist/kochava/connection.etag.json +1 -1
- package/.dist/kochava/connection.json +12 -0
- package/.dist/kochava/kit.etag.json +1 -1
- package/.dist/kochava/metadata.json +4 -0
- package/.dist/kochava/playbook.etag.json +1 -1
- package/.dist/kochava/playbook.json +1 -1
- package/.dist/lytics/connection.etag.json +1 -1
- package/.dist/lytics/connection.json +4 -0
- package/.dist/lytics/kit.etag.json +1 -1
- package/.dist/lytics/metadata.json +4 -0
- package/.dist/lytics/playbook.etag.json +1 -1
- package/.dist/lytics/playbook.json +1 -1
- package/.dist/magellan-ai/connection.etag.json +1 -1
- package/.dist/magellan-ai/connection.json +4 -0
- package/.dist/magellan-ai/kit.etag.json +1 -1
- package/.dist/magellan-ai/metadata.json +4 -0
- package/.dist/magellan-ai/playbook.etag.json +1 -1
- package/.dist/magellan-ai/playbook.json +1 -1
- package/.dist/merkle/connection.etag.json +1 -1
- package/.dist/merkle/connection.json +4 -0
- package/.dist/merkle/kit.etag.json +1 -1
- package/.dist/merkle/metadata.json +4 -0
- package/.dist/merkle/playbook.etag.json +1 -1
- package/.dist/merkle/playbook.json +1 -1
- package/.dist/miq-xandr/connection.etag.json +1 -1
- package/.dist/miq-xandr/connection.json +4 -0
- package/.dist/miq-xandr/kit.etag.json +1 -1
- package/.dist/miq-xandr/metadata.json +4 -0
- package/.dist/miq-xandr/playbook.etag.json +1 -1
- package/.dist/miq-xandr/playbook.json +1 -1
- package/.dist/mixpanel/connection.etag.json +1 -1
- package/.dist/mixpanel/connection.json +4 -0
- package/.dist/mixpanel/kit.etag.json +1 -1
- package/.dist/mixpanel/metadata.json +4 -0
- package/.dist/mixpanel/playbook.etag.json +1 -1
- package/.dist/mixpanel/playbook.json +1 -1
- package/.dist/movable-ink/connection.etag.json +1 -1
- package/.dist/movable-ink/connection.json +4 -0
- package/.dist/movable-ink/kit.etag.json +1 -1
- package/.dist/movable-ink/metadata.json +4 -0
- package/.dist/movable-ink/playbook.etag.json +1 -1
- package/.dist/movable-ink/playbook.json +1 -1
- package/.dist/movable-ink-customer-data/connection.etag.json +1 -1
- package/.dist/movable-ink-customer-data/connection.json +4 -0
- package/.dist/movable-ink-customer-data/kit.etag.json +1 -1
- package/.dist/movable-ink-customer-data/metadata.json +4 -0
- package/.dist/movable-ink-customer-data/playbook.etag.json +1 -1
- package/.dist/movable-ink-customer-data/playbook.json +1 -1
- package/.dist/nextdoor-capi/connection.etag.json +1 -1
- package/.dist/nextdoor-capi/connection.json +4 -0
- package/.dist/nextdoor-capi/kit.etag.json +1 -1
- package/.dist/nextdoor-capi/metadata.json +4 -0
- package/.dist/nextdoor-capi/playbook.etag.json +1 -1
- package/.dist/nextdoor-capi/playbook.json +1 -1
- package/.dist/pinterest/connection.etag.json +1 -1
- package/.dist/pinterest/connection.json +8 -0
- package/.dist/pinterest/kit.etag.json +1 -1
- package/.dist/pinterest/metadata.json +4 -0
- package/.dist/pinterest/playbook.etag.json +1 -1
- package/.dist/pinterest/playbook.json +1 -1
- package/.dist/pinterest-capi/connection.etag.json +1 -1
- package/.dist/pinterest-capi/connection.json +4 -0
- package/.dist/pinterest-capi/kit.etag.json +1 -1
- package/.dist/pinterest-capi/metadata.json +4 -0
- package/.dist/pinterest-capi/playbook.etag.json +1 -1
- package/.dist/pinterest-capi/playbook.json +1 -1
- package/.dist/podsights/connection.etag.json +1 -1
- package/.dist/podsights/connection.json +6 -0
- package/.dist/podsights/kit.etag.json +1 -1
- package/.dist/podsights/metadata.json +4 -0
- package/.dist/podsights/playbook.etag.json +1 -1
- package/.dist/podsights/playbook.json +1 -1
- package/.dist/reddit-ads/connection.etag.json +1 -1
- package/.dist/reddit-ads/connection.json +4 -0
- package/.dist/reddit-ads/kit.etag.json +1 -1
- package/.dist/reddit-ads/metadata.json +4 -0
- package/.dist/reddit-ads/playbook.etag.json +1 -1
- package/.dist/reddit-ads/playbook.json +1 -1
- package/.dist/rev-jet/connection.etag.json +1 -1
- package/.dist/rev-jet/connection.json +6 -0
- package/.dist/rev-jet/kit.etag.json +1 -1
- package/.dist/rev-jet/metadata.json +4 -0
- package/.dist/rev-jet/playbook.etag.json +1 -1
- package/.dist/rev-jet/playbook.json +1 -1
- package/.dist/roku/connection.etag.json +1 -1
- package/.dist/roku/connection.json +4 -0
- package/.dist/roku/kit.etag.json +1 -1
- package/.dist/roku/metadata.json +4 -0
- package/.dist/roku/playbook.etag.json +1 -1
- package/.dist/roku/playbook.json +1 -1
- package/.dist/roomvo/connection.etag.json +1 -1
- package/.dist/roomvo/connection.json +6 -0
- package/.dist/roomvo/kit.etag.json +1 -1
- package/.dist/roomvo/metadata.json +4 -0
- package/.dist/roomvo/playbook.etag.json +1 -1
- package/.dist/roomvo/playbook.json +1 -1
- package/.dist/salesforce-cdp/connection.etag.json +1 -1
- package/.dist/salesforce-cdp/connection.json +32 -0
- package/.dist/salesforce-cdp/kit.etag.json +1 -1
- package/.dist/salesforce-cdp/metadata.json +4 -0
- package/.dist/salesforce-cdp/playbook.etag.json +1 -1
- package/.dist/salesforce-cdp/playbook.json +1 -1
- package/.dist/snapchat/connection.etag.json +1 -1
- package/.dist/snapchat/connection.json +4 -0
- package/.dist/snapchat/kit.etag.json +1 -1
- package/.dist/snapchat/metadata.json +4 -0
- package/.dist/snapchat/playbook.etag.json +1 -1
- package/.dist/snapchat/playbook.json +1 -1
- package/.dist/snapchat-capi/connection.etag.json +1 -1
- package/.dist/snapchat-capi/connection.json +4 -0
- package/.dist/snapchat-capi/kit.etag.json +1 -1
- package/.dist/snapchat-capi/metadata.json +4 -0
- package/.dist/snapchat-capi/playbook.etag.json +1 -1
- package/.dist/snapchat-capi/playbook.json +1 -1
- package/.dist/thetradedesk-conversion-events/connection.etag.json +1 -1
- package/.dist/thetradedesk-conversion-events/connection.json +4 -0
- package/.dist/thetradedesk-conversion-events/kit.etag.json +1 -1
- package/.dist/thetradedesk-conversion-events/metadata.json +4 -0
- package/.dist/thetradedesk-conversion-events/playbook.etag.json +1 -1
- package/.dist/thetradedesk-conversion-events/playbook.json +1 -1
- package/.dist/thetradedesk-data-advertiser-firstparty/connection.etag.json +1 -1
- package/.dist/thetradedesk-data-advertiser-firstparty/connection.json +4 -0
- package/.dist/thetradedesk-data-advertiser-firstparty/kit.etag.json +1 -1
- package/.dist/thetradedesk-data-advertiser-firstparty/metadata.json +4 -0
- package/.dist/thetradedesk-data-advertiser-firstparty/playbook.etag.json +1 -1
- package/.dist/thetradedesk-data-advertiser-firstparty/playbook.json +1 -1
- package/.dist/tiktok/connection.etag.json +1 -1
- package/.dist/tiktok/connection.json +4 -0
- package/.dist/tiktok/kit.etag.json +1 -1
- package/.dist/tiktok/metadata.json +4 -0
- package/.dist/tiktok/playbook.etag.json +1 -1
- package/.dist/tiktok/playbook.json +1 -1
- package/.dist/twitter-conversions/kit.etag.json +1 -1
- package/.dist/twitter-conversions/metadata.json +4 -0
- package/.dist/twitter-conversions/playbook.etag.json +1 -1
- package/.dist/twitter-conversions/playbook.json +1 -1
- package/.dist/verizon-media/connection.etag.json +1 -1
- package/.dist/verizon-media/connection.json +4 -0
- package/.dist/verizon-media/kit.etag.json +1 -1
- package/.dist/verizon-media/metadata.json +4 -0
- package/.dist/verizon-media/playbook.etag.json +1 -1
- package/.dist/verizon-media/playbook.json +1 -1
- package/.dist/videoamp/connection.etag.json +1 -1
- package/.dist/videoamp/connection.json +6 -0
- package/.dist/videoamp/kit.etag.json +1 -1
- package/.dist/videoamp/metadata.json +4 -0
- package/.dist/videoamp/playbook.etag.json +1 -1
- package/.dist/videoamp/playbook.json +1 -1
- package/.dist/xandr/connection.etag.json +1 -1
- package/.dist/xandr/connection.json +4 -0
- package/.dist/xandr/kit.etag.json +1 -1
- package/.dist/xandr/metadata.json +4 -0
- package/.dist/xandr/playbook.etag.json +1 -1
- package/.dist/xandr/playbook.json +1 -1
- package/.dist/yahoo-enhanced-attribution/connection.etag.json +1 -1
- package/.dist/yahoo-enhanced-attribution/connection.json +6 -1
- package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -1
- package/.dist/yahoo-enhanced-attribution/metadata.json +8 -0
- package/.dist/yahoo-enhanced-attribution/playbook.etag.json +1 -1
- package/.dist/yahoo-enhanced-attribution/playbook.json +1 -1
- package/.dist/yahoo-offline-conversion/connection.etag.json +1 -1
- package/.dist/yahoo-offline-conversion/connection.json +8 -1
- package/.dist/yahoo-offline-conversion/kit.etag.json +1 -1
- package/.dist/yahoo-offline-conversion/metadata.json +8 -0
- package/.dist/yahoo-offline-conversion/playbook.etag.json +1 -1
- package/.dist/yahoo-offline-conversion/playbook.json +1 -1
- package/.dist/zeotap/connection.etag.json +1 -1
- package/.dist/zeotap/connection.json +4 -0
- package/.dist/zeotap/kit.etag.json +1 -1
- package/.dist/zeotap/metadata.json +4 -0
- package/.dist/zeotap/playbook.etag.json +1 -1
- package/.dist/zeotap/playbook.json +1 -1
- package/README.md +100 -104
- package/package.json +1 -1
|
@@ -1,3 +1,499 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.3.0",
|
|
3
|
+
"global": {
|
|
4
|
+
"mappings": [
|
|
5
|
+
{
|
|
6
|
+
"inputKey": "timestamp",
|
|
7
|
+
"outputKey": "timestamp"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"inputKey": "context.ip",
|
|
11
|
+
"outputKey": "ip"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"inputKey": "traits.email",
|
|
15
|
+
"outputKey": "email"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"inputKey": "input",
|
|
19
|
+
"outputKey": "customer_id",
|
|
20
|
+
"transforms": [
|
|
21
|
+
{
|
|
22
|
+
"expression": {
|
|
23
|
+
"lang": "lua",
|
|
24
|
+
"body": "return input.userId or input.anonymousId"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"inputKey": "anonymousId",
|
|
31
|
+
"outputKey": "cookie"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputKey": "context.userAgent",
|
|
35
|
+
"outputKey": "user_agent"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"inputKey": "input",
|
|
39
|
+
"outputKey": "device_id",
|
|
40
|
+
"transforms": [
|
|
41
|
+
{
|
|
42
|
+
"expression": {
|
|
43
|
+
"lang": "lua",
|
|
44
|
+
"body": "if input.context.device.adTrackingEnabled then\n return input.context.device.advertisingId\nend\nreturn input.anonymousId"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"default": {
|
|
52
|
+
"mappings": [
|
|
53
|
+
{
|
|
54
|
+
"inputKey": "input",
|
|
55
|
+
"outputKey": "event",
|
|
56
|
+
"transforms": [
|
|
57
|
+
{
|
|
58
|
+
"expression": {
|
|
59
|
+
"lang": "lua",
|
|
60
|
+
"body": "if input.type == \"track\" then\n return input.event\nend\nreturn input.type"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"expressions": [
|
|
67
|
+
{
|
|
68
|
+
"lang": "lua",
|
|
69
|
+
"body": "return input.properties"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"eventSpecific": {
|
|
74
|
+
"page": {
|
|
75
|
+
"enrichments": [
|
|
76
|
+
{
|
|
77
|
+
"staticString": "pageload",
|
|
78
|
+
"outputKey": "event"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"mappings": [
|
|
82
|
+
{
|
|
83
|
+
"inputKey": "context.page.url",
|
|
84
|
+
"outputKey": "url"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"inputKey": "context.page.referrer",
|
|
88
|
+
"outputKey": "referrer"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"inputKey": "properties.category",
|
|
92
|
+
"outputKey": "category"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"inputKey": "properties.name",
|
|
96
|
+
"outputKey": "name"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"identify": {
|
|
101
|
+
"enrichments": [
|
|
102
|
+
{
|
|
103
|
+
"staticString": "identify",
|
|
104
|
+
"outputKey": "event"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"mappings": [
|
|
108
|
+
{
|
|
109
|
+
"inputKey": "traits.firstName",
|
|
110
|
+
"outputKey": "firstname"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"inputKey": "traits.lastName",
|
|
114
|
+
"outputKey": "lastname"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"inputKey": "traits.gender",
|
|
118
|
+
"outputKey": "gender"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"inputKey": "traits.createdAt",
|
|
122
|
+
"outputKey": "joined_at"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"inputKey": "traits.phone",
|
|
126
|
+
"outputKey": "phone_number"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"inputKey": "input",
|
|
130
|
+
"outputKey": "birth_year",
|
|
131
|
+
"transforms": [
|
|
132
|
+
{
|
|
133
|
+
"expression": {
|
|
134
|
+
"lang": "lua",
|
|
135
|
+
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n return tonumber(SPLIT(input.traits.birthday, \"-\", 1)[1])\nend"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"inputKey": "input",
|
|
142
|
+
"outputKey": "birth_month",
|
|
143
|
+
"transforms": [
|
|
144
|
+
{
|
|
145
|
+
"expression": {
|
|
146
|
+
"lang": "lua",
|
|
147
|
+
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n return tonumber(SPLIT(input.traits.birthday, \"-\", 2)[2])\nend"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"inputKey": "input",
|
|
154
|
+
"outputKey": "birth_dayofmonth",
|
|
155
|
+
"transforms": [
|
|
156
|
+
{
|
|
157
|
+
"expression": {
|
|
158
|
+
"lang": "lua",
|
|
159
|
+
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n return tonumber(SPLIT(SPLIT(input.traits.birthday, \"-\", 3)[3], \"T\", 1)[1])\nend"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"inputKey": "traits.address",
|
|
166
|
+
"outputKey": "address"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"inputKey": "traits.age",
|
|
170
|
+
"outputKey": "age"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"inputKey": "traits.avatar",
|
|
174
|
+
"outputKey": "avatar"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"inputKey": "traits.company",
|
|
178
|
+
"outputKey": "company"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"inputKey": "traits.description",
|
|
182
|
+
"outputKey": "description"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"inputKey": "traits.id",
|
|
186
|
+
"outputKey": "id"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"inputKey": "traits.name",
|
|
190
|
+
"outputKey": "name"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"inputKey": "traits.title",
|
|
194
|
+
"outputKey": "title"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"inputKey": "traits.username",
|
|
198
|
+
"outputKey": "username"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"inputKey": "traits.website",
|
|
202
|
+
"outputKey": "website"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"product_viewed": {
|
|
207
|
+
"enrichments": [
|
|
208
|
+
{
|
|
209
|
+
"staticString": "view",
|
|
210
|
+
"outputKey": "event"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"mappings": [
|
|
214
|
+
{
|
|
215
|
+
"inputKey": "input",
|
|
216
|
+
"outputKey": "product_id",
|
|
217
|
+
"transforms": [
|
|
218
|
+
{
|
|
219
|
+
"expression": {
|
|
220
|
+
"lang": "lua",
|
|
221
|
+
"body": "if input.properties.product_id then\n return input.properties.product_id\nend\nreturn input.properties.sku"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"inputKey": "properties.name",
|
|
228
|
+
"outputKey": "title"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"inputKey": "properties.url",
|
|
232
|
+
"outputKey": "web_link"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"inputKey": "properties.image_url",
|
|
236
|
+
"outputKey": "image"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"inputKey": "properties.price",
|
|
240
|
+
"outputKey": "price"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"inputKey": "input",
|
|
244
|
+
"outputKey": "category",
|
|
245
|
+
"transforms": [
|
|
246
|
+
{
|
|
247
|
+
"expression": {
|
|
248
|
+
"lang": "lua",
|
|
249
|
+
"body": "return { input.properties.category }"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"inputKey": "properties.brand",
|
|
256
|
+
"outputKey": "brand"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"inputKey": "properties.sku",
|
|
260
|
+
"outputKey": "parent_sku"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"inputKey": "properties.variant",
|
|
264
|
+
"outputKey": "variant"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"inputKey": "properties.quantity",
|
|
268
|
+
"outputKey": "quantity"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"inputKey": "properties.coupon",
|
|
272
|
+
"outputKey": "coupon"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"inputKey": "properties.currency",
|
|
276
|
+
"outputKey": "currency"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"inputKey": "properties.position",
|
|
280
|
+
"outputKey": "position"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"inputKey": "properties.value",
|
|
284
|
+
"outputKey": "value"
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"product_added": {
|
|
289
|
+
"enrichments": [
|
|
290
|
+
{
|
|
291
|
+
"staticString": "add_to_cart",
|
|
292
|
+
"outputKey": "event"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"mappings": [
|
|
296
|
+
{
|
|
297
|
+
"inputKey": "properties.cart_id",
|
|
298
|
+
"outputKey": "cart_id"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"inputKey": "input",
|
|
302
|
+
"outputKey": "product_id",
|
|
303
|
+
"transforms": [
|
|
304
|
+
{
|
|
305
|
+
"expression": {
|
|
306
|
+
"lang": "lua",
|
|
307
|
+
"body": "if input.properties.product_id then\n return input.properties.product_id\nend\nreturn input.properties.sku"
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"inputKey": "properties.name",
|
|
314
|
+
"outputKey": "title"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"inputKey": "properties.url",
|
|
318
|
+
"outputKey": "web_link"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"inputKey": "properties.image_url",
|
|
322
|
+
"outputKey": "image"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"inputKey": "properties.price",
|
|
326
|
+
"outputKey": "price"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"inputKey": "input",
|
|
330
|
+
"outputKey": "category",
|
|
331
|
+
"transforms": [
|
|
332
|
+
{
|
|
333
|
+
"expression": {
|
|
334
|
+
"lang": "lua",
|
|
335
|
+
"body": "return { input.properties.category }"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"inputKey": "properties.brand",
|
|
342
|
+
"outputKey": "brand"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"inputKey": "properties.sku",
|
|
346
|
+
"outputKey": "parent_sku"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"inputKey": "properties.variant",
|
|
350
|
+
"outputKey": "variant"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"inputKey": "properties.quantity",
|
|
354
|
+
"outputKey": "quantity"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"inputKey": "properties.coupon",
|
|
358
|
+
"outputKey": "coupon"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"inputKey": "properties.position",
|
|
362
|
+
"outputKey": "position"
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
"product_removed": {
|
|
367
|
+
"enrichments": [
|
|
368
|
+
{
|
|
369
|
+
"staticString": "remove_from_cart",
|
|
370
|
+
"outputKey": "event"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"mappings": [
|
|
374
|
+
{
|
|
375
|
+
"inputKey": "properties.cart_id",
|
|
376
|
+
"outputKey": "cart_id"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"inputKey": "input",
|
|
380
|
+
"outputKey": "product_id",
|
|
381
|
+
"transforms": [
|
|
382
|
+
{
|
|
383
|
+
"expression": {
|
|
384
|
+
"lang": "lua",
|
|
385
|
+
"body": "if input.properties.product_id then\n return input.properties.product_id\nend\nreturn input.properties.sku"
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"inputKey": "properties.name",
|
|
392
|
+
"outputKey": "title"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"inputKey": "properties.url",
|
|
396
|
+
"outputKey": "web_link"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"inputKey": "properties.image_url",
|
|
400
|
+
"outputKey": "image"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"inputKey": "properties.price",
|
|
404
|
+
"outputKey": "price"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"inputKey": "input",
|
|
408
|
+
"outputKey": "category",
|
|
409
|
+
"transforms": [
|
|
410
|
+
{
|
|
411
|
+
"expression": {
|
|
412
|
+
"lang": "lua",
|
|
413
|
+
"body": "return { input.properties.category }"
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
]
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"inputKey": "properties.brand",
|
|
420
|
+
"outputKey": "brand"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"inputKey": "properties.sku",
|
|
424
|
+
"outputKey": "parent_sku"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"inputKey": "properties.variant",
|
|
428
|
+
"outputKey": "variant"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"inputKey": "properties.quantity",
|
|
432
|
+
"outputKey": "quantity"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"inputKey": "properties.coupon",
|
|
436
|
+
"outputKey": "coupon"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"inputKey": "properties.position",
|
|
440
|
+
"outputKey": "position"
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
"checkout_started": {
|
|
445
|
+
"enrichments": [
|
|
446
|
+
{
|
|
447
|
+
"staticString": "checkout",
|
|
448
|
+
"outputKey": "event"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"mappings": [
|
|
452
|
+
{
|
|
453
|
+
"inputKey": "properties.value",
|
|
454
|
+
"outputKey": "total"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"inputKey": "input",
|
|
458
|
+
"outputKey": "products",
|
|
459
|
+
"transforms": [
|
|
460
|
+
{
|
|
461
|
+
"expression": {
|
|
462
|
+
"lang": "lua",
|
|
463
|
+
"body": "local function get_content(p)\nlocal p_product_id = p.product_id\nif p.product_id == nil then\n p_product_id = p.sku\nend\nreturn {\n product_id = p_product_id,\n name = p.name,\n web_link = p.url,\n image = p.image_url,\n price = p.price,\n category = { p.category },\n brand = p.brand,\n parent_sku = p.sku,\n sku = p.sku,\n variant = p.variant,\n quantity = p.quantity,\n coupon = p.coupon,\n position = p.position\n}\nend\nlocal prods = input.properties.products or {input.properties}\nreturn MAP(prods, get_content)"
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
]
|
|
467
|
+
}
|
|
468
|
+
]
|
|
469
|
+
},
|
|
470
|
+
"order_completed": {
|
|
471
|
+
"enrichments": [
|
|
472
|
+
{
|
|
473
|
+
"staticString": "purchase",
|
|
474
|
+
"outputKey": "event"
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"expressions": [
|
|
478
|
+
{
|
|
479
|
+
"lang": "lua",
|
|
480
|
+
"body": "return input.properties"
|
|
481
|
+
}
|
|
482
|
+
]
|
|
483
|
+
},
|
|
484
|
+
"products_searched": {
|
|
485
|
+
"enrichments": [
|
|
486
|
+
{
|
|
487
|
+
"staticString": "search",
|
|
488
|
+
"outputKey": "event"
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"mappings": [
|
|
492
|
+
{
|
|
493
|
+
"inputKey": "properties.query",
|
|
494
|
+
"outputKey": "keywords"
|
|
495
|
+
}
|
|
496
|
+
]
|
|
497
|
+
}
|
|
498
|
+
}
|
|
3
499
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"a99537b00a591a3a99460c6de1bdfd08"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"a3cf3fffc25eb8a3f096413fd14c00f4"
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
{
|
|
29
29
|
"date": "2024-08-22T00:00:00.000Z",
|
|
30
30
|
"note": "Version 1.1.0\ntimestamp field is used as the event time"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"date": "2024-10-23T00:00:00.000Z",
|
|
34
|
+
"note": "Version: 1.2.0\nAdded header `Accept-Encoding: application/json`"
|
|
31
35
|
}
|
|
32
36
|
]
|
|
33
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"c02fc7982169ae2461fdaed6d6b32f11"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"89147c2d0b679864f0d08c9db11de8ce"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"6f43ee847118ef5e0ebccff385393144"
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
{
|
|
33
33
|
"date": "2024-08-22T00:00:00.000Z",
|
|
34
34
|
"note": "Version 1.1.0\ntimestamp field is used as the event time"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"date": "2024-10-23T00:00:00.000Z",
|
|
38
|
+
"note": "Version: 1.2.0\nAdded header `Accept-Encoding: application/json`"
|
|
35
39
|
}
|
|
36
40
|
]
|
|
37
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"fd1bd3211688b8a8930ee3c2da1719b0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"eb5d387a3cb4434037961bda88546a19"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"8128321330d2ffe6b5feb0440a52d27d"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"463bb879e313087fb076c749fe7637f5"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"f91e4e9bfff2c0a109fd5b0f5359d382"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"ae11681d7fd36b3fcdc45310e8f81c76"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"49767f7fabc7c6c4dd76fa9e59d03c9f"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"f5d682f11429970488a480da28280e61"
|