click.session - Events - Reports API

Reports API Events

click:session

Fires when the user clicks on the "Session" field in the Sessions List report.

You would want to be notified about this event firing to take some action when the user clicks on the "Session" field or retrieve the associated information such as the user ID, Activity ID, and session ID, for example.

Examples

reportsApp.report('my-report-id').on('click:session', function (userID, activityID, sessionID) {
    console.log('This code executes when the user clicks on the "Session" field.');
    console.log(userID, activityID, sessionID);
});

Callback arguments

  • userID string

    The user ID associated with the clicked session.

  • activityID string

    The Activity ID associated with the clicked session.

  • sessionID string

    The session ID associated with the clicked session.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.