[OWA] Open Web Analytics for Gallery2 - New Module

padams66

Joined: 2007-12-25
Posts: 10
Posted: Sun, 2008-03-02 05:27

Hi All -

Just wanted make everyone aware of a new analytics module for Gallery. Open Web Analytics is an open source web analytics framework that provides web analytics to Wordpress, Mediawiki, and now Gallery2!

Gallery2 specific features include:

- Installs as a Gallery2 module
- Tracks Gallery2 users and visits
- Tracks all album and photo page views

General Web Analytics Features:

- Track Page views, visits, and unique visitors over time
- Track unique, new, repeat visitors over time
- Multiple Web Site Support - track any number of web sites and view statistics in aggregate or by site
- Click-streams - view the actual click-stream of each visitor
- Click Tracking - Track where exactly on a web page users are clicking and view clicks by browser type
- Click Heat Maps - view a heat map of where users are clicking on your web pages
- Google Maps - map your visitors on Google Maps
- Google Earth (KML) - view your visitors in Google Earth via a KML file export
- RSS/ATOM subscription tracking - track unique feed readers, reader types, and feed requests
- Visitor Aging - understand the age of your repeat visitors.
- Canned and Custom Time Periods - generate reports using pre-defined reporting periods or custom date ranges
- Referring Page Analysis - View the title, anchor text, and surrounding text of inbound links from referring web pages
- View visits by user agent
- Track entry and exit pages
- Track pages by custom page types

You can grab the latest code from here: http://downloads.openwebanalytics.com/owa/owa_1_1_0rc4.tar

You can find out more about OWA here: http://www.openwebanalytics.com

enjoy!

 
govegan

Joined: 2006-06-15
Posts: 17
Posted: Tue, 2008-03-04 19:45

how do I install this on my gallery?

[update]
oh I see
http://wiki.openwebanalytics.com/index.php?title=Installation#Gallery_2.2_Installation

[update2]
hmm I get the folowing error when installing the plugin:

syntax error
[Break on this error] var result =
AdminPlugins.js (line 121)

I placed this on bottom of the theme.tpl file of the matrix theme:

{g->callback type="owa.pagetags"} {$block.owa.pagetags.owaData}
</body>
</html>

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Thu, 2008-04-24 22:23

hummmmmm I test this module but I have a problem with the user tracking. On owa dashbord under Visitor I only have -1246234199 and other thing like that not very good to identify a user

 
slow2start

Joined: 2008-05-30
Posts: 3
Posted: Fri, 2008-05-30 23:54

OWA looks like it should collect some very interesting and needed information however it has some problems.

The first is how a user is identified. Rather than associated the user with the actual name that gallery2 has for the user, it uses some meaningless number which does not tell you what user actually did the logged activity.

Another problem I have noticed is that it does not capture all activity. I had a user login in, navigate to my movies section, and watch a couple of movies. Firestats correctly logged every step of this access to my gallery, but not a single record showed up in the OWA analisis. However when I, as the admin, used the exact same URL's captured by firestats my activity did show up in the stats of OWA. It looks like OWA does not capture all accesses for some reason.

I'm not really sure I have OWA installed correctly because I have no idea what the "header" location is to place the special code it says to install. Clearly this modue was not intended for a common user/admin, but rather a professional code writer who was trained in whatever code this stuff is written in. I placed the code at the bottom of the "theme.css" for the matrix theme since that is the theme I am using throught my gallery2. It would be nice if the installation instructions were clear on exactly where to place this code.

Another problem with the OWA module is that none of the icons show up because it is looking for them in a directory that is not located where it is looking for them at. I am running a shared multi site gallery2 and OWA is looking for the images in the directory of the actual site in the "modules" subdirectory which does not exist there. That module is located in the base installation of gallery2 which in not even at the url for the different web sites. Since it is able to fine the OWA modules in the correct place, why is it looking for the images at another location rather than in the base location where everything is correctly installed. Has this been checked out using a multisite install of gallery2?

There is no mention of requirements for the OWA module or any restrictions. Can you run "firestats" and "user stats" along with OWA?

It appears that user statistics were totally ignored when gallery2 was written as there are now several modules made available that hit at different kinds of statistice to track a users usage of the gallery2 web site. One nice thing would have been to place more specific information about a users activity in the actual users display by adding a few more things like last login and maybe number of logins as a very minimum. The only thing on that page now is when they originally registered as a user.

OWA appears to have most everything a webmaster would need to monitor usage with the exception it does not link to an actual user of gallery2 using a real users name.

 
padams66

Joined: 2007-12-25
Posts: 10
Posted: Wed, 2009-01-21 08:10

User name tracking is fixed in SVN's trunk fort hose that case to try it. The fix will also roll out in a tarball for v1.2rc1 in a few days. If anyone would like to test things just let me know.

As for installation. OWA installs just like any other Gallery2 plugin. Just drop the OWA directory inside Gallery's module directory and install it from Gallery's plugin roster screen.

There is an option for not tracking visits from users that are in the admin group. You can turn this off as well in v1.2rc1 when that ships.

 
thefirs

Joined: 2009-03-10
Posts: 1
Posted: Tue, 2009-03-10 09:48

Hi,

First post - be gentle.
Have tried installing OWA - followed the instructions at the OWA WIKI - but the plugin is unresponsive are there any known issues with this release?

Inserted this:-
{g->callback type="owa.pagetags"} {$block.owa.pagetags.owaData}
</body>
</html>

Copied the owa folder to the modules folder on the server.
The plug-in appears in the admin plugin list but nothing happens when I try and install.

Any pointers appreciated.
==========

Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.8 cgi
Webserver = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database = mysqlt 5.0.67-community, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, Ffmpeg, Getid3, ImageMagick, jpegtran, LinkItemToolkit, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux web10.justhost.com 2.6.18-92.1.13.el5PAE #1 SMP Wed Sep 24 20:07:49 EDT 2008 i686
Default theme = siriux
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1
Rows in GalleryAccessMap table = 31
Rows in GalleryAccessSubscriberMap table = 442
Rows in GalleryUser table = 8
Rows in GalleryItem table = 438
Rows in GalleryAlbumItem table = 33
Rows in GalleryCacheMap table = 0

 
olkio

Joined: 2009-04-23
Posts: 1
Posted: Thu, 2009-04-23 17:33

I also followed the instructions on the OWA wiki.

When I un-tar the file owa_1_2_0rc2.tar in the modules folder, it created the folder owa.

I added the code from the OWA wiki to the end of the themes.tpl
{g->callback type="owa.pagetags"} {$block.owa.pagetags.owaData}
</body>
</html>

However, when I login as admin and go to the plugins page, I get the following error:

Error (ERROR_BAD_PLUGIN) : Class owaModule does not exist

* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 102 (gallerycoreapi::error)
* in modules/core/classes/GalleryCoreApi.class at line 273 (gallerypluginhelper_simple::loadplugin)
* in modules/core/SiteAdmin.inc at line 77 (gallerycoreapi::loadplugin)
* in modules/core/classes/GalleryView.class at line 293 (siteadminview::loadtemplate)
* in main.php at line 465 (siteadminview::doloadtemplate)
* in main.php at line 104
* in main.php at line 88

I tried changing the folder owa to OWA, but still had the same error. Is there another step to add the activate the plugin?

Any help would be appreciated.

Thanks,
Gary