--- a/ckanext/ga_report/templates/ga_report/publisher/read.html +++ b/ckanext/ga_report/templates/ga_report/publisher/read.html @@ -3,62 +3,99 @@ xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> - Analytics for ${g.site_title} + - + Usage by Dataset -
  • -

    ${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 for ${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 the selected time period

    -

    View the publishers leaderboard

    -
  • + + + + + + + + + + + + + + +
  • Site Analytics
  • + +
  • Publishers
  • +
  • ${c.publisher.title}
  • +
    + +
  • Usage By Dataset
  • +
    -

    Analytics for ${c.publisher.title}

    -

    Top 20 most viewed datasets of ${c.month_desc}

    -

    Note: this data does not include API calls

    + +   Download as CSV + +

    Site Usage + ${c.publisher.title} + All datasets +

    -
    -
    - - -
    -
    +
    +
    +
    + + ${rickshaw_graph(c.graph_data,'dataset-downloads',debug=True)} + +
    +
    +
    +
    + +

    Statistics for ${h.month_option_title(c.month,c.months,c.day)}:

    +
    + +

    Statistics for all months

    +
    +
    +
    - - - - - - - - - - - - - -
    DatasetViewsVisits
    ${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.name))} - ${views}${visits}
    + ${month_selector(c.month, c.months, c.day)} + + +
    +
    +
    No page views in this period.
    + + + + + + + + + + + + + + +
    DatasetViewsDownloads
    + ${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.name))} + ${views}${downloads}
    +
    + + ${ga_footer()}
    - +