Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

identify is not working

オープン
#147 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
django, python
領域
analytics, backend

調査の方向性

まず、メインサイトのドキュメントを Python SDK のガイダンスおよびリンク先の Python SDK issue #2 と比較し、その後、このレポートに示されている identify の呼び出しを調べます。self-hosted インスタンスと 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?

Image

主要言語
TypeScript
スター
7.1k
フォーク
510
平均マージ
1日 21時間
マージ済み PR(30日)
4

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Openpanel-dev/openpanel のほかの issue

Openpanel-dev/openpanel の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。