📈 Update analytics

This commit is contained in:
Luke Vella 2025-06-12 12:39:00 +02:00
parent 2193dfab12
commit cbca0aacde
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
2 changed files with 3 additions and 0 deletions

View file

@ -64,9 +64,11 @@ const {
distinctId: user.id,
event: "register",
properties: {
method: "sso",
$set: {
name: user.name,
email: user.email,
tier: "hobby",
timeZone: user.timeZone ?? undefined,
locale: user.locale ?? undefined,
},

View file

@ -148,6 +148,7 @@ export const auth = router({
event: "register",
distinctId: user.id,
properties: {
method: "email",
$set: {
email: user.email,
name: user.name,