Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

81

Mittwoch, 25. Juni 2014, 06:40

There may be a problem with the plugin under 1.17. I am using PTP2, which uses KRPano 1.17.

I am having trouble with the automatic registering of event tracking in particular. (Include 'automatic' tracking, as well as directly calling the 'addevent()' action).

'Manual' tracking code (i.e. using the "trackevent()" action) does work though, if you really need to.

Let me know if you have any luck with this, especially the 'addevent()' action.

82

Freitag, 4. Juli 2014, 15:06

Hi,

I'm using the "Google Analytics" plugin and the "Bottom Menu" plugin into my project.

Is there a way to track onclick action onto the different Item from the Bottom Menu ?

Google Analytics tracking code :

Zitat

<event name="Acces Scene 1"
target="group name[menu_item_1].onclick"
data="Acces Scene 1,Clicked"
/>
Bottom Menu code :

Zitat

<group name="menu">
<group name="menu_item_1" item_text="Acces Scene 1" execute="loadscene(scene_3);" />
<group name="menu_item_2" item_text="Acces Scene 2" execute="loadscene(scene_2);" />
</group>
Thanks for your help. *smile*

83

Freitag, 11. Juli 2014, 11:46

I have all the event tracking with Google Analytics from computer but nothing from Mobile or Tablet ...

Is there a bug ? *huh*

84

Dienstag, 22. Juli 2014, 07:46

So Google Analytics is getting data from the Flash version on the PC?

It might be that the HTML5 version has a bug - in my recent testing using krpano 1.17 (from PTP2) I've been having a lot of trouble.

I should note that under krpano 1.16 (from PTP1.8) the analytics still seems to be working ok in HTML5. I'm not sure if it's the new krpano version or how PTP2 uses the underlying krpano javascript code that is causing the issues...


Please let us know if you end up having any success with the html5!

85

Donnerstag, 24. Juli 2014, 14:56

Hummm seems to work now .... Strange *huh*

Anoril

Schüler

Beiträge: 69

Wohnort: Paris, France

Beruf: Game Developer and Photographer

  • Nachricht senden

86

Mittwoch, 13. August 2014, 13:19

*** FIXED ***

Hi!

