Set-once profile properties for first-touch values

Aperta
#677 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
analytics

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
7.3k
Fork
552
Merge medio
1g 2h
PR unite (30g)
18

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Openpanel-dev/openpanel

Tutte le issue di Openpanel-dev/openpanel

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.