--- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -7,46 +7,70 @@ 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)} + +
    @@ -56,84 +80,48 @@ Name Value + History - + ${name} ${value} + + + ${','.join([y for x,y in graph])} + +
    -
    - - - - - - - - - - - -
    NameValue
    ${name}${value}
    -
    -
    - - - - - - - - - - - -
    NameValue
    ${name}${value}
    +
    +

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

    + ${stat_table(c.browser_versions)} +
    +
    + ${stat_table(c.browsers)} +
    +
    + ${stat_table(c.os)} +
    +
    + ${stat_table(c.os_versions)} +
    +
    +

    Number of visits that were referred from social networks

    + ${social_table(c.social_referrer_totals)}
    - - - - - - - - - - - -
    NameValue
    ${name}${value}
    +

    Percentage of visits that were referred from these social networks

    + + ${stat_table(c.social_networks, 'Visits')}
    - - - - - - - - - - - -
    NameValue
    ${name}${value}
    + ${stat_table(c.languages)}
    - - - - - - - - - - - -
    NameValue
    ${name}${value}
    + ${stat_table(c.country)}
    @@ -144,16 +132,29 @@
    - - + +