Google Tracking

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
I have started a new thread so its easier to search for this information.
Pano2VR 5.1 no longer uses placeholders in the javascript string as there has been issues with this and limits the use of javascript.

If you have userdata you wanted to associate with tracking the old way was to add a Title to the userdata title text field.
Then the URL in a Go To URL action would have been similar to this:

Code: Select all

javascript:_gaq.push(['_trackEvent', '$ut', 'Pan Left']); 
So $ut picking up the title text.
In Pano2VR 5.1 you will now need to use javascript API:

Code: Select all

javascript:_gaq.push(['_trackEvent', pano.userdata.title, 'Pan Left’]);
You can also use:
pano.userdata.title
pano.userdata.description
pano.userdata.author
pano.userdata.datetime
pano.userdata.copyright
pano.userdata.source
pano.userdata.information
pano.userdata.comment
pano.userdata.latitude
pano.userdata.longitude
pano.userdata.customnodeid
pano.userdata.tags

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