#684 Statistic Module

Parent Category:
Documentation
Category:
GAnalytics
Last Updated:
Allon Moritz (laoneo), Tuesday, 21 August 2012 07:55 (Tuesday, 21 August 2012)
Created:
Saturday, 07 April 2012 11:54 (Saturday, 07 April 2012)
Hits:
5210

Introduction

The statistics module (mod_ganalytics_stats) shows statistics on a module position as a chart or list. The data is loaded through ajax to ensure best performance. Optional it is possibel to show the visitors on top of the statistics.

module-stats-preview 

Options

Basic options
NameDescriptionDefaultType
Select Profile The profile to show the data from. GAnalytics
Data The data collection which should be shown. If advanced is choosen, the dimensions, metrics and sort values from the advanced section are fetched.
The following options are available:
  1. Visits by traffic source
  2. Visitors per day
  3. Visits by browser (including mobile phones)
  4. Visits by country
  5. Time on site by region
  6. Top pages by pageviews
  7. Advanced
Visits by traffic source List
Date Range The date range of the data, if the advanced value is choosen then the start and end date from the advanced parameter section is set as start date.
The following options are available:
  1. Day
  2. Week
  3. Month
  4. Year
  5. Advanced
Month List
Max Result The maximum number of result (handle this carefully). 10 Text
Title Format Here you can modify the title. The following attributes are provided:<br>{{accountname}}, {{profilename}}, {{dimensions}}, {{metrics}}, {{username}} <p>Dimension: {{dimensions}} <br/> Metric: {{metrics}}</p> Textarea2
Display Mode If the data should be displayed as list or image.
The following options are available:
  1. List
  2. Image
List Radio
Show Date Selection Should the user be able to define the date range of the stats data.
The following options are available:
  1. Yes
  2. No
Yes Radio
Show Chart Selection Show the chart selection list.
The following options are available:
  1. Yes
  2. No
Yes Radio
Color The color of the images. EB8F33 Color
Filter type The type of filter which should be applied:<ol><li>Empty: No filter</li><li>Actual page: Stats of the actual page</li><li>Advanced: Define your own filter in the advanced options</li></ol>
The following options are available:
  1. Actual page
  2. Advanced
List
Advanced options
NameDescriptionDefaultType
Dimensions The dimension. ga:date Dimensionscombo
The metrics. The metrics. ga:visits Metricscombo
Sort The order and direction to retrieve the results. Can have multiple dimensions and metrics (ascending: ga:visits, descending: -ga:visits). Sortcombo
Filter The filter value. For example if the dimension is City [ga:city] the filter must be ga:city==Paris (regular expressions are also supported eg. ga:city=~^New.*). Text
Date Range If the date range parameter is set to advanced, the date range defined here will be used (everything passed here must match the requirements of http://php.net/manual/en/function.strtotime.php). For example set -3 month and the data from the last three months will be displayed started from today. If this parameter is set the following start date and end date will be ignored. -3 month Text
Start Date If the date range parameter is set to advanced, the data will be displayed started by this date. Calendar
End Date If the date range parameter is set to advanced, the data will be displayed end by this date (if it is empty the actual day will be used). Calendar

Comments (0)

Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information Ok Decline