Page 1 of 1

Google Tracking

Posted: Fri Mar 24, 2017 7:06 pm
by Hopki
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