From: Ross Jones Date: Thu, 25 Oct 2012 11:17:04 +0000 Subject: Minor template tweaks X-Git-Url: http://maxious.lambdacomplex.org/git/?p=ckanext-ga-report.git&a=commitdiff&h=ae8ef255ba7b46ba15ab4f65a16ee5905c514aec --- Minor template tweaks --- --- a/README.rst +++ b/README.rst @@ -26,7 +26,7 @@ 1. Activate you CKAN python environment and install this extension's software:: $ pyenv/bin/activate - $ pip install -e git+https://github.com/okfn/ckanext-ga-report.git#egg=ckanext-ga-report + $ pip install -e git+https://github.com/datagovuk/ckanext-ga-report.git#egg=ckanext-ga-report 2. Ensure you development.ini (or similar) contains the info about your Google Analytics account and configuration:: --- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -4,6 +4,12 @@ py:strip=""> Publisher Analytics for ${g.site_title} + + +
  • +

    Publishers

    +
  • +

    Publisher Analytics

    --- a/ckanext/ga_report/templates/ga_report/publisher/read.html +++ b/ckanext/ga_report/templates/ga_report/publisher/read.html @@ -4,6 +4,22 @@ py:strip=""> Analytics for ${g.site_title} + + +
  • +

    ${c.publisher.title}

    +

    + The table shows the top 20 most viewed datasets belonging to ${c.publisher.title}. +

    +

    + As well as showing the number of views within ${c.month_desc}, it will also show the + number of visitors that viewed each dataset. +

    +

    +

    The dataset list page for ${c.publisher.title} was viewed ${c.publisher_page_views} times during ${c.month_desc}

    +

    +
  • +

    Analytics for ${c.publisher.title}

    @@ -21,8 +37,6 @@
    - -

    ${c.publisher.title} dataset list was viewed ${c.publisher_page_views} times in ${c.month_desc}

    --- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -4,6 +4,14 @@ py:strip=""> Site analytics + + +
  • +

    Statistics

    +
  • +

    It is possible toexport the data as CSV, which contains all of the information for ${c.month_desc}

    + +

    Site statistics

    @@ -18,8 +26,6 @@
    - -

    Export data as CSV