OBJECT

CourseDailyUsage

Represents user course usage totals for each day the user incurred usage, broken down per user, per course, per day by plan. i.e. If a user watched 30 minutes of a course on Monday morning and then again 30 mintues of the same course on Monday afternoon, one records will be created for the user with Monday's date reflected in 'rollupDate' with the daily aggregate of total watched time in 'clipViewSeconds' as 1 hour.

If another user did the same thing, but watched a different course in the afternoon, two records will be created for a given user with the same 'rollupDate', the only difference between the two records will be the 'courseId'.

See https://help.pluralsight.com/help/analytics-before-joining-plan for more information on how course analytics is affecting by learners joining and leaving plans.

link GraphQL Schema definition

  • type CourseDailyUsage {
  • # The unique identifier of the plan that the user belongs to.
  • planId: String
  • # DEPRECATED: UPDATE BY AUG 2nd, 2020. Team id that the user belongs to.
  • teamId: String @deprecated( reason: "Field is being removed." )
  • # The date that some usage occured. Historical data could be modified once offline
  • # data is uploaded.
  • rollupDate: Date
  • # The unique identifier of the user.
  • userId: String
  • # A User on Pluralsight is someone who is currently using or has ever used a
  • # license on the plan.
  • user: User
  • # Total number of clips viewed by user, by course, for the day referenced in
  • # rollupDate.
  • clipViewCount: Int
  • # Total clips viewed in seconds, by user, by course, for the day referenced in
  • # rollupDate.
  • clipViewSeconds: Int
  • # The unique identifier for a Course.
  • courseId: String
  • # Main type that represents Course catalog data, video courses only.
  • course: Course
  • # A calculated numeric identifier based on the course's ID.
  • courseIdNum: Int
  • # The date and time of the last time usage was synced for a given rollupDate.
  • updatedOn: DateTime
  • }