I just bought this plugin. Installation is quite fast and simple... But it does not work :(

I run into the same issue as Udrh does: no automatic tracking but if I trigger manually it using "plugin[ga].trackpageview(...)".

I found a fast and simple fix: for some reason, certainly due to my website structure, the %HTMLPATH% failed to point to the correct place and the following configuration did not work.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<krpano>
	<!-- Plugins -->
	<plugin name="ga"
			url="%SWFPATH%/plugins/analytics.swf"
			alturl="%SWFPATH%/plugins/analytics.js"
			keep="true"
			preload="true"
			
			debug="true"
			account="UA-1009XXXX-XX"
			prefix="/ChateauDeLaVierge"
			>
		<pano name="Armelle"
			  xmlurl="%HTMLPATH%/Vierge0.xml"
			  pageurl="/Armelle/"
			  />
		<pano name="Edmond"
			  xmlurl="%HTMLPATH%/Vierge1.xml"
			  pageurl="/Edmond/"
			  />
	</plugin>
</krpano>


Removing the %HTMLPATH% or replacing it with %SWFPATH% appeared to solve my problem!

Paul.
« Quidquid latine dictum sit, altum sonatur »
Pentax stuff.

87

Montag, 20. Oktober 2014, 11:32

Google Analytics plug-in only tracks first panorama

Hi

I'm trying to get the Google Analytics Plugin to work on my html5 virtual tours made in krpano. Here's what I have in analytics.xml

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
<krpano>
	<!-- Plugins -->
	<plugin name="ga"
        	url="plugins/analytics.swf"
        	alturl="plugins/analytics.js"
        	keep="true"
        	preload="true"
      	 
        	debug="true"
        	account="UA-XXXXXXXX-1"
        	prefix="/virtualtour_on_iphone_and_ipad"
        	>
  	 


<pano name="reception"
 	scene="scene_reception"
 	pageurl="/reception"
/>

<pano name="garden room"
 	scene="scene_garden_room"
 	pageurl="/garden_room"
/>

<pano name="lounge"
 	scene="scene_lounge"
 	pageurl="/lounge"
/>

<pano name="restaurant"
 	scene="scene_restaurant_2011_night"
 	pageurl="/restaurant"
/>


</plugin>

	<action name="activatepano">
    	if (%1 != null,
        	if (get(action[mainloadpano].content) !== null,
            	if (%2 == xml, mainloadpano(%HTMLPATH%/%1), mainloadpano(%1)),
                	if (%2 == xml, loadpano(%HTMLPATH%/%1,null,MERGE,BLEND(1)), loadscene(%1,null,MERGE,BLEND(1)));
                	wait(blend);
        	)
    	);
	</action>


	<action name="add_scenes_to_analytics">
    	for (set(i,0), i LT scene.count, inc(i),
      	if (get(scene[get(i)].url), copy(data[a.url].content, scene[get(i)].url), copy(data[a.url].content, scene[get(i)].name));
      	plugin[ga].addPano(get(scene[get(i)].name), get(scene[get(i)].name), true, get(data[a.url].content));
    	);
	</action>




</krpano>



Which all works, except it's only tracking the first pano. Locally in control panel it tracks it but online in Analytics it doesn't.

Could it be I'm using an old version of KR Pano? (1.08.14) I would just upgrade it but then the way the licensing works it look like I have to recreate the panos!

Just noticed some other people had this exact same problem quite recently - cseel, in particular. Did you ever find a fix for it?

Many thanks

Masten

88

Montag, 20. Oktober 2014, 13:46

Hi,

Can you check into your tour.xml file if you have this :

Quellcode

1
2
3
4
5
6
7
8
	<action name="startup">
	<!--delayedcall(0.1, add_scenes_to_swfaddress());-->
	if(startscene === null, copy(startscene,scene[0].name));
	loadscene(get(startscene), null, MERGE);
	delayedcall(0.1, add_scenes_to_swfaddress());
	add_scenes_to_analytics();
	activatepano(my-first-scene);
	</action>


You need to change "my-first-scene" by your first scene name.

Hope it help ! *smile*

89

Dienstag, 21. Oktober 2014, 12:35

Hi there

Thanks for your reply. I tried that in tour.xml but it said

add_scenes_to_swfaddress() not recognised

or something like that in the control panel. I don't have swfaddress running. I don't know what this or how to use it. If you could explain how to use it that'd be great. Do I just get the swfaddress.js file from the demo? then what do I put in the swfaddress.xml file. I've looked at that and it's full of parameters I don't understand.

I also tried doing it manually using the trackpageviews action but I have no idea how to integrate that as the documentation doesn't really explain how you use it. Is this right? I've just put one of the scenes in. Well actually, it cant be right as it doesn't work. Still not tracking anything except the first pano

Many thanks

Masten

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
<krpano>
	<!-- Plugins -->
	<plugin name="ga"
			url="plugins/analytics.swf"
			alturl="plugins/analytics.js"
			keep="true"
			preload="true"
			
			debug="true"
			account="UA-XXXXXXXX-1"
			prefix="/virtualtour_on_iphone_and_ipad"
			>
		
<pano name="reception"
	 scene="scene_reception"
	 pageurl="/reception"
/>

<pano name="garden room"
	 scene="scene_garden_room"
	 pageurl="/garden_room"
/>

<pano name="lounge"
	 scene="scene_lounge"
	 pageurl="/lounge"
/>

<pano name="restaurant"
	 scene="scene_restaurant_2011_night"
	 pageurl="/restaurant"
/>

<pano name="Suite_bedroon"
	 scene="scene_suite_bedroom_day"
	 pageurl="/suite_bedroom"
/>

</plugin>

	<action name="activatepano">
		if (%1 != null,
			if (get(action[mainloadpano].content) !== null,
				if (%2 == xml, mainloadpano(%HTMLPATH%/%1), mainloadpano(%1)),
					if (%2 == xml, loadpano(%HTMLPATH%/%1,null,MERGE,BLEND(1)), loadscene(%1,null,MERGE,BLEND(1)));
					wait(blend);
			)
		);
	</action>


	<action name="add_scenes_to_analytics">
		for (set(i,0), i LT scene.count, inc(i), 
		  if (get(scene[get(i)].url), copy(data[a.url].content, scene[get(i)].url), copy(data[a.url].content, scene[get(i)].name));
		  plugin[ga].addPano(get(scene[get(i)].name), get(scene[get(i)].name), true, get(data[a.url].content));
		);
	
</action>


	<action name="trackpageviews">
	plugin[ga].trackpageview(/suite_bedroom/);
		
	</action>


</krpano>

90

Dienstag, 21. Oktober 2014, 13:24

Just realised I haven't added anything to tour.xml except the plugin include. All I have so far in the startup action is this

<action name="startup">
loadscene(get(scene[0].name), null, MERGE);
buildthumbs();
openthumbs();
</action>

Which is just relevant to the tour, not the analytics tracking. Should there be something else in here to do with the analytics plugin?

Thanks

Masten

91

Dienstag, 21. Oktober 2014, 16:03

It's Ok. I got it work. It just needed this:

add_scenes_to_analytics();
activatepano(scene_reception);

adding to the startup action in tour.xml

Thanks

Masten

92

Freitag, 16. Januar 2015, 11:10

Hi,
I just try my luck also with the plugin analytics.
Everything works fine for the moment, except in HTML5. Google analytics receives only the first pano, and nothing after that ... So no worries in flash with the same code.



Does anyone can confirm that the plugin works correctly in the current version of KrPano?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Riphur« (16. Januar 2015, 13:37)


93

Mittwoch, 22. April 2015, 11:26

No news ?

94

Montag, 7. September 2015, 02:38

Google Analytics

Good morning,

I have tried the plugin on one of my Panotour Pro generated tours, and am having a bit of trouble getting it to work. I have turned on debug and it appears that the plugin is loading, but I don't see any Google Analytics data being shown on my analytics page, in either the Realtime or the historical data section.

The tour is at www.travishale.com/resources/pano/CB_04-09-15.html and this has the one XML file with all of the pano's defined within it, where the pano names are Chrome_Bumpers_1 through to Chrome_Bumpers_4, am I missing something with my Analytics.xml file, which has been set through the include and everything else. I have the full version of the software as well, not the demo so not sure what is going wrong?

I have also tried the demo path for URL, as well as this one and it makes no difference, the files are in that directory though.

Many thanks,

Quellcode

1
2
<krpano>	<!-- Plugins -->	<plugin name="ga"			url="plugins/analytics.swf"			alturl="plugins/analytics.js"			keep="true"			preload="true"			debug="true"			account="UA-12953XXX-6"			prefix="/CB040515"			>		<pano name="Chrome_Bumpers_1"				scene="p1"			   pageurl="/CB1/"			  />		<pano name="Chrome_Bumpers_2"				scene="p2"			   pageurl="/CB2/"			  />		<pano name="Chrome_Bumpers_3"				scene="p3"			   pageurl="/CB3/"			  />		<pano name="Chrome_Bumpers_4"				scene="p4"			   pageurl="/CB4/"			  />			  	</plugin>		<!-- Actions -->	<action name="activatepano">		if (%1 != null,			if (get(action[mainloadpano].content) !== null,				if (%2 == xml, mainloadpano(%HTMLPATH%/%1), mainloadpano(%1)),					if (%2 == xml, loadpano(%HTMLPATH%/%1,null,MERGE,BLEND(1)), loadscene(%1,null,MERGE,BLEND(1)));					wait(blend);			)		);	</action>
	<action name="add_scenes_to_analytics">		for (set(i,0), i LT scene.count, inc(i), 		  if (get(scene[get(i)].url), copy(data[a.url].content, scene[get(i)].url), copy(data[a.url].content, scene[get(i)].name));		  plugin[ga].addPano(get(scene[get(i)].name), get(scene[get(i)].name), true, get(data[a.url].content));		);	</action></krpano>

95

Montag, 7. September 2015, 08:23

Hey I could be wrong but I wouldn't waste your time with it. Got way too frustrated with that plugin ages ago and life's too short ;-)

