HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

ocPortal Tutorial: Activity statistics for your site

Written by Philip Withnall, ocProducts
{!DOC_STATISTICS}



The administration interface

The administration interface resides quite obviously in the adminzone, under the name "admin_stats". On a default ocPortal installation, the statistics link section is in the "Usage" section of the admin zone.

Installing geo-location data

Thumbnail: The menu link to install geolocation data

The menu link to install geolocation data

Thumbnail: The message shown when installing geolocation data

The message shown when installing geolocation data

{!DOC_INSTALL_GEOLOCATION_DATA}

Important note

Do not disturb the geolocation data installation process. You will be informed when it is complete.

Once the geo-location data is installed, all the extra statistics can be used.

Page view statistics

{!DOC_PAGE_STATISTICS}

Per-page breakdowns

The per-page breakdowns list more detailed statistics for each page, in various forms, but all have a graph. The following statistics are present:
  • Views per hour
  • Views per day
  • Views per week
  • Views per month
  • Browsers used to view this page
  • Referrers to this page
  • Operating Systems used to view this page
  • Regionalities this page has been viewed from

Users online statistics

{!DOC_USERS_ONLINE_STATISTICS}

Submission statistics

{!DOC_SUBMISSION_STATISTICS}

Top referrers

{!DOC_TOP_REFERRERS}

Top Google keywords

{!DOC_INSTALL_GEOLOCATION_DATA}

Page load times

{!DOC_LOAD_TIMES}

Download statistics

Thumbnail: The download statistics box

The download statistics box

Download statistics are generally available on an individual download page, but one way to mass together download statistics is to use one of the download blocks: most popular downloads, and most recently-added downloads.

Most popular downloads

Thumbnail: The most popular downloads block

The most popular downloads block

Thumbnail: The most recently-added downloads block

The most recently-added downloads block






The most popular downloads block obviously displays the most popular (i.e. most frequently downloaded) downloads. In a default ocPortal installation, it's found on the front page, but can be added using the following Comcode:

Code

[block]main_top_downloads[/block]
If you want to change the number of downloads shown from the default, add a parameter:

Code

[block="10"]main_top_downloads[/block]

When rendered, these blocks also show how many downloads each listed download has received, and when they were added.

Most recently-added downloads

The most-recently added downloads block does indeed display the most recently-added downloads. In a default ocPortal installation, it's found on the front page, but can be added using the following Comcode:

Code

[block]main_recent_downloads[/block]
If you want to change the number of downloads shown from the default, add a parameter:

Code

[block="10"]main_recent_downloads[/block]
When rendered, this block also shows when each listed download was added, and how many downloads it has received.

Other statistics

Thumbnail: View statistics are shown for various forms of content

View statistics are shown for various forms of content

All content will automatically store download/view statistics as appropriate, which will usually be displayed on the respective item page.
An example of this would be news items: each news item records how many times it is viewed, and displays this number on its view page.







Concepts

SVG
Scaleable Vector Graphics, a text-markup-based graphics format that allows infinite scalability of graphics without texture loss due to being vector-based (co-ordinate-delimited shapes) instead of pixel based (specific data for each pixel).
Geo-location
The process of using some type of individually-identifiable information to find out where in the world somebody is. (Don't worry: none of this data is sent to ocProducts.)

See also