Hi,
This was covered a while ago.
You can use Google Tracking to track events, well you could when we tested it.
You head over to Google Tracking and create an account to track events.
In Pano2VR you use a Go To URL action that makes a JavaScript call to send the event to Google.
You could track 500 events per tour.
Example:
In Pano2VR skin and for a hotspot template:
Mouse Click, Open Next Panorama, URL: $(hu), Target: $(ht)
Images Ready, Go To URL, URL: javascript:_gaq.push(['_trackEvent', '$(ud)', '$(ut)']); Target: (leave blank)
So in the above when the next node loaded it would push a tracking event using information in the user data. Here I'm using $(ud) for teh name of the tour and $(ut) for the name of each node.
You then need to add your tracking account code in the header of the HTML page, it would like similar to this:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? '
https://ssl' : '
http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Of course any button can have a GoTo URL action and push the information, a zoom in button for example:
Mouse Click, Go To URL, URL: javascript:_gaq.push(['_trackEvent', '$(ud)', 'zoom in']); Target: (leave blank)
As said this was all done a long time ago now but Im sure with a little research you can get it working.
Regards,
Hopki