Added tracking for instructor actions and API endpoint for tracking card views by learners.