Is it possible to pass more than one label in a single call of _trackEvent(category, action, label, value) so it could be used in report as a separate as a separate dimension or for filtering purposes?
My requirement is to track links (downloads) clicks for documents related with many meta-data parameters (document ID, product ID, category, language, revision etc.) and all those parameters should be available in customized reports.
Thanks in advance for help.
GA is not set up to track that granular of data about any one item.
And, since GA uses
gifrequests to send the data, you may bump up on the limit given the amount of data you want to send.One way of tracking all the data you want to would be to push the data into a database via an ajax request.
If you have to use GA for this, you may be able to send multiple
_trackEventsfor each or a grouping of the meta-data items based on the document. AsetTimeoutshould be used so GA has time to send the events. See Can I track multiple Google Analytics events at once?In your case you would use:
HTML
Also, install Chrome and the Google Analytics Debugger. Look in the console (control, shift, j) for the event tracking processing.
If you don’t see all of your events tracking there (they will be listed separately), then something is up maybe with the tracking code.