Hi,
I use this piece of code in my index.html (previously made available here on the forum)
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-000000000-1', 'auto');
ga('send', 'pageview');
</script>
and add this to my xml file
On Google Real-Time the Active page is
/scene_005
As I've got several individual tours to track which are all in a folder called VT (then in their own folder titled 004, 005, 006, 007 etc.) I'd like to display the title and then the scene.
I changed it to
<events onxmlcomplete=" js(ga('send','pageview', get(xml.title.scene) ) );" />
then on Google Real-Time the Active page is this below but no scene.
/vt/004/
Tried get(xml.scene.title) but still get
/vt/004/
I think I'm missing something really simple here so was hoping anyone could point me in the right direction please?
Also is there a way to track hotspot clicks also that are inside the scene as each one generally has 4-5 hotspots.......... or am I pushing it
Thanks for your time,
Andrew