Skip to content

Commit

Permalink
profile students
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo committed Feb 1, 2025
1 parent 70794d8 commit f15989b
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@
).html_safe
%>

<% content_for :head do %>
<script type="application/javascript">
posthog.capture('user_visits_profile');
posthog.identify(
'<%= current_user&.uuid %>',
{ email: '<%= current_user&.email_addresses&.first&.value %>',
name: '<%= current_user&.full_name %>',
faculty_status: '<%= current_user&.faculty_status %>',
role: '<%= current_user&.role %>',
school: '<%= current_user&.school&.name %>'},
);
</script>
<% end %>

<%=
render(
partial: 'newflow/signup/email_verification_form_template',
Expand Down

0 comments on commit f15989b

Please sign in to comment.