Skip to content

Commit

Permalink
[UXE-6322] feat: add new properties for identify tracking (#2201)
Browse files Browse the repository at this point in the history
* fix: add new properties for ID tracking

* fix: remove unused properties from account object in App.vue

* fix: correct formatting of defaultTraits in App.vue
  • Loading branch information
HerbertJulio authored Feb 28, 2025
1 parent 29b6cb3 commit 02e4281
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,20 @@
id: accountId,
client_id: clientId,
email,
name
name,
kind: accountType,
status
} = accountStore.account
const defaultTraits = { client_id: clientId, email, name, account_id: accountId }
const defaultTraits = {
client_id: clientId,
email,
account_id: accountId,
account_name: name,
account_type: accountType,
client_status: status
}
tracker.assignGroupTraits(defaultTraits)
tracker.identify(userID)
}
Expand Down

0 comments on commit 02e4281

Please sign in to comment.