identify is not working
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
调研方向
首先,将主站文档与 Python SDK 指南以及链接的 Python SDK issue #2 进行比较,然后检查本报告中显示的 identify 调用。使用自托管实例和 Django 应用重现该调用;当 identify 成功,并且用户配置文件的 traits 与已跟踪事件一致地出现时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Hello folks. Nice product.
So, here's my problem. Looks like identify is not working properly. I have a self-hosted instance and a Django application.
Looking at the documentation on the main site and in the Python SDK, there is a divergence. I've tried both if I remember correctly, but none worked (https://github.com/Openpanel-dev/python-sdk/issues/2).
Here's my identify method:
def identify_openpanel(user: User) -> None:
profile_id = str(user.pk)
op = get_openpanel()
if op:
traits = {
"firstName": user.first_name,
"lastName": user.last_name,
"email": user.email,
"properties": {
"organization": None,
"last_login": user.last_login,
},
}
op.identify(profile_id=profile_id, traits=traits)
We are experimenting with tracking also from the front-end side, but mostly will perform tracking with backend.
You can see from the screenshot below that we are tracking correctly (popular events is filled in) and it's getting associated with current user when doing these actions. Is there any configuration we have to tweak?
- 主要语言
- TypeScript
- 星标
- 7.1k
- 派生
- 510
- 平均合并
- 5 天 13 小时
- 30 天内合并 PR
- 6
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Openpanel-dev/openpanel 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
Openpanel-dev/openpanel#532 ·
维护者通常 1 天内回复
-
Period comparison badge shows wrong percentage for decreases (100 → 50 shows ↓100%)可能已有人在做 @sarmah-rup 于 10 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
Openpanel-dev/openpanel#526 ·
维护者通常 1 天内回复
-
Self-hosted missing op1-replay.js可能已有人在做 @houstona 于 10 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
Openpanel-dev/openpanel#512 · 1 条评论 ·
维护者通常 1 天内回复
-
login page needs refinement可能已有人在做 @anandghegde 于 25 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
Openpanel-dev/openpanel#495 ·
维护者通常 1 天内回复
-
Session replay: early chunks saved under the wrong session可能已有人在做 @rjocoleman 今天认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
Openpanel-dev/openpanel#537 ·
维护者通常 1 天内回复
查看 Openpanel-dev/openpanel 的全部 Issue
相似的 Issue
-
streams:add
难度 1/5 1 小时以内 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
walletbeat/walletbeat#1558 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
hawk-digital-environments/HAWKI#438 ·
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 72/100
GiganticMinecraft/seichi-portal-frontend#1165 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复