Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Node.js - how to track events by deviceId and then identify with profileId later

未关闭
#270 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
node.js
领域
analytics, backend

调研方向

未指定文件或测试。首先检查 Node.js 跟踪 API 的 deviceId、用户识别和别名行为,然后复现 issue 中描述的从匿名用户到注册用户的流程。当较早和较晚的事件出现在同一个用户档案下,或明确确定该行为不受支持并明确所需文档时,即可视为完成。

由索引模型根据 Issue 内容生成。

描述

I have a desktop app, but tracking happens in our node.js server which is a proxy between the app and openpanel.

How can I achieve this flow:

  • new user opens the app without an account
  • we track some events (we don't know user id as there is no user yet. So I'd like to use deviceId)
  • later, user creates an account -> we know userId
  • I want to identify the user now
  • as a result I want all events made before and after user signing up to be visible as made by a single user

I was a bit confused checking the docs. I also realized alias function does not work

主要语言
TypeScript
星标
7.1k
派生
510
平均合并
7 天 2 小时
30 天内合并 PR
7

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Openpanel-dev/openpanel 的其他 Issue

查看 Openpanel-dev/openpanel 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。