Option to skip IP geolocation for server-side events

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

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

@itsaryanchauhan がすでに取り組んでいます。

2026年11月30日 から。

  • #692 @itsaryanchauhan による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
analytics

調査の方向性

Start by tracing how server-side events handle the __ip property and where event location is looked up; the issue does not name files or tests, so locate those entry points in the repository first. Compare how track and identify process IP data, then determine where an explicit geolocation opt-out would be applied. Done means server-side events can skip geolocation and leave location empty or use the profile's last known location.

索引モデルが issue の本文から書いたものです。

説明

Events sent from a backend are geolocated from the backend's IP, so unless the user has an active session, every server-side event (purchases, renewals, emails) lands in the data centre's city and country. The only workaround is overriding __ip with a private address such as 127.0.0.1 so the lookup comes back empty, and __ip is read only for track, not identify.

Request: an explicit opt-out, e.g. a __geo: false property or a request header, that skips geolocation and leaves the location empty (or falls back to the profile's last known location). Today we send a fake __ip on every server-side request.

主要言語
TypeScript
スター
7.3k
フォーク
552
平均マージ
1日 2時間
マージ済み PR(30日)
18

環境構築

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

はじめの一歩

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

Openpanel-dev/openpanel のほかの issue

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

似ている issue

TypeScript の issue をもっと見る

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

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