click.tag - Events - Reports API

Reports API Events

click:tag

Fires when the user clicks on the "Tag" field in the Progress by Tag by User or Event Progress by Tag by User reports.

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

Examples

reportsApp.getReport('my-report-id').on('click:tag', function (tagType, tagName) {
    console.log('This code executes when the user clicks on the "Tag" field.');
    console.log(tagType, tagName);
});

Callback arguments

  • tagType string

    The Tag type that has been clicked.

  • tagName string

    The Tag name that has been clicked.

Was this article helpful?

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