#684 Statistic Module

Parent Category:
Last Updated:
Allon Moritz, Tuesday, 21 August 2012 07:55 (Tuesday, 21 August 2012)
Saturday, 07 April 2012 11:54 (Saturday, 07 April 2012)


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.



Basic options
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
Advanced options
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)

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.