diff --git a/common/djangoapps/course_modes/views.py b/common/djangoapps/course_modes/views.py index 046767a26b89..759073a13583 100644 --- a/common/djangoapps/course_modes/views.py +++ b/common/djangoapps/course_modes/views.py @@ -195,6 +195,7 @@ def get(self, request, course_id, error=None): # lint-amnesty, pylint: disable= "content_gating_enabled": gated_content, "course_duration_limit_enabled": CourseDurationLimitConfig.enabled_for_enrollment(request.user, course), "search_courses_url": urljoin(settings.MKTG_URLS.get('ROOT'), '/search?tab=course'), + "course_run_key": course_id, } context.update( get_experiment_user_metadata_context(