Skip to content

Commit

Permalink
fix: missing analytics event
Browse files Browse the repository at this point in the history
  • Loading branch information
arielweinberger committed May 28, 2023
1 parent 00488d1 commit 6a941d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/server/src/app/auth/supertokens.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ export class SupertokensService {

this.logger.assign({ userId: res.user.id });
await this.usersService.createUser(userCreateRequest);
this.analytics.track("USER:SIGNUP", res.user.id, {
email: res.user.email,
method: "EMAIL_PASSWORD",
});

const fullName = input.formFields.find(
(field) => field.id === "name"
Expand Down

0 comments on commit 6a941d1

Please sign in to comment.