@erdoai/cli 0.166.0 → 0.166.1
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/index.js +15 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6074,6 +6074,9 @@ pagesCmd.command("update <id>").description(
|
|
|
6074
6074
|
).option(
|
|
6075
6075
|
"--build-brief <textOr@file>",
|
|
6076
6076
|
"new judge build brief (or @path to a UTF-8 file; omit to keep current, pass an empty string to clear)"
|
|
6077
|
+
).option(
|
|
6078
|
+
"--kind <kind>",
|
|
6079
|
+
"what the page is for after this update: landing_page, lead_followup_page, dashboard or app (omit to keep current). Set it when a rewrite changes the page's job: Meta and LinkedIn ad tags load only on lead landing pages"
|
|
6077
6080
|
).option(
|
|
6078
6081
|
"--required-modules <csv>",
|
|
6079
6082
|
'replacement runtime module list (comma-separated; "[]" clears)'
|
|
@@ -6093,6 +6096,7 @@ pagesCmd.command("update <id>").description(
|
|
|
6093
6096
|
meta_icon_asset_id: opts.metaIconAsset,
|
|
6094
6097
|
meta_image_asset_id: opts.metaImageAsset,
|
|
6095
6098
|
build_brief: readMaybeFile(opts.buildBrief),
|
|
6099
|
+
artifact_kind: opts.kind,
|
|
6096
6100
|
required_modules: grantList(opts.requiredModules),
|
|
6097
6101
|
dataset_slugs: grantList(opts.datasets),
|
|
6098
6102
|
writable_dataset_slugs: grantList(opts.writableDatasets),
|
|
@@ -8476,10 +8480,12 @@ analytics.command("query <hogql>").description("Run a read-only HogQL query agai
|
|
|
8476
8480
|
var TRACKING_KINDS = [
|
|
8477
8481
|
{ kind: "session_analytics", what: "heatmaps, session replay, and the events behind `erdo analytics query`" },
|
|
8478
8482
|
{ kind: "google_analytics", what: "GA4 measurement" },
|
|
8479
|
-
{ kind: "meta_pixel", what: "cookies visitors so Meta retargeting audiences can be built" },
|
|
8480
|
-
{ kind: "linkedin_insight", what: "cookies visitors so LinkedIn retargeting audiences can be built" }
|
|
8483
|
+
{ kind: "meta_pixel", what: "lead landing pages only: cookies visitors so Meta retargeting audiences can be built" },
|
|
8484
|
+
{ kind: "linkedin_insight", what: "lead landing pages only: cookies visitors so LinkedIn retargeting audiences can be built" }
|
|
8481
8485
|
];
|
|
8482
|
-
analytics.command("tracking").description(
|
|
8486
|
+
analytics.command("tracking").description(
|
|
8487
|
+
"Show which analytics destinations this org has configured for its published pages (Meta and LinkedIn load only on lead landing pages)"
|
|
8488
|
+
).option("--json", "print the raw JSON result instead of a table").action(async (opts) => {
|
|
8483
8489
|
try {
|
|
8484
8490
|
const res = await new ErdoClient().getPageTracking();
|
|
8485
8491
|
if (opts.json) {
|
|
@@ -8504,14 +8510,18 @@ session replay input masking: ${res.mask_inputs ? "on" : "OFF \u2014 form values
|
|
|
8504
8510
|
console.log(`consent: ${res.consent}${res.consent === "required" ? " (recording waits on a consent banner, so thin volume may be the gate, not the traffic)" : ""}`);
|
|
8505
8511
|
if (!byKind.get("meta_pixel")?.enabled) {
|
|
8506
8512
|
console.log(`
|
|
8507
|
-
No Meta pixel is
|
|
8513
|
+
No Meta pixel is configured, so no Meta retargeting audience is accumulating \u2014 page traffic alone does not mean those visitors can be served ads on Meta.`);
|
|
8508
8514
|
}
|
|
8509
8515
|
if (!byKind.get("linkedin_insight")?.enabled) {
|
|
8510
8516
|
console.log(`
|
|
8511
|
-
No LinkedIn Insight Tag is
|
|
8517
|
+
No LinkedIn Insight Tag is configured, so no LinkedIn retargeting audience is accumulating from this traffic.`);
|
|
8512
8518
|
} else if (!byKind.get("linkedin_insight")?.conversion_id) {
|
|
8513
8519
|
console.log(`
|
|
8514
8520
|
The LinkedIn Insight Tag is configured for page views and retargeting; no lead conversion ID is configured.`);
|
|
8521
|
+
}
|
|
8522
|
+
if (byKind.get("meta_pixel")?.enabled || byKind.get("linkedin_insight")?.enabled) {
|
|
8523
|
+
console.log(`
|
|
8524
|
+
This is organization configuration. Meta and LinkedIn tags load only on lead-generation landing pages (a declared landing page, or an undeclared page that owns a lead-capture pipeline); reports, dashboards and follow-up pages carry session analytics and GA4 only.`);
|
|
8515
8525
|
}
|
|
8516
8526
|
console.log(`
|
|
8517
8527
|
Erdo's own page-events beacon is provisioned per page at render time and is not listed above \u2014 it records independently of every vendor here.`);
|