Search…

X3 Photo Gallery Support Forums

Search…
 
PhilUrlaub
Topic Author
Posts: 2
Joined: 21 Sep 2008, 06:59

statistics for imagevue

03 Nov 2008, 14:57

Hi,

is it possible to add some statistics service e.g. google analytics ?

I have installed awstats, a little php tool which interprets my apache access log file. Unfortunatly I can't see the accesses for serveral pictures and folders.

But in the log file I find something like:
/gallery/imagevue.php?a=files&path=content/xAbout/

I beleve awstats ignores these entrys because they have no valid URL.

I just want to see the pageviews for every pichture.

Has someone an idea howto include google analytics? Or a litte script to do this task ?

Hope you can help me.
Regards,

Phil
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

05 Nov 2008, 00:51

Good question - We were thinking of integrating some basic stats directly native to the gallery sooner or later. I am not sure if standard statistics modules are able to support the gallery in other ways, because it is a flash gallery and doesn't really have traditional "pages".

However, the good news is that google analytics automatically supports stats for our gallery with help from the SWFAddress javasacript module we are using. The SWFAddress module in imagevue creates pages like this: "gallery/#/content/folder/imageName.jpg" and they are stored in google analytics stats.

Basically, you must sign up for google analytics(of course) and simply insert the code snippet into "imagevue/templates/index.gallery.phtml"

Here are some related topics:
viewtopic.php?t=3825
viewtopic.php?t=3780
viewtopic.php?t=3489
 
MorningWood
Experienced
Posts: 60
Joined: 13 Nov 2008, 14:31

17 Nov 2008, 09:16

Karl,

so if i understand it correctly, if i want some more stats than the single page, i need to use SWFAddress ?(in combo with google analytics)

Thanks in advance
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

21 Nov 2008, 20:18

MorningWood wrote:so if i understand it correctly, if i want some more stats than the single page, i need to use SWFAddress ?(in combo with google analytics)
Yes - Basically since we are already using SWFAddress, you only need to add google analytics.