Skip to content

Commit

Permalink
Track signup events
Browse files Browse the repository at this point in the history
  • Loading branch information
nid90 committed Nov 21, 2023
1 parent 533ce62 commit f5a62e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/authentication/registrations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,6 @@ def sign_up_email
def identify_team
return unless user.persisted?
SiteAnalytics.identify_and_group(user, user.organizations.first)
SiteAnalytics.track(user, user.organizations.first, DeviceDetector.new(request.user_agent), "Signup")
end
end

0 comments on commit f5a62e5

Please sign in to comment.