mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-17 16:27:28 +02:00
📈 Update analytics
This commit is contained in:
parent
2193dfab12
commit
cbca0aacde
2 changed files with 3 additions and 0 deletions
|
@ -64,9 +64,11 @@ const {
|
||||||
distinctId: user.id,
|
distinctId: user.id,
|
||||||
event: "register",
|
event: "register",
|
||||||
properties: {
|
properties: {
|
||||||
|
method: "sso",
|
||||||
$set: {
|
$set: {
|
||||||
name: user.name,
|
name: user.name,
|
||||||
email: user.email,
|
email: user.email,
|
||||||
|
tier: "hobby",
|
||||||
timeZone: user.timeZone ?? undefined,
|
timeZone: user.timeZone ?? undefined,
|
||||||
locale: user.locale ?? undefined,
|
locale: user.locale ?? undefined,
|
||||||
},
|
},
|
||||||
|
|
|
@ -148,6 +148,7 @@ export const auth = router({
|
||||||
event: "register",
|
event: "register",
|
||||||
distinctId: user.id,
|
distinctId: user.id,
|
||||||
properties: {
|
properties: {
|
||||||
|
method: "email",
|
||||||
$set: {
|
$set: {
|
||||||
email: user.email,
|
email: user.email,
|
||||||
name: user.name,
|
name: user.name,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue