Set-once profile properties for first-touch values

Offen
#677 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
analytics

Rechercherichtung

Start by tracing how identify and __identify on track events persist profile properties, then find the stored profile update path and its tests. Check how increment and decrement are handled for relevant conventions. Done when a set-once operation applies values only to keys missing from the stored profile, including on replays and backfills, with tests covering those cases.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

identify (and __identify on a track event) always overwrites profile properties. There are increment and decrement, but no way to set a property only when the profile does not have it yet, so first-touch values (signup date, first plan, first referrer) need a sender that knows it is the first write.

Example: identify {profileId:"u1", properties:{signed_up_at:"2026-01-01"}}, later the same with "2026-03-01" → the profile shows March.

Request: a set_once operation (or a $set_once map in identify) applied only to keys missing from the stored profile. Today we send such values only from the code path that creates the account, which breaks on replays and backfills.

Vorherrschende Sprache
TypeScript
Sterne
7.3k
Forks
552
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
18

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Openpanel-dev/openpanel

Alle Issues in Openpanel-dev/openpanel

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.