Hi Alexandr,
i bought your plugin yesterday night
right now i'm trying to get the automatic xml tracking to work - but i don't get it. i've uploaded the examples (xml tracking) to my webspace and the work like a charme - no problem, great, works.
then i tried to put a "start.xml" (only with the ga in it) "in front" of my first pano.xml. made a pano subnote in start.xml but the tracker doesnt seem to work.
my start.xml looks like this
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<krpano version="1.0.8" logkey="true">
<plugin name="ga"
url="plugins/analytics.swf"
mode="auto|xml"
account="UA-XXXXXXXX"
debug="true"
ontrackerready="activatepano(001_aussicht_schlossberg.xml);"
>
<pano name="001_aussicht_schlossberg"
xmlurl="001_aussicht_schlossberg.xml"
pageurl="/001_aussicht_schlossberg"
/>
<pano name="aiola"
xmlurl="/039_d01_aiola.xml"
pageurl="/039_d01_aiola"
/>
</plugin>
<action name="activatepano">
loadpano(%1);
wait(blend);
</action>
|
the first pano.xml (001_aussicht_schlossberg.xml) looks like this:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
<krpano version="1.0.8">
<include url="gmaps.xml" />
<include url="gmaps_points.xml" />
<include url="skin/defaultskin.xml" />
<!-- Progress Bar -->
<progress showload="bar(left,200,10,1%,-49%,shaded,
0x000000,0x006633,0xAAAAAA)"
showwait="none"/>
<view camroll ="0.000000"
fov ="90.000000"
fovmin ="30.000000"
fovmax ="90.000000"
limitfov ="true"/>
<view hlookat="160.41" vlookat="0.54" maxpixelzoom="1.0" />
<display details="22" />
<preview url="001_aussicht_schlossberg.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="783" progressive="false">
<level tiledimagewidth="3132" tiledimageheight="3132">
<left url="001_aussicht_schlossberg.tiles/l3_l_%0v_%0h.jpg" />
<front url="001_aussicht_schlossberg.tiles/l3_f_%0v_%0h.jpg" />
<right url="001_aussicht_schlossberg.tiles/l3_r_%0v_%0h.jpg" />
<back url="001_aussicht_schlossberg.tiles/l3_b_%0v_%0h.jpg" />
<up url="001_aussicht_schlossberg.tiles/l3_u_%0v_%0h.jpg" />
<down url="001_aussicht_schlossberg.tiles/l3_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="1566" tiledimageheight="1566">
<left url="001_aussicht_schlossberg.tiles/l2_l_%0v_%0h.jpg" />
<front url="001_aussicht_schlossberg.tiles/l2_f_%0v_%0h.jpg" />
<right url="001_aussicht_schlossberg.tiles/l2_r_%0v_%0h.jpg" />
<back url="001_aussicht_schlossberg.tiles/l2_b_%0v_%0h.jpg" />
<up url="001_aussicht_schlossberg.tiles/l2_u_%0v_%0h.jpg" />
<down url="001_aussicht_schlossberg.tiles/l2_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="783" tiledimageheight="783">
<left url="001_aussicht_schlossberg.tiles/l1_l_%0v_%0h.jpg" />
<front url="001_aussicht_schlossberg.tiles/l1_f_%0v_%0h.jpg" />
<right url="001_aussicht_schlossberg.tiles/l1_r_%0v_%0h.jpg" />
<back url="001_aussicht_schlossberg.tiles/l1_b_%0v_%0h.jpg" />
<up url="001_aussicht_schlossberg.tiles/l1_u_%0v_%0h.jpg" />
<down url="001_aussicht_schlossberg.tiles/l1_d_%0v_%0h.jpg" />
</level>
<mobile>
<left url="001_aussicht_schlossberg.tiles/mobile_l.jpg" />
<front url="001_aussicht_schlossberg.tiles/mobile_f.jpg" />
<right url="001_aussicht_schlossberg.tiles/mobile_r.jpg" />
<back url="001_aussicht_schlossberg.tiles/mobile_b.jpg" />
<up url="001_aussicht_schlossberg.tiles/mobile_u.jpg" />
<down url="001_aussicht_schlossberg.tiles/mobile_d.jpg" />
</mobile>
<tablet>
<left url="001_aussicht_schlossberg.tiles/tablet_l.jpg" />
<front url="001_aussicht_schlossberg.tiles/tablet_f.jpg" />
<right url="001_aussicht_schlossberg.tiles/tablet_r.jpg" />
<back url="001_aussicht_schlossberg.tiles/tablet_b.jpg" />
<up url="001_aussicht_schlossberg.tiles/tablet_u.jpg" />
<down url="001_aussicht_schlossberg.tiles/tablet_d.jpg" />
</tablet>
</image>
<hotspot name="hs0"
url="buttons/arrow_up.png"
keep="false"
ath="5.6188605406101715" atv="34.66197391661196"
zoom="false" distorted="true" details="8" flying="0"
width="160" height="160"
scale="0.4450381501583795" scale9grid="" scalechildren="false" rotate="0"
rx="-56.087500000000006" ry="0.025000000000005684" rz="11.490982186209516"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" usecontentsize="false" handcursor="true" capture="true" children="true"
zorder="0"
alpha="1.00" blendmode="normal" effect="" smoothing="true"
refreshrate="auto"
onloaded=""
onover=""
onhover="showtext(Aiola)"
onout=""
ondown=""
onup=""
onclick="loadpano(039_d01_aiola.xml,null,MERGE,BLEND(1));
lookat(35.44,0,90);
plugin[map].activatespot(_039_d01_aiola);
plugin[map].pantospot(_039_d01_aiola);"
devices="all"
/>
<hotspot name="hs1"
url="buttons/arrow_up.png"
keep="false"
ath="34.39001913496934" atv="37.988576271275775"
zoom="false" distorted="true" details="8" flying="0"
width="160" height="160"
scale="0.5196120943586932" scale9grid="" scalechildren="false" rotate="0"
rx="-33.48750000000001" ry="52.57499999999999" rz="64.51678163990131"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" usecontentsize="false" handcursor="true" capture="true" children="true"
zorder="0"
alpha="1.00" blendmode="normal" effect="" smoothing="true"
refreshrate="auto"
onloaded=""
onover=""
onhover="showtext(Lift im Berg)"
onout=""
ondown=""
onup=""
onclick="loadpano(101_d01_liftimberg.xml,null,MERGE,BLEND(1));
lookat(217.24,1.29,90);
plugin[map].activatespot(_101_d01_liftimberg);
plugin[map].pantospot(_101_d01_liftimberg);"
devices="all"
/>
</krpano>
|
i thought that should be enough but maybe i missunderstood something about the automatic xml mode.
it only works if i use the the "trackevent" call at the hotspot:
e.g.
|
Quellcode
|
1
2
3
4
5
|
onclick="loadpano(039_d01_aiola.xml,null,MERGE,BLEND(1));
lookat(35.44,0,90);
plugin[map].activatespot(_039_d01_aiola);
plugin[map].pantospot(_039_d01_aiola);
plugin[ga].trackevent(Buttons, Go to pano, Pano1, 1); activatepano(039_d01_aiola.xml);"
|
or
|
Quellcode
|
1
2
3
4
5
|
onclick="loadpano(039_d01_aiola.xml,null,MERGE,BLEND(1));
lookat(35.44,0,90);
plugin[map].activatespot(_039_d01_aiola);
plugin[map].pantospot(_039_d01_aiola);
plugin[ga].trackpageview(/039_d01_aiola); activatepano(039_d01_aiola.xml);"
|
why istn't it working automatic? i thought naming the different panos in a subnote should be enough for tracking the pano vist?
any help would be great - thanks
regards
christian