@metarouter/ajs-starter-kit 1.0.52 → 1.0.54

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 (154) hide show
  1. package/.dist/actioniq/kit.etag.json +1 -1
  2. package/.dist/acuity-ads/kit.etag.json +1 -1
  3. package/.dist/acuity-ads/metadata.json +1 -1
  4. package/.dist/adobe/kit.etag.json +1 -1
  5. package/.dist/adobe/metadata.json +1 -1
  6. package/.dist/adobe-analytics/connection.etag.json +1 -0
  7. package/.dist/adobe-analytics/connection.json +42 -0
  8. package/.dist/adobe-analytics/kit.etag.json +1 -0
  9. package/.dist/adobe-analytics/metadata.json +20 -0
  10. package/.dist/adobe-analytics/playbook.etag.json +1 -0
  11. package/.dist/adobe-analytics/playbook.json +71 -0
  12. package/.dist/adobe-id/connection.etag.json +1 -0
  13. package/.dist/adobe-id/connection.json +24 -0
  14. package/.dist/adobe-id/kit.etag.json +1 -0
  15. package/.dist/adobe-id/metadata.json +20 -0
  16. package/.dist/adobe-id/playbook.etag.json +1 -0
  17. package/.dist/adobe-id/playbook.json +74 -0
  18. package/.dist/amazon-redshift-v2/kit.etag.json +1 -1
  19. package/.dist/amazon-redshift-v2/metadata.json +1 -1
  20. package/.dist/amnet/kit.etag.json +1 -1
  21. package/.dist/amnet/metadata.json +1 -1
  22. package/.dist/amobee/kit.etag.json +1 -1
  23. package/.dist/amplitude/kit.etag.json +1 -1
  24. package/.dist/amplitude/metadata.json +1 -1
  25. package/.dist/apps-flyer-android/kit.etag.json +1 -1
  26. package/.dist/apps-flyer-android/metadata.json +1 -1
  27. package/.dist/apps-flyer-ios/kit.etag.json +1 -1
  28. package/.dist/apps-flyer-ios/metadata.json +1 -1
  29. package/.dist/bing-ads/kit.etag.json +1 -1
  30. package/.dist/bing-ads/playbook.etag.json +1 -1
  31. package/.dist/bing-ads/playbook.json +2 -2
  32. package/.dist/blob/kit.etag.json +1 -1
  33. package/.dist/bloomreach/kit.etag.json +1 -1
  34. package/.dist/bloomreach/metadata.json +1 -1
  35. package/.dist/blueshift/kit.etag.json +1 -1
  36. package/.dist/blueshift/metadata.json +1 -1
  37. package/.dist/braze/kit.etag.json +1 -1
  38. package/.dist/criteo/kit.etag.json +1 -1
  39. package/.dist/criteo/metadata.json +1 -1
  40. package/.dist/customer-io/kit.etag.json +1 -1
  41. package/.dist/customer-io/metadata.json +1 -1
  42. package/.dist/facebook-pixel/kit.etag.json +1 -1
  43. package/.dist/gcs/kit.etag.json +1 -1
  44. package/.dist/google-ad-words/kit.etag.json +1 -1
  45. package/.dist/google-analytics/kit.etag.json +1 -1
  46. package/.dist/google-analytics/playbook.etag.json +1 -1
  47. package/.dist/google-analytics/playbook.json +1 -1
  48. package/.dist/google-analytics-4/kit.etag.json +1 -1
  49. package/.dist/google-analytics-4/playbook.etag.json +1 -1
  50. package/.dist/google-analytics-4/playbook.json +2 -2
  51. package/.dist/google-bigquery-streaming/kit.etag.json +1 -1
  52. package/.dist/google-bigquery-streaming/metadata.json +1 -1
  53. package/.dist/google-cm360/kit.etag.json +1 -1
  54. package/.dist/google-cm360/metadata.json +1 -1
  55. package/.dist/google-double-click/kit.etag.json +1 -1
  56. package/.dist/google-double-click/metadata.json +1 -1
  57. package/.dist/google-pubsub/kit.etag.json +1 -1
  58. package/.dist/google-pubsub/metadata.json +1 -1
  59. package/.dist/hubspot-event/connection.etag.json +1 -0
  60. package/.dist/hubspot-event/connection.json +22 -0
  61. package/.dist/hubspot-event/kit.etag.json +1 -0
  62. package/.dist/hubspot-event/metadata.json +20 -0
  63. package/.dist/hubspot-event/playbook.etag.json +1 -0
  64. package/.dist/hubspot-event/playbook.json +63 -0
  65. package/.dist/impact-radius/kit.etag.json +1 -1
  66. package/.dist/impact-radius/metadata.json +1 -1
  67. package/.dist/in-market/kit.etag.json +1 -1
  68. package/.dist/in-market/metadata.json +1 -1
  69. package/.dist/in-market/playbook.etag.json +1 -1
  70. package/.dist/in-market/playbook.json +1 -1
  71. package/.dist/kafka/kit.etag.json +1 -1
  72. package/.dist/kafka/metadata.json +1 -1
  73. package/.dist/kinesis/kit.etag.json +1 -1
  74. package/.dist/kinesis/metadata.json +1 -1
  75. package/.dist/lytics/kit.etag.json +1 -1
  76. package/.dist/lytics/metadata.json +1 -1
  77. package/.dist/media-math/kit.etag.json +1 -1
  78. package/.dist/merkle/kit.etag.json +1 -1
  79. package/.dist/miq-xandr/connection.etag.json +1 -0
  80. package/.dist/miq-xandr/connection.json +12 -0
  81. package/.dist/miq-xandr/kit.etag.json +1 -0
  82. package/.dist/miq-xandr/metadata.json +20 -0
  83. package/.dist/miq-xandr/playbook.etag.json +1 -0
  84. package/.dist/miq-xandr/playbook.json +79 -0
  85. package/.dist/mixpanel/kit.etag.json +1 -1
  86. package/.dist/movable-ink/kit.etag.json +1 -1
  87. package/.dist/nextdoor/connection.etag.json +1 -0
  88. package/.dist/nextdoor/connection.json +31 -0
  89. package/.dist/nextdoor/kit.etag.json +1 -0
  90. package/.dist/nextdoor/metadata.json +20 -0
  91. package/.dist/nextdoor/playbook.etag.json +1 -0
  92. package/.dist/nextdoor/playbook.json +111 -0
  93. package/.dist/pinterest/kit.etag.json +1 -1
  94. package/.dist/pinterest/playbook.etag.json +1 -1
  95. package/.dist/pinterest/playbook.json +4 -4
  96. package/.dist/pinterest-capi/connection.etag.json +1 -0
  97. package/.dist/pinterest-capi/connection.json +35 -0
  98. package/.dist/pinterest-capi/kit.etag.json +1 -0
  99. package/.dist/pinterest-capi/metadata.json +20 -0
  100. package/.dist/pinterest-capi/playbook.etag.json +1 -0
  101. package/.dist/pinterest-capi/playbook.json +288 -0
  102. package/.dist/podsights/connection.etag.json +1 -0
  103. package/.dist/podsights/connection.json +6 -0
  104. package/.dist/podsights/kit.etag.json +1 -0
  105. package/.dist/podsights/metadata.json +20 -0
  106. package/.dist/podsights/playbook.etag.json +1 -0
  107. package/.dist/podsights/playbook.json +132 -0
  108. package/.dist/rev-jet/kit.etag.json +1 -1
  109. package/.dist/rev-jet/metadata.json +1 -1
  110. package/.dist/roomvo/kit.etag.json +1 -1
  111. package/.dist/s3/kit.etag.json +1 -1
  112. package/.dist/s3/metadata.json +1 -1
  113. package/.dist/salesforce-cdp/kit.etag.json +1 -1
  114. package/.dist/snapchat/kit.etag.json +1 -1
  115. package/.dist/snapchat/playbook.etag.json +1 -1
  116. package/.dist/snapchat/playbook.json +2 -2
  117. package/.dist/snowflake/kit.etag.json +1 -1
  118. package/.dist/thetradedesk-conversion-events/kit.etag.json +1 -1
  119. package/.dist/thetradedesk-conversion-events/metadata.json +1 -1
  120. package/.dist/thetradedesk-conversion-events/playbook.etag.json +1 -1
  121. package/.dist/thetradedesk-conversion-events/playbook.json +5 -5
  122. package/.dist/thetradedesk-data-advertiser-firstparty/connection.etag.json +1 -1
  123. package/.dist/thetradedesk-data-advertiser-firstparty/connection.json +1 -1
  124. package/.dist/thetradedesk-data-advertiser-firstparty/kit.etag.json +1 -1
  125. package/.dist/thetradedesk-data-advertiser-firstparty/metadata.json +1 -1
  126. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.etag.json +1 -1
  127. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.json +1 -1
  128. package/.dist/tiktok/connection.etag.json +1 -0
  129. package/.dist/tiktok/connection.json +35 -0
  130. package/.dist/tiktok/kit.etag.json +1 -0
  131. package/.dist/tiktok/metadata.json +20 -0
  132. package/.dist/tiktok/playbook.etag.json +1 -0
  133. package/.dist/tiktok/playbook.json +346 -0
  134. package/.dist/twitter-conversions/kit.etag.json +1 -1
  135. package/.dist/twitter-conversions/playbook.etag.json +1 -1
  136. package/.dist/twitter-conversions/playbook.json +3 -3
  137. package/.dist/verizon-media/kit.etag.json +1 -1
  138. package/.dist/videoamp/kit.etag.json +1 -1
  139. package/.dist/videoamp/metadata.json +1 -1
  140. package/.dist/xandr/kit.etag.json +1 -1
  141. package/.dist/yahoo-enhanced-attribution/connection.etag.json +1 -0
  142. package/.dist/yahoo-enhanced-attribution/connection.json +77 -0
  143. package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -0
  144. package/.dist/yahoo-enhanced-attribution/metadata.json +20 -0
  145. package/.dist/yahoo-enhanced-attribution/playbook.etag.json +1 -0
  146. package/.dist/yahoo-enhanced-attribution/playbook.json +96 -0
  147. package/.dist/yahoo-offline-conversion/connection.etag.json +1 -0
  148. package/.dist/yahoo-offline-conversion/connection.json +76 -0
  149. package/.dist/yahoo-offline-conversion/kit.etag.json +1 -0
  150. package/.dist/yahoo-offline-conversion/metadata.json +20 -0
  151. package/.dist/yahoo-offline-conversion/playbook.etag.json +1 -0
  152. package/.dist/yahoo-offline-conversion/playbook.json +267 -0
  153. package/index.js +12 -0
  154. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1,20 @@