Have ago with this code at the post below

http://www.krpano.com/forum/wbb/index.ph…ight=#post61463


Thanks to Zephyr it seems to be way less hassle

There was a slight mistake on the code though which Zephyr corrected to make the javascript parse. It missed a )

This is the corrected code

Quellcode

1
<events onxmlcomplete=" js(ga('send','pageview', get(xml.scene) ) );" />

96

Montag, 7. September 2015, 08:57

This Plugin definitely should be taken from the plugin-site *attention* There has´nt been an update or any support in years and the makers mail adress does´nt seem to work either.

@Zephyr
Thanks a ton for your JS-Alternative! *thumbsup* Maybe you should publish a JS-based plugin, working in Flash and HTML5. I would buy it for sure...
*throwing money at the screen*

Nupsi

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

97

Montag, 7. September 2015, 19:33

There's no reason for a plugin.. Google analytics just works with krpano js fine.

You could build a simple function so that it gets added to some normal pano events simple with txtadd

txtadd(someonclick, someonclick, ';js(ga("send", "event", ',get(my_event_category),', ',get(my_event_action),', {"page": ',get(my_project_name)','}));');
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

98

Montag, 22. Februar 2016, 04:05

Event Tracking (Share Buttons)

Just a quick question, I am using the automatic code to send the pano scene name to Google Analytics when a pano is visited.
I prefer the automatic approach rather than having to define each pano, but want to now track events for the pano being shared.

Is anyone tracking the social sharing clicks (e.g. facebook, google, email and so on) and if so could they share the code?

99

Dienstag, 24. Mai 2016, 07:51

For Google Analytics Plugin and SWFAddress Plugin

Hello Jaydee,

- What the use of Google Analytics Plugin and SWFAddress Plugin.

- How to know about how many users check our site
- how many user watch this video
- how many time watch

I need all information about this point

How Can I use or check in local please help me.

So I can get all things using Google Analytics Plugin and SWFAddress Plugin???

Timescale

Schüler

Beiträge: 120

Wohnort: Netherlands

Beruf: Archaeologist, Timescale R&D

  • Nachricht senden

100

Dienstag, 24. Mai 2016, 13:26

Hello Jaydee,

- What the use of Google Analytics Plugin and SWFAddress Plugin.

- How to know about how many users check our site
- how many user watch this video
- how many time watch

I need all information about this point

How Can I use or check in local please help me.

So I can get all things using Google Analytics Plugin and SWFAddress Plugin???
Please don't dubble-post. It won't get you an answer more quickly.

It is not entirely clear what you want from your post. Could you perhaps rephrase it?