Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
chore: add course dashboard event (#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir committed Nov 8, 2022
1 parent d9785e2 commit cc8be9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/CourseDashboardViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ class CourseDashboardViewController: UITabBarController, InterfaceOrientationOve
}
}
}

override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)

environment.analytics.trackScreen(withName: OEXAnalyticsScreenCourseDashboard, courseID: courseID, value: nil)
}

override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
Expand Down

0 comments on commit cc8be9f

Please sign in to comment.