Hi there, I want to add event tracking to some download links on a page. Every download link on the page has the "document-link" class. Now I want the event action to be the document type, for instance pdf and the event label to be the url path of the file, so the href of the clicked link. I have created an onHandler extension with jQuery selector: a.document-link, which triggers on mousedown, Tracking event is set to "link" and than I have the event attributes as follows: event_category set to Text: Download event_action set to JS code: ... this is where I need to get the file type event_label set to JS code: ... this is where I need to get the link or file name Thank you very much in advance!
... View more