@koda-sl/baker-cli 0.237.0 → 0.238.0-dev.7fb8e0c69
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/cli.js
CHANGED
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
ulid,
|
|
59
59
|
validateCanvasDeep,
|
|
60
60
|
ytDlpBlockSignal
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-CMPAHYLB.js";
|
|
62
62
|
import {
|
|
63
63
|
csvOrJson,
|
|
64
64
|
daysAgoIso,
|
|
@@ -4461,6 +4461,24 @@ var FLOW_SIDE_EFFECT_CATALOG = [
|
|
|
4461
4461
|
gotcha: "`eventTagId` comes from X Events Manager and is passed verbatim. `eventName` is an optional label only.",
|
|
4462
4462
|
reference: TAGS_REF
|
|
4463
4463
|
},
|
|
4464
|
+
{
|
|
4465
|
+
kind: "side-effect",
|
|
4466
|
+
type: "microsoftAds",
|
|
4467
|
+
summary: "Fires a Microsoft Ads (UET) conversion event.",
|
|
4468
|
+
skeleton: {
|
|
4469
|
+
...SIDE_EFFECT_ENVELOPE,
|
|
4470
|
+
type: "microsoftAds",
|
|
4471
|
+
tagIds: TAG_REF_SLOT,
|
|
4472
|
+
eventName: "<UET event action, e.g. lead_submitted>",
|
|
4473
|
+
userMatching: matchingSlots("em", "ph"),
|
|
4474
|
+
value: null,
|
|
4475
|
+
currency: null,
|
|
4476
|
+
transactionId: null
|
|
4477
|
+
},
|
|
4478
|
+
owners: { tagIds: "tags" },
|
|
4479
|
+
gotcha: "`eventName` is the UET *event action*, and it only counts as a conversion once someone creates a matching custom-event conversion goal in Microsoft Advertising \u2014 the tag alone records nothing. `page_view` is refused outright (UET reserves it for SPA navigation), so pick any other action. `eventCategory` and `eventLabel` are optional plain strings (not mapped slots) \u2014 add them only when the goal filters on them. `userMatching` needs Enhanced conversions turned on for that goal, and `ph` must carry a country code (`+34\u2026`/`0034\u2026`) \u2014 map it from a phone field with the country picker, not a plain text field, or it is dropped rather than guessed at.",
|
|
4480
|
+
reference: TAGS_REF
|
|
4481
|
+
},
|
|
4464
4482
|
eventSideEffect("posthog", "Captures a PostHog event.", { eventParams: [] }),
|
|
4465
4483
|
{
|
|
4466
4484
|
kind: "side-effect",
|
|
@@ -5902,7 +5920,8 @@ var TAG_TYPES = [
|
|
|
5902
5920
|
"posthog",
|
|
5903
5921
|
"datafast",
|
|
5904
5922
|
"recaptcha",
|
|
5905
|
-
"twitterAds"
|
|
5923
|
+
"twitterAds",
|
|
5924
|
+
"microsoftAds"
|
|
5906
5925
|
];
|
|
5907
5926
|
var tagTypeSchema = z19.enum(TAG_TYPES);
|
|
5908
5927
|
var TAG_IDENTIFYING_FIELD = {
|
|
@@ -5923,7 +5942,8 @@ var TAG_IDENTIFYING_FIELD = {
|
|
|
5923
5942
|
posthog: "projectToken",
|
|
5924
5943
|
datafast: "websiteId",
|
|
5925
5944
|
recaptcha: "siteKey",
|
|
5926
|
-
twitterAds: "pixelId"
|
|
5945
|
+
twitterAds: "pixelId",
|
|
5946
|
+
microsoftAds: "tagId"
|
|
5927
5947
|
};
|
|
5928
5948
|
var tagDraftOpKindSchema = z19.enum(["create", "update", "delete"]);
|
|
5929
5949
|
var tagDraftOpViewSchema = z19.object({
|
|
@@ -33820,6 +33840,10 @@ var MAPPING_SLOTS = {
|
|
|
33820
33840
|
twitterAds: [
|
|
33821
33841
|
{ kind: "record", key: "userMatching", allowed: ["em", "ph"] },
|
|
33822
33842
|
{ kind: "scalar", keys: ["value", "currency"] }
|
|
33843
|
+
],
|
|
33844
|
+
microsoftAds: [
|
|
33845
|
+
{ kind: "record", key: "userMatching", allowed: ["em", "ph"] },
|
|
33846
|
+
{ kind: "scalar", keys: ["value", "currency", "transactionId"] }
|
|
33823
33847
|
]
|
|
33824
33848
|
};
|
|
33825
33849
|
var UNMAPPABLE = {
|