Merge pull request #125 from edx/andytr1/analytics-add-course-id
EDUCATOR-4685 add course id to label
This commit is contained in:
@@ -26,6 +26,7 @@ const eventsMap = {
|
|||||||
category: trackingCategory,
|
category: trackingCategory,
|
||||||
courseId: action.courseId,
|
courseId: action.courseId,
|
||||||
track: action.track,
|
track: action.track,
|
||||||
|
label: action.courseId,
|
||||||
cohort: action.cohort,
|
cohort: action.cohort,
|
||||||
assignmentType: action.assignmentType,
|
assignmentType: action.assignmentType,
|
||||||
prev: action.prev,
|
prev: action.prev,
|
||||||
@@ -34,6 +35,7 @@ const eventsMap = {
|
|||||||
})),
|
})),
|
||||||
[GRADE_UPDATE_SUCCESS]: trackEvent(action => ({
|
[GRADE_UPDATE_SUCCESS]: trackEvent(action => ({
|
||||||
name: 'edx.gradebook.grades.grade_override.succeeded',
|
name: 'edx.gradebook.grades.grade_override.succeeded',
|
||||||
|
label: action.courseId,
|
||||||
properties: {
|
properties: {
|
||||||
category: trackingCategory,
|
category: trackingCategory,
|
||||||
courseId: action.courseId,
|
courseId: action.courseId,
|
||||||
|
|||||||
Reference in New Issue
Block a user