panorama software,virtual tour software
Alternate Text
Joined: 2012-11-30
Send Msg:
Posts: 10
2013-05-14
#1

Add Google analytics to Tourwiever

I have been asked to add this code to virtual tour :

"<script type="text/javascript">

 var _gaq = _gaq || [];

 _gaq.push(['_setAccount', 'UA-39297877-1']);

 _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>"

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 !!



harlock

Alternate Text
Super Admin
Joined: 2012-03-19
Send Msg:
Posts: 160
2013-05-15
#2

You can add the code in the notepad of the published html file to add Google analytics.


I can submit the request to our developer for his consideration. However, we have our own schedule planned before. It may not be achieved immediately in our program. Thanks for your understanding.


It is not easy to meet each other in such a big world.

Alternate Text
Joined: 2012-11-30
Send Msg:
Posts: 10
2013-05-15
#3

Thank you very much for your concern !!

I truly belive that if easy pano overcome the html5 and the google tracking issues will be the undeniable TOP virtual tour software provider.



harlock

Alternate Text
Joined: 2008-05-10
Send Msg:
Posts: 590
2013-05-22
#4

Hi Harlock. that code should work fine in the main html file.


Apartment rentals Nerja

Villa rentals Nerja

Accommodation Nerja