@antelopejs/interface-dms-marketing
v0.2.0
Published
AntelopeJS interface for the DMS marketing module: read aggregated first-party analytics from any module
Readme
@antelopejs/interface-dms-marketing
AntelopeJS interface for the DMS marketing module (@antelopejs/dms-marketing):
read aggregated first-party analytics from any module.
- Implemented by
@antelopejs/dms-marketing(declared in itsantelopeJs.implements). - Consumed by modules that want marketing data without a hard dependency —
declare this package in
optionalDependencies: calls reject when no implementer is loaded, so consumers catch and degrade gracefully. No in-tree consumer today: dms-api dropped its route heatmap tab.
Surface
GetClickHeatmap(query)— click heatmap of one page path across a tenant's websites, aggregated on the implementer's grid.
Availability detection
import { GetInterfaceInstances } from "@antelopejs/interface-core";
const available =
GetInterfaceInstances("@antelopejs/interface-dms-marketing").length > 0;