ONO::ToolBox::Analytics

This module offers some functions that help to build local ONO website data, accessible via the Community Admin Screen within your platform project.

See ONO_FW_Community_Screen_Admin for the front end UI.

Functions

exclude();

This function helps to exclude all kinds of bots. This will, of course, not work with bots that fake their identity.

It also prevents logging unwanted URLs.

ONO::ToolBox::Analytics->exclude( );

run();

This should be called by your platform main script, each time a web page is being accessed. Only 1% of all accesses will be logged, in order to keep the log sizes small and the server load low. Note that we try to only log real users, not bots.

ONO::ToolBox::Analytics->run( $id, $year, $mon, $mday, $time, $vars_ref );
returns: ""

Sub-Modules

none

Dependencies