# @antelopejs/dms-marketing 中文文档

规范地址：https://npmcn.com/package/%40antelopejs/dms-marketing/

版本：0\.9\.0
npm 元数据更新时间：2026-11-05T00:10:48.800Z
中文译文更新时间：2026-11-09T21:24:00.396Z
软件包许可：Apache-2\.0

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40antelopejs/dms-marketing
原文对照：https://npmcn.com/package/%40antelopejs/dms-marketing/?lang=original
项目主页：https://dms.antelopejs.com/docs/modules/marketing
源码仓库：https://github.com/AntelopeJS/dms-marketing

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：2 MB，532 个文件
- 模块格式：CommonJS
- TypeScript 类型：包内自带
- 运行依赖：14 个
- 首次发布：2026-09-18T21:20:46.118Z
- 最新版本发布：2026-11-05T00:10:48.405Z
- 近 30 天下载量：1720（2026-10-06 至 2026-11-04，npm 官方下载统计）
- 已发布版本数：19（近 12 个月 19 个）

## 中文简介

AntelopeJS DMS的一站式营销分析:交通仪表板,用A/B分机转换漏斗并点击热映射,不提供饼干或外部服务.

## 安装

```sh
npm install @antelopejs/dms-marketing
```

也可以使用：`pnpm add @antelopejs/dms-marketing`、`yarn add @antelopejs/dms-marketing`、`bun add @antelopejs/dms-marketing`

## README

# `@antelopejs/dms-marketing`

