Android: Update Assessment Screen analytics

Description

We previously added events for specific assessments related items, but we also need to add events just to mark the screen views themselves.

Additionally, since the Google Analytics "screen view" tags don't let us supply information besides a name, we've decided to add a regular event to accompany every "screen" event. This event will have:

Category: "screen"
Label: <screen name>
Action: <optional event specific data>

See iOS change here https://github.com/edx/edx-app-ios/pull/436/files#diff-dbd08a8519aa919edce557769b4c1f74R72

Here is the actual per screen event data:

Course List:
Label: “Course Dashboard”
Action: none
Course Outline:
Label: “Course Outline”
Action: none
Section Outline:
Label: “Section Outline”
Action: <section-name>
Scrolling Unit Detail:
Label: "Unit Detail"
Action: <unit-name>

For each of these we should also be sending a "course-id" property marking the course id. This will be set as a custom dimension on GA.

Acceptance criteria:

  • Post a regular event, in addition to the trackScreen for each screen.

  • Ensure that the 4 screens match the above description (Course Outline/Section Outline are the same Activity, but in different contexts)

  • Ensure that course-id is sent with all those events as a property.

Steps to Reproduce

None

Reason for Variance

None

Release Notes

None

Assignee

Mian Khalid

Reporter

akivaR

Labels

Customer

None

URL

None

Groups with Read-Only Access

None

Actual Points

None

Reach

None

Impact

None

Open edX Discourse Thread

None

Platform Map Area (Levels 1 &amp; 2)

None

Platform Map Area (Levels 3 &amp; 4)

None

Contributor Name

None

Blended Project Status Page

None

Story Points

0

Epic Link

Sprint

None

Fix versions

Priority

CAT-2
Configure