How to track specific list usage in Agent Workspace for HR Case Management

CCSF-Syd
Tera Expert

I would like to track individual usage (i.e. views) for specific UX Lists in Agent Workspace for HR Case Management.

 

I have done some JavaScript in the EC Pro to fire custom UA Events on button click:

 

      var payload = {};
        payload.name = 'ESC Mega Menu Clicked';
        payload.category = 'navigation';
        payload.data = {};
        payload.data['Link'] = $(e.target).text().trim();
        payload.data['URL'] = $(e.target).parents('a').attr('href');
        console.log(payload);
        snA.addEvent(payload);

 

So I was thinking maybe I would check if the URL had a particular sys_id (of the List I want to track) and fire an event like that - does that make sense?

 

What I can't seem to find is where to put that kind of script in Agent Workspace and how to hook it up.

 

Any help would be greatly appreciated!

0 REPLIES 0