[![npm](https://img.shields.io/npm/v/@antelopejs/dms-marketing?style=for-the-badge&labelColor=000000&color=000000)](https://www.npmjs.com/package/@antelopejs/dms-marketing) [![License](https://img.shields.io/npm/l/@antelopejs/dms-marketing?style=for-the-badge&labelColor=000000&color=000000)](https://npmcn.com/package/%40antelopejs/dms-marketing/LICENSE) [![Discord](https://img.shields.io/badge/Discord-18181B?logo=discord&style=for-the-badge&color=000000)](https://discord.gg/g4pFt6eXqu) [![Documentation](https://img.shields.io/badge/Docs-18181B?style=for-the-badge&color=000000)](https://dms.antelopejs.com/docs/modules/marketing)

羚羊JS DMS的一党营销分析:流量,漏斗,A/B分和热图.

![The Marketing overview of the Helio demo website over the last 30 days: the context bar, four KPI cards with their change and sparkline, the session-quality strip, the sessions chart against the previous period and the device split](https://npmcn.com/package/%40antelopejs/dms-marketing/docs/images/captures/overview.webp)

## 它会做什么

-   显示页面视图,会话,新来客以及针对上个时期的自定义活动,有收购频道和UTM活动.
-   在任何跟踪页面的快照上绘制并滚动深度,甚至在拒绝设定的站点上也是如此.
-   措施命令将漏斗转换为每步滴出,可选择性地分拆为服务器指定的A/B变体.
-   保持第一党和无饼干。 它称不对外服务,不存储IP地址或用户代理,并将数据保存在工程的MongoDB中.

## 安装

从已加载的工程根端运行 AtelopeJS CLI `@antelopejs/dms`数字 :

```bash
ajs project modules add @antelopejs/dms-marketing
```

## 快开始

重新打开后端, 然后打开前端 **模块 营销**单击 **添加一个网站** 编辑 **网站** 页 次 打开的安装指南以 HTML, Nuxt 或 Google Tag 管理器的形式给出了跟踪器片段. HTML 窗体看起来像这样:

```html
<script defer src="https://<backend>/api/marketing/tracker.js"
        data-website-id="<website id>"></script>
```

在反向代理后设置 DMS `auth.trustedProxies` 选项。 见 [安装](https://dms.antelopejs.com/docs/modules/marketing/installation)。 。 。 .

## 兼容性

| 软件包 | 支助 | 测试过 |
| --- | --- | --- |
| `@antelopejs/interface-api` | `>=0.3.0 <1.0.0` | `0.3.0` |
| `@antelopejs/interface-api-util` | `>=0.3.0 <1.0.0` | `0.3.0` |
| `@antelopejs/interface-core` | `>=0.4.0 <1.0.0` | `0.4.0` |
| `@antelopejs/interface-data-api` | `>=0.6.0 <1.0.0` | `0.6.0` |
| `@antelopejs/interface-database` | `>=0.3.0 <1.0.0` | `0.3.0` |
| `@antelopejs/interface-database-decorators` | `>=0.2.0 <1.0.0` | `0.2.0` |
| `@antelopejs/interface-dms` | `>=0.12.0 <1.0.0` | `0.12.0` |
| `@antelopejs/interface-dms-marketing` | `>=0.6.0 <0.7.0` | `0.6.0` |

模块还需要一个执行 `@antelopejs/interface-dms` 区域,以及 `@antelopejs/dms-frontend` 区域中的渲染器,其前端模块宣布在 `engines["@antelopejs/dms-frontend"]` 联 合 国 `frontend-vue/package.json`编辑 `ajs dms` CLI拒绝用这个范围以外的渲染器来建造.

## 文档

-   [导言](https://dms.antelopejs.com/docs/modules/marketing/introduction)
-   [安装](https://dms.antelopejs.com/docs/modules/marketing/installation)
-   [配置](https://dms.antelopejs.com/docs/modules/marketing/configuration)
-   [使用量](https://dms.antelopejs.com/docs/modules/marketing/usage/overview)
-   [扩展](https://dms.antelopejs.com/docs/modules/marketing/extending)
-   [财务问题](https://dms.antelopejs.com/docs/modules/marketing/faq)
-   [建筑](https://dms.antelopejs.com/docs/modules/marketing/architecture)

向导的消息来源 [`packages/dms-marketing/docs`](https://github.com/AntelopeJS/dms-marketing/tree/main/packages/dms-marketing/docs)。 。 。 . [`KNOWN-ISSUES.md`](https://github.com/AntelopeJS/dms-marketing/tree/main/packages/dms-marketing/KNOWN-ISSUES.md) 列出最终发现的缺陷,每个缺陷是如何关闭的,两个缺陷在 DMS 核心中仍然打开。 舱载 `dms-marketing` Claude代码技巧 [`packages/dms-marketing/skills`](https://github.com/AntelopeJS/dms-marketing/tree/main/packages/dms-marketing/skills),在 `antelopeJs.skills`。 。 。 .

## 捐款

这个包裹住在 [`AntelopeJS/dms-marketing`](https://github.com/AntelopeJS/dms-marketing) pnpm 工作空间旁边 `@antelopejs/interface-dms-marketing`读取 [捐款额](https://github.com/AntelopeJS/dms-marketing/blob/main/CONTRIBUTING.md) 编辑 [仓库读取器](https://github.com/AntelopeJS/dms-marketing#contributing) 用于开发命令.

## 许可证

[阿帕奇 - 2.0](https://npmcn.com/package/%40antelopejs/dms-marketing/LICENSE)

## 常见问题

### @antelopejs/dms-marketing 是什么？

AntelopeJS DMS的一站式营销分析:交通仪表板,用A/B分机转换漏斗并点击热映射,不提供饼干或外部服务\.

### 如何安装 @antelopejs/dms-marketing？

在项目目录运行 npm install @antelopejs/dms-marketing，或使用 pnpm add / yarn add / bun add。

### @antelopejs/dms-marketing 支持 TypeScript 吗？

支持。包内自带 TypeScript 类型声明（package\.json 声明了 types 入口），安装后即可获得类型提示，无需再安装 @types 包。

### @antelopejs/dms-marketing 支持 ESM 还是 CommonJS？

以 CommonJS 形式发布，可以直接 require\(\)；在 ES Module 项目中也可以用 import 引入（Node\.js 会把 module\.exports 作为默认导出）。

### @antelopejs/dms-marketing 可以商用吗？

@antelopejs/dms-marketing 使用 Apache-2\.0 许可。宽松许可：允许商业使用、修改和再分发，并附带明确的专利授权；分发时需保留许可与 NOTICE 文件，修改过的文件要注明改动。以上为概括，不构成法律意见，请以许可原文为准。

### @antelopejs/dms-marketing 的下载量有多少？

根据 npm 官方下载统计，@antelopejs/dms-marketing 在 2026/10/06 – 2026/11/04 这 30 天内被下载 1,720 次，日均约 57 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @antelopejs/dms-marketing 还在维护吗？

最新版本 0\.9\.0 发布于 2026/11/05（4 天前）；至今共发布 19 个版本，其中过去 12 个月发布了 19 个；首次发布于 2026/09/19。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

