--- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -3,36 +3,72 @@ xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> - Site analytics + + + Site usage + + + + + + + + +
  • -

    Statistics

    -

    It is possible to export the analytics data as a CSV file, which contains all of the information for ${c.month_desc}

    +

    Download

    +

    + Download as CSV
    +

    +
  • + -
    -

    Site statistics

    +

    Site Usage

    + ${usage_nav('Site-wide')}
    - - + + ${month_selector(c.month, c.months, c.day)} + +
    @@ -42,106 +78,82 @@ Name Value + History - + ${name} ${value} - - - - -

    * Values are rounded up to 2 decimal places.

    -
    -
    - - - - - - - - - +
    NameValue
    ${name}${value} + + ${','.join([y for x,y in graph])} + +
    -
    - - - - - - - - - - - -
    NameValue
    ${name}${value}
    +
    + ${rickshaw_graph(c.browser_versions_graph,'browser-versions')} +

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

    + ${stat_table(c.browser_versions)} +
    +
    + ${rickshaw_graph(c.browsers_graph,'browsers')} + ${stat_table(c.browsers)} +
    +
    + ${rickshaw_graph(c.os_graph,'os')} + ${stat_table(c.os)} +
    +
    + ${rickshaw_graph(c.os_versions_graph,'os_versions')} + ${stat_table(c.os_versions)} +
    +
    +

    Number of visits that were referred from social networks

    + ${social_table(c.social_referrer_totals)}
    - - - - - - - - - - - -
    NameValue
    ${name}${value}
    + ${rickshaw_graph(c.social_networks_graph, 'social_networks')} +

    Percentage of visits that were referred from these social networks

    + ${stat_table(c.social_networks, 'Visits')}
    - - - - - - - - - - - -
    NameValue
    ${name}${value}
    + ${rickshaw_graph(c.languages_graph,'languages')} + ${stat_table(c.languages)}
    - - - - - - - - - - - -
    NameValue
    ${name}${value}
    + ${rickshaw_graph(c.country_graph,'country')} + ${stat_table(c.country)}
    +
    +
    + - - - - - - + + + - - - -