openedx / openedx/frontend-app-learning

Analytic event broken

Open
#1,275 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
70
Forks
335
Avg merge
1d 17h
Merged PRs (30d)
35

Description

Hi all, it looks like we lost the code that sends analytics events to the LMS when links to external resources are clicked. The platform version of this code is here: https://github.com/openedx/edx-platform/blob/1f3d23250926751acb80aaba6a6bc3b4d7ac3f42/lms/static/js/courseware/courseware_factory.js#L12 but I think it got lost in the MFE transition.

This is an event that we use for analytics and would like to have back. I'm not sure who's maintaining at this point, but I'd like to chat about how we can do that!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the referenced edx-platform file, lms/static/js/courseware/courseware_factory.js, with the current frontend-app-learning implementation and locating how external-resource link clicks are handled after the MFE transition. Confirm which analytics event the platform sends and verify that the equivalent event is emitted when those links are clicked.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
analytics, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.