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.getReport('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.