--- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -7,37 +7,38 @@ Site usage + + + + + -
  • -

    Site-wide

    -

    - Note: this data does not include API calls and some values have been rounded up to 2 decimal places. Where there are a large number of browser versions they have been grouped together. -

    -
  • Download

    - Download as CSV
    + Download as CSV

  • +

    Site Usage

    - - ${usage_nav('Site-wide', None)} + ${usage_nav('Site-wide')}
    - - + ${month_selector(c.month, c.months, c.day)} + +
    @@ -60,7 +61,16 @@
  • Versions
  • -
  • Social Networks
  • + + +
  • Languages
  • Country
  • @@ -70,16 +80,23 @@ Name Value + History - + ${name} ${value} + + + ${','.join([y for x,y in graph])} + +
    +

    Note: Where a browser has a large number of versions, these have been grouped together.

    ${stat_table(c.browser_versions)}
    @@ -91,8 +108,14 @@
    ${stat_table(c.os_versions)}
    +
    +

    Number of visits that were referred from social networks

    + ${social_table(c.social_referrer_totals)} +
    - ${stat_table(c.social_networks)} +

    Percentage of visits that were referred from these social networks

    + + ${stat_table(c.social_networks, 'Visits')}
    ${stat_table(c.languages)} @@ -109,17 +132,29 @@
    - - + +