This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
使用 Vexo
有关安装和配置 Vexo 以进行实时用户分析的指南。
Vexo 为你的 Expo 应用提供实时用户分析,帮助你了解用户如何与应用互动,识别使用中的障碍点,并提升用户参与度。
通过两行代码的集成,Vexo会自动开始收集数据,为你提供可操作的见解,以优化你的应用用户体验。如有需要,你还可以创建自定义事件。
🌐 With a two-line integration, Vexo starts collecting data automatically, giving you actionable insights to optimize your app's user experience. If needed, you can also create custom events.
特性
🌐 Features
- 完整仪表板
- 活跃用户
- 会话时间
- 下载
- 操作系统分布
- 版本采用
- 地理洞察
- 热门屏幕
- 会话回放
- 观看真实用户会话以了解它们的交互。
- 热力图
- 确定应用中最受关注的区域。
- 漏斗
- 分析用户流并优化转化率。
- 自定义事件和仪表板个性化
- 通过创建自定义事件来跟踪特定用户操作。
- 自定义仪表板以可视化关键指标。
入门
🌐 Getting started
-
创建账户:注册一个 Vexo 账户。
-
创建一个新应用:系统会提示你创建一个新应用。给它起一个名字(你以后可以更改),提交后,你将收到一个 API 密钥。
-
安装 Vexo 包:在你的项目中运行以下命令:
Terminal-npm install vexo-analytics -
初始化 Vexo:在你的应用入口文件中添加以下代码(例如 index.js、App.js,或如果使用 Expo Router,则为 src/app/_layout.tsx):
src/app/_layout.tsximport { vexo } from 'vexo-analytics'; // You may want to wrap this with `if (!__DEV__) { ... }` to only run Vexo in production. vexo('YOUR_API_KEY'); -
重新构建并运行你的应用:由于
vexo-analytics包含本地代码,你需要重新构建你的应用。 -
验证集成:前往你在 Vexo 上的应用页面,你应该能看到你的第一个事件!
兼容性
🌐 Compatibility
- Expo:Vexo 与 开发版本 兼容,并且不需要额外的配置插件。
- Expo Go:不支持,因为 Vexo 需要自定义原生代码。
了解有关 Vexo 的更多信息
🌐 Learn more about Vexo
要了解更多关于在 Expo 中使用 Vexo 的信息,请查看 Vexo 文档。
🌐 To learn more about using Vexo with Expo, check out the Vexo documentation.