@erdoai/cli 0.161.0 → 0.162.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/index.js +13 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8377,7 +8377,8 @@ analytics.command("query <hogql>").description("Run a read-only HogQL query agai
|
|
|
8377
8377
|
var TRACKING_KINDS = [
|
|
8378
8378
|
{ kind: "session_analytics", what: "heatmaps, session replay, and the events behind `erdo analytics query`" },
|
|
8379
8379
|
{ kind: "google_analytics", what: "GA4 measurement" },
|
|
8380
|
-
{ kind: "meta_pixel", what: "cookies visitors so Meta retargeting audiences can be built" }
|
|
8380
|
+
{ kind: "meta_pixel", what: "cookies visitors so Meta retargeting audiences can be built" },
|
|
8381
|
+
{ kind: "linkedin_insight", what: "cookies visitors so LinkedIn retargeting audiences can be built" }
|
|
8381
8382
|
];
|
|
8382
8383
|
analytics.command("tracking").description("Show which analytics destinations this org's published pages send visitor data to").option("--json", "print the raw JSON result instead of a table").action(async (opts) => {
|
|
8383
8384
|
try {
|
|
@@ -8391,20 +8392,27 @@ analytics.command("tracking").description("Show which analytics destinations thi
|
|
|
8391
8392
|
const rows = TRACKING_KINDS.map(({ kind, what }) => {
|
|
8392
8393
|
const d = byKind.get(kind);
|
|
8393
8394
|
const status = d === void 0 ? "not configured" : d.enabled ? "on" : "configured, off";
|
|
8394
|
-
return [kind, status, d?.public_id ?? "", d?.provider ?? "", what];
|
|
8395
|
+
return [kind, status, d?.public_id ?? "", d?.conversion_id ?? "", d?.provider ?? "", what];
|
|
8395
8396
|
});
|
|
8396
8397
|
for (const d of destinations) {
|
|
8397
8398
|
if (!TRACKING_KINDS.some((k) => k.kind === d.kind)) {
|
|
8398
|
-
rows.push([d.kind, d.enabled ? "on" : "configured, off", d.public_id ?? "", d.provider ?? "", ""]);
|
|
8399
|
+
rows.push([d.kind, d.enabled ? "on" : "configured, off", d.public_id ?? "", d.conversion_id ?? "", d.provider ?? "", ""]);
|
|
8399
8400
|
}
|
|
8400
8401
|
}
|
|
8401
|
-
printAlignedTable(["kind", "status", "public id", "provider", "what it does"], rows);
|
|
8402
|
+
printAlignedTable(["kind", "status", "public id", "conversion id", "provider", "what it does"], rows);
|
|
8402
8403
|
console.log(`
|
|
8403
8404
|
session replay input masking: ${res.mask_inputs ? "on" : "OFF \u2014 form values are recorded"}`);
|
|
8404
8405
|
console.log(`consent: ${res.consent}${res.consent === "required" ? " (recording waits on a consent banner, so thin volume may be the gate, not the traffic)" : ""}`);
|
|
8405
8406
|
if (!byKind.get("meta_pixel")?.enabled) {
|
|
8406
8407
|
console.log(`
|
|
8407
|
-
No Meta pixel is firing on these pages, so no retargeting audience is accumulating \u2014 page traffic alone does not mean those visitors can be served ads.`);
|
|
8408
|
+
No Meta pixel is firing on these pages, so no Meta retargeting audience is accumulating \u2014 page traffic alone does not mean those visitors can be served ads on Meta.`);
|
|
8409
|
+
}
|
|
8410
|
+
if (!byKind.get("linkedin_insight")?.enabled) {
|
|
8411
|
+
console.log(`
|
|
8412
|
+
No LinkedIn Insight Tag is firing on these pages, so no LinkedIn retargeting audience is accumulating from this traffic.`);
|
|
8413
|
+
} else if (!byKind.get("linkedin_insight")?.conversion_id) {
|
|
8414
|
+
console.log(`
|
|
8415
|
+
The LinkedIn Insight Tag is configured for page views and retargeting; no lead conversion ID is configured.`);
|
|
8408
8416
|
}
|
|
8409
8417
|
console.log(`
|
|
8410
8418
|
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.`);
|