Add Google analytics to Tourwiever
I have been asked to add this code to virtual tour :
var _gaq = _gaq || ;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script'); s.parentNode.insertBefore(ga, s);
I added this code in the notepad of the published html file. Is that ok or i need to add it somehow before i publish the file ?
Also i read that easypano has not developed a plug-in to fully operate the traction within the virtual tour like krpano http://www.krpano.com/plugins/userplugins/googleanalytics/#top.
Is there any better solution you can advise to me ?
Thank you for your valuable time !!