1
+ {
2
+ "isDraft": false,
3
+ "isBeta": true,
4
+ "friendlyName": "HubSpot",
5
+ "description": "Seamlessly connect your data, teams, and customers on one CRM platform that grows with your business.",
6
+ "logo": "https://cdn.metarouter.io/logo.svg",
7
+ "color": "#FF5C35",
8
+ "eventSource": {
9
+ "isAndroidApp": false,
10
+ "isIosApp": false,
11
+ "isWebApp": true
12
+ },
13
+ "inputSchema": "analytics_js",
14
+ "releaseNotes": [
15
+ {
16
+ "date": "2023-02-20T00:00:00.000Z",
17
+ "note": "HubSpot initial release."
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1 @@
1
+ "debb801340318f5c4584dc2e66ac4b8e"
@@ -0,0 +1,63 @@
1
+ {
2
+ "version": "v0.0.1",
3
+ "default": {
4
+ "filters": [
5
+ {
6
+ "byEventNames": {
7
+ "action": "allow",
8
+ "events": [
9
+ ""
10
+ ]
11
+ }
12
+ }
13
+ ]
14
+ },
15
+ "global": {
16
+ "mappings": [
17
+ {
18
+ "inputKey": "messageId",
19
+ "outputKey": "objectId"
20
+ },
21
+ {
22
+ "inputKey": "receivedAt",
23
+ "outputKey": "occurredAt"
24
+ },
25
+ {
26
+ "inputKey": "context.providers.hubSpotTag.hubspotutk",
27
+ "outputKey": "utk"
28
+ },
29
+ {
30
+ "inputKey": "input",
31
+ "outputKey": "email",
32
+ "transforms": [
33
+ {
34
+ "expression": {
35
+ "lang": "lua",
36
+ "body": "if (input.context.traits.email) then return LOWER(TRIM(input.context.traits.email)) end"
37
+ }
38
+ }
39
+ ]
40
+ }
41
+ ]
42
+ },
43
+ "eventSpecific": {
44
+ "page": {
45
+ "enrichments": [
46
+ {
47
+ "outputKey": "eventName",
48
+ "staticString": "page_view_internal_name"
49
+ },
50
+ {
51
+ "outputKey": "properties.hs_page_content_type",
52
+ "staticString": "STANDARD_PAGE"
53
+ }
54
+ ],
55
+ "mappings": [
56
+ {
57
+ "inputKey": "properties.title",
58
+ "outputKey": "properties.hs_page_title"
59
+ }
60
+ ]
61
+ }
62
+ }
63
+ }
@@ -1 +1 @@
1
- "10fd5351868439641ba33658655695a6"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -2,7 +2,7 @@
2
2
  "isDraft": false,
3
3
  "isBeta": false,
4
4
  "friendlyName": "Impact Radius",
5
- "description": "A tool for keeping track of your partner outreach and responses, measuring performance of your affiliate partners, and reporting on your partnership strategy's success.",
5
+ "description": "A tool for keeping track of your partner outreach and responses, measuring performance of your affiliate partners,\nand reporting on your partnership strategy's success.",
6
6
  "logo": "https://cdn.metarouter.io/logo.svg",
7
7
  "color": "#DF2E4D",
8
8
  "eventSource": {
@@ -1 +1 @@
1
- "95c9aa40d352fe994cca0a7fac5fc583"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -2,7 +2,7 @@
2
2
  "isDraft": false,
3
3
  "isBeta": true,
4
4
  "friendlyName": "InMarket",
5
- "description": "At InMarket, being best-in-class means providing our customers with access to the most accurate and precise, permission-based, SDK-derived location data available today.",
5
+ "description": "At InMarket, being best-in-class means providing our customers with access to the most accurate and precise,\npermission-based, SDK-derived location data available today.",
6
6
  "logo": "https://cdn.metarouter.io/logo.svg",
7
7
  "color": "#7DC042",
8
8
  "eventSource": {
@@ -1 +1 @@
1
- "ff6fc7c36b7ee44e8a759a3a6f088b28"
1
+ "d568748282c4c9498dd0cad20234db61"
@@ -35,7 +35,7 @@
35
35
  {
36
36
  "expression": {
37
37
  "lang": "lua",
38
- "body": "if input.properties.experienceType == 'consumer app' then\n\treturn 'mWeb'\nelse\n\treturn 'online'\nend"
38
+ "body": "if input.properties.experienceType == 'consumer app' then\n return 'mWeb'\nelse\n return 'online'\nend"
39
39
  }
40
40
  }
41
41
  ]
@@ -1 +1 @@
1
- "db5605b2639fd6578ea4c1eacbc3079c"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -2,7 +2,7 @@
2
2
  "isDraft": true,
3
3
  "isBeta": false,
4
4
  "friendlyName": "Kafka",
5
- "description": "Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.",
5
+ "description": "Apache Kafka is an open-source distributed event streaming platform used by thousands of companies\nfor high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.",
6
6
  "logo": "https://cdn.metarouter.io/logo.svg",
7
7
  "color": "#5CA2A2",
8
8
  "eventSource": {
@@ -1 +1 @@
1
- "1381acfdc3c83a68259a2ed85d4ebcd5"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -2,7 +2,7 @@
2
2
  "isDraft": true,
3
3
  "isBeta": false,
4
4
  "friendlyName": "Kinesis",
5
- "description": "Amazon Kinesis enables you to process and analyze data as it arrives and respond instantly instead of having to wait until all your data is collected before the processing can begin.",
5
+ "description": "Amazon Kinesis enables you to process and analyze data as it arrives and respond instantly\ninstead of having to wait until all your data is collected before the processing can begin.",
6
6
  "logo": "https://cdn.metarouter.io/logo.svg",
7
7
  "color": "#f58532",
8
8
  "eventSource": {
@@ -1 +1 @@
1
- "6af7856247622bf16e818210365e0abf"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -2,7 +2,7 @@
2
2
  "isDraft": false,
3
3
  "isBeta": false,
4
4
  "friendlyName": "Lytics",
5
- "description": "Lytics customer data platform accelerates your digital transformation by creating personalized website experiences, recommending relevant products and content, and optimizing ad spend in real time.",
5
+ "description": "Lytics customer data platform accelerates your digital transformation by creating personalized website experiences,\nrecommending relevant products and content, and optimizing ad spend in real time.",
6
6
  "logo": "https://cdn.metarouter.io/logo.svg",
7
7
  "color": "#794CFF",
8
8
  "eventSource": {
@@ -1 +1 @@
1
- "9bfd4da26c3cf35f3a0d1b8aaab801ff"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -1 +1 @@
1
- "5cfd3817b91f7715f8290576b7045369"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1 @@
1
+ "8245082fd9e11916f4419857aa9751d8"
@@ -0,0 +1,12 @@
1
+ {
2
+ "default": {
3
+ "endpoint": "https://secure.adnxs.com/px",
4
+ "headers": [
5
+ {
6
+ "fromEventKey": "context.providers.xandr.uid2",
7
+ "key": "Cookie"
8
+ }
9
+ ],
10
+ "method": "GET"
11
+ }
12
+ }
@@ -0,0 +1 @@
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1,20 @@
1
+ {
2
+ "isDraft": false,
3
+ "isBeta": true,
4
+ "friendlyName": "MIQ (Xandr)",
5
+ "description": "Deliver ad campaigns that redefine marketing success.",
6
+ "logo": "https://cdn.metarouter.io/logo.svg",
7
+ "color": "#FF3E00",
8
+ "eventSource": {
9
+ "isAndroidApp": true,
10
+ "isIosApp": true,
11
+ "isWebApp": true
12
+ },
13
+ "inputSchema": "analytics_js",
14
+ "releaseNotes": [
15
+ {
16
+ "date": "2023-03-07T00:00:00.000Z",
17
+ "note": "MIQ (Xandr) initial release."
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1 @@
1
+ "ab8e4ee1fa8bb7179980fc25aa7ba052"
@@ -0,0 +1,79 @@
1
+ {
2
+ "version": "v0.0.1",
3
+ "params": [
4
+ {
5
+ "name": "PAGE_CONVERSION_ID",
6
+ "defaultValue": "page-conversion-id"
7
+ },
8
+ {
9
+ "name": "PAGE_SEGMENT_ID",
10
+ "defaultValue": "page-segment-id"
11
+ },
12
+ {
13
+ "name": "PRODUCT_ADDED_CONVERSION_ID",
14
+ "defaultValue": "product-added-conversion-id"
15
+ },
16
+ {
17
+ "name": "PRODUCT_ADDED_SEGMENT_ID",
18
+ "defaultValue": "product-added-segment-id"
19
+ },
20
+ {
21
+ "name": "ORDER_COMPLETED_CONVERSION_ID",
22
+ "defaultValue": "order-completed-conversion-id"
23
+ },
24
+ {
25
+ "name": "ORDER_COMPLETED_SEGMENT_ID",
26
+ "defaultValue": "order-completed-segment-id"
27
+ }
28
+ ],
29
+ "default": {
30
+ "filters": [
31
+ {
32
+ "byEventNames": {
33
+ "action": "allow",
34
+ "events": [
35
+ ""
36
+ ]
37
+ }
38
+ }
39
+ ]
40
+ },
41
+ "eventSpecific": {
42
+ "page": {
43
+ "enrichments": [
44
+ {
45
+ "outputKey": "id",
46
+ "staticString": "$$PAGE_CONVERSION_ID$$"
47
+ },
48
+ {
49
+ "outputKey": "seg",
50
+ "staticString": "$$PAGE_SEGMENT_ID$$"
51
+ }
52
+ ]
53
+ },
54
+ "product_added": {
55
+ "enrichments": [
56
+ {
57
+ "outputKey": "id",
58
+ "staticString": "$$PRODUCT_ADDED_CONVERSION_ID$$"
59
+ },
60
+ {
61
+ "outputKey": "seg",
62
+ "staticString": "$$PRODUCT_ADDED_SEGMENT_ID$$"
63
+ }
64
+ ]
65
+ },
66
+ "order_completed": {
67
+ "enrichments": [
68
+ {
69
+ "outputKey": "id",
70
+ "staticString": "$$ORDER_COMPLETED_CONVERSION_ID$$"
71
+ },
72
+ {
73
+ "outputKey": "seg",
74
+ "staticString": "$$ORDER_COMPLETED_SEGMENT_ID$$"
75
+ }
76
+ ]
77
+ }
78
+ }
79
+ }
@@ -1 +1 @@
1
- "d1c06868ec71b080e87f0e6ec448564c"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -1 +1 @@
1
- "796f684bd5820af2a1258ad1f4515578"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1 @@
1
+ "8453a7604fd59632c28fc2d86abe7b73"
@@ -0,0 +1,31 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "ACCESS_TOKEN",
5
+ "exampleValue": "access-token"
6
+ }
7
+ ],
8
+ "default": {
9
+ "batchSize": 1,
10
+ "endpoint": "https://ads.nextdoor.com/graphql/api/v1",
11
+ "headers": [
12
+ {
13
+ "key": "Content-Type",
14
+ "value": "application/json"
15
+ },
16
+ {
17
+ "key": "Accept-Encoding",
18
+ "value": "application/json"
19
+ },
20
+ {
21
+ "key": "Authorization",
22
+ "value": "Bearer $$ACCESS_TOKEN$$"
23
+ }
24
+ ],
25
+ "method": "POST",
26
+ "transform": {
27
+ "body": "request.body = {\n query = \"mutation CreateConversion($conversionEvents: ConversionEventInput!) {\\n createConversion(conversionEvents: $conversionEvents) {\\n success\\n reason\\n }\\n}\",\n variables = {\n conversionEvents = { events = batch }\n }\n}\nreturn request",
28
+ "lang": "lua"
29
+ }
30
+ }
31
+ }
@@ -0,0 +1 @@
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1,20 @@
1
+ {
2
+ "isDraft": false,
3
+ "isBeta": true,
4
+ "friendlyName": "Nextdoor",
5
+ "description": "Turn neighbors into customers with Nextdoor Ads built for small businesses with big goals.",
6
+ "logo": "https://cdn.metarouter.io/logo.svg",
7
+ "color": "#B9EC51",
8
+ "eventSource": {
9
+ "isAndroidApp": true,
10
+ "isIosApp": true,
11
+ "isWebApp": true
12
+ },
13
+ "inputSchema": "analytics_js",
14
+ "releaseNotes": [
15
+ {
16
+ "date": "2023-03-07T00:00:00.000Z",
17
+ "note": "Nextdoor initial release."
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1 @@
1
+ "d3dec54a84a38ee734d0f6d69c721523"
@@ -0,0 +1,111 @@
1
+ {
2
+ "version": "v0.0.1",
3
+ "params": [
4
+ {
5
+ "name": "PIXEL_ID",
6
+ "defaultValue": "pixel-id"
7
+ }
8
+ ],
9
+ "default": {
10
+ "filters": [
11
+ {
12
+ "byEventNames": {
13
+ "action": "allow",
14
+ "events": [
15
+ ""
16
+ ]
17
+ }
18
+ }
19
+ ]
20
+ },
21
+ "global": {
22
+ "enrichments": [
23
+ {
24
+ "outputKey": "pixelId",
25
+ "staticString": "$$PIXEL_ID$$"
26
+ },
27
+ {
28
+ "outputKey": "eventTime",
29
+ "timestamp": "milliseconds"
30
+ }
31
+ ],
32
+ "filters": [
33
+ {
34
+ "byConditions": {
35
+ "action": "deny",
36
+ "when": {
37
+ "stringNotEqual": {
38
+ "inputPath": "context.providers.nextdoor.ndclid"
39
+ }
40
+ }
41
+ }
42
+ }
43
+ ],
44
+ "mappings": [
45
+ {
46
+ "inputKey": "context.providers.nextdoor.ndclid",
47
+ "outputKey": "eventId"
48
+ },
49
+ {
50
+ "defaultString": "",
51
+ "inputKey": "context.page.referrer",
52
+ "outputKey": "referer"
53
+ },
54
+ {
55
+ "defaultString": "",
56
+ "inputKey": "context.page.url",
57
+ "outputKey": "eventSource"
58
+ }
59
+ ]
60
+ },
61
+ "eventSpecific": {
62
+ "cart_viewed": {
63
+ "enrichments": [
64
+ {
65
+ "outputKey": "eventName",
66
+ "staticString": "START_CHECKOUT"
67
+ }
68
+ ]
69
+ },
70
+ "order_completed": {
71
+ "enrichments": [
72
+ {
73
+ "outputKey": "eventName",
74
+ "staticString": "PURCHASE"
75
+ }
76
+ ]
77
+ },
78
+ "page": {
79
+ "enrichments": [
80
+ {
81
+ "outputKey": "eventName",
82
+ "staticString": "PAGE_VIEW"
83
+ }
84
+ ]
85
+ },
86
+ "product_added": {
87
+ "enrichments": [
88
+ {
89
+ "outputKey": "eventName",
90
+ "staticString": "ADD_TO_CART"
91
+ }
92
+ ]
93
+ },
94
+ "product_viewed": {
95
+ "enrichments": [
96
+ {
97
+ "outputKey": "eventName",
98
+ "staticString": "VIEW_CONTENT"
99
+ }
100
+ ]
101
+ },
102
+ "signed_up": {
103
+ "enrichments": [
104
+ {
105
+ "outputKey": "eventName",
106
+ "staticString": "SIGN_UP"
107
+ }
108
+ ]
109
+ }
110
+ }
111
+ }
@@ -1 +1 @@
1
- "cb7349a2061f7d926cdf87a81a0a5d93"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -1 +1 @@
1
- "761136838a00aa839d42bd751755af13"
1
+ "2b7da5f6f2145281f83ec57d273325f0"
@@ -189,7 +189,7 @@
189
189
  {
190
190
  "expression": {
191
191
  "lang": "lua",
192
- "body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
192
+ "body": "return SUM(\n MAP(input.properties.products,\n function (p)\n return p.price * (p.quantity or 1)\n end\n))"
193
193
  }
194
194
  }
195
195
  ]
@@ -210,7 +210,7 @@
210
210
  {
211
211
  "expression": {
212
212
  "lang": "lua",
213
- "body": "return SUM(MAP(input.properties.products, function (p) return p.quantity or 1 end))"
213
+ "body": "return SUM(\n MAP(input.properties.products,\n function (p)\n return p.quantity or 1\n end\n))"
214
214
  }
215
215
  }
216
216
  ]
@@ -242,7 +242,7 @@
242
242
  {
243
243
  "expression": {
244
244
  "lang": "lua",
245
- "body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
245
+ "body": "return SUM(\n MAP(input.properties.products,\n function (p)\n return p.price * (p.quantity or 1)\n end\n))"
246
246
  }
247
247
  }
248
248
  ]
@@ -263,7 +263,7 @@
263
263
  {
264
264
  "expression": {
265
265
  "lang": "lua",
266
- "body": "return SUM(MAP(input.properties.products, function (p) return p.quantity or 1 end))"
266
+ "body": "return SUM(\n MAP(input.properties.products,\n function (p)\n return p.quantity or 1\n end\n))"
267
267
  }
268
268
  }
269
269
  ]
@@ -0,0 +1 @@
1
+ "2b8c9abb2463569630f4bfa8399f20c2"
@@ -0,0 +1,35 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "AD_ACCOUNT_ID",
5
+ "exampleValue": "add-account-id"
6
+ },
7
+ {
8
+ "name": "ACCESS_TOKEN",
9
+ "exampleValue": "access-token"
10
+ }
11
+ ],
12
+ "default": {
13
+ "endpoint": "https://api.pinterest.com/v5/ad_accounts/$$AD_ACCOUNT_ID$$/events?test=true",
14
+ "headers": [
15
+ {
16
+ "key": "Content-Type",
17
+ "value": "application/json"
18
+ },
19
+ {
20
+ "key": "Accept",
21
+ "value": "application/json"
22
+ },
23
+ {
24
+ "key": "Authorization",
25
+ "value": "Bearer $$ACCESS_TOKEN$$"
26
+ }
27
+ ],
28
+ "method": "POST",
29
+ "batchSize": 100,
30
+ "transform": {
31
+ "lang": "lua",
32
+ "body": "request.body = { data = batch }\nreturn request"
33
+ }
34
+ }
35
+ }
@@ -0,0 +1 @@
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1,20 @@
1
+ {
2
+ "isDraft": false,
3
+ "isBeta": false,
4
+ "friendlyName": "Pinterest CAPI",
5
+ "description": "A visual discovery social network where advertisers can reach audiences as they look for new, exciting and inspiring ideas for their projects.",
6
+ "logo": "https://cdn.metarouter.io/logo.svg",
7
+ "color": "#e0394f",
8
+ "eventSource": {
9
+ "isAndroidApp": true,
10
+ "isIosApp": true,
11
+ "isWebApp": true
12
+ },
13
+ "inputSchema": "analytics_js",
14
+ "releaseNotes": [
15
+ {
16
+ "date": "2023-03-07T00:00:00.000Z",
17
+ "note": "Pinterest CAPI initial release."
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1 @@
1
+ "ecce4d5c86fecfc77c801718c5e8fd3c"