Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Analytics] Fixed wrong name in signup tracking #4829

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

jakobhero
Copy link
Contributor

Fixes that fullName instead of name is passed to name attribute in analytics signup tracking call.

/werft analytics=segment|TEZnsG4QbLSxLfHfNieLYGF4cDwyFWoe

@jakobhero jakobhero requested review from a team and geropl and removed request for a team July 15, 2021 07:52
@@ -517,7 +517,7 @@ export class UserController {
properties: {
"auth_provider": user.identities[0].authProviderId,
"email": User.getPrimaryEmail(user),
"name": User.getName(user),
"name": user.identities[0].authName,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see how that fixes the particular issue. But I wonder how we're sure that identities[0] is what we want? But outside of scope I guess.

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code LGTM, signup and login still works

@jakobhero jakobhero merged commit bafcdc5 into main Jul 15, 2021
@jakobhero jakobhero deleted the jh/analytics-signup-fix branch July 15, 2021 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants