Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

📈 Update analytics

Luke Vellacbca0aacde29
diff --git a/apps/web/src/next-auth.ts b/apps/web/src/next-auth.ts
index 3c2a07a4d..b0523b0be 100644
--- a/apps/web/src/next-auth.ts
+++ b/apps/web/src/next-auth.ts
@@ -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,
},
diff --git a/apps/web/src/trpc/routers/auth.ts b/apps/web/src/trpc/routers/auth.ts
index d293d4953..997ee752c 100644
--- a/apps/web/src/trpc/routers/auth.ts
+++ b/apps/web/src/trpc/routers/auth.ts
@@ -148,6 +148,7 @@ export const auth = router({
event: "register",
distinctId: user.id,
properties: {
+ method: "email",
$set: {
email: user.email,
name: user.name,