Skip to content

Commit fde7023

Browse files
committed
add analytics
1 parent 5af9673 commit fde7023

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ function noDeathPls() {
125125
alert("You have already chosen to sleep in.")
126126
return
127127
}
128+
ga('send', 'event', 'Courselist', 'no8am');
128129
addCourseToTable(courseName, [{
129130
status: "", sectionName: courseName, activity: "", subactivities: {}, times: [{
130131
days: Weekday.Monday | Weekday.Tuesday | Weekday.Wednesday | Weekday.Thursday | Weekday.Friday,
@@ -139,6 +140,7 @@ function schedule() {
139140
$("#schedule").text("Scheduling...")
140141
lockedSections = []
141142
currPage = 1
143+
ga('send', 'event', 'Timetable', 'schedule', $("#inputCampus").val());
142144

143145
var fn = scheduleTimetable.bind(this, courses.slice(0), function (newSchedules) {// schedule using a shallow copy
144146
schedules = newSchedules

0 commit comments

Comments
 (0)