Just use google analytics events tracking :
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
so from krpano
js(ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);)