Reports API Events
click:activity
Fires when the user clicks on the "Activity" field in the Last Score by Activity by User or Last Score by Activity report.
You would want to be notified about this event firing to take some action when the user clicks on the "Activity" field or retrieve the Activity ID to show a preview of the Activity, for example.
Examples
reportsApp.getReport('my-report-id').on('click:activity', function (activityID) {
console.log('This code executes when the user clicks on the "Activity" field.');
console.log(activityID);
});
Callback arguments
-
activityID string
The ID of the clicked Activity.