How to load an HTML instead of a Flash?

Q&A about the latest versions
Post Reply
Lvilleneuve
Posts: 54
Joined: Tue Mar 16, 2010 11:15 pm

Hi,

When I create a virtual tour, I first load an HTML 5 which make a hit in the Google Analytics of the client. But them, when I use the interface to move to another pano, no hit is detected by GA. The users seems to stay on the same page.

Is there a way to add some code to the .js file so there is a hit for every pano from the same user?

Is there a way to load another HTML file?

Thanks as usual!
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Yes this is possible you can track panos and even which buttons have been pressed in the skin, up to 500 events per visit per user.

You add a Go To URL action with the code:
Example:

javascript:_gaq.push(['_trackEvent', 'My Panorama', 'Pan Left']);

In Google Analytics you should see under tracked event My Panorama the then how many times the Pan Left button has been clicked.
You can also add this to a hotspot template with a loaded => GoTo URL action to May Panorama and use a user data place holder such as $ut Title of the pano.

Of course this has to be set up first in Google.
For further reading please see:

Website: http://www.google.com/analytics/

Event Tracking Website:
https://developers.google.com/analytics ... ackerGuide
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply