Skip to content

Commit

Permalink
add user uuid to activity report
Browse files Browse the repository at this point in the history
Requested by researchers so they can easily match OpenStax users to
activity in Qualtrics
  • Loading branch information
nathanstitt committed Jan 15, 2025
1 parent 8c399c7 commit 068721c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/app/services/learner_activity_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def build_headers(csv)
'Participant Created At',
'Participant Research ID',
'New Participant Study?',
'Participant UUID',
'Participant Name',
'Test Account?'
]
end
Expand Down Expand Up @@ -86,6 +88,8 @@ def build_rows(csv, users, launches)
launch.research_id.created_at,
launch.research_id.id,
launch.research_id.is_new_user?(launch.first_launched_at),
launch.user_id,
account['name'] || '',
account['is_test'] ? 'X' : nil
]
end
Expand Down

0 comments on commit 068721c

Please sign in to comment.