--- a/ckanext/ga_report/templates/ga_report/publisher/read.html +++ b/ckanext/ga_report/templates/ga_report/publisher/read.html @@ -3,43 +3,91 @@ xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> - Analytics for ${g.site_title} + + + Usage by Dataset + + + + + + + + + + + + + + + ${ga_sidebar(download_link=h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport',action='dataset_csv',id=c.publisher_name or 'all',month=c.month or 'all'))} + + + +
  • Site Analytics
  • +
  • Datasets
  • +
  • ${c.publisher.title}
  • +
    + +
    -

    Analytics for ${c.publisher.title}

    +

    + Site-wide + | + Publishers + | + Datasets +

    -

    Top 20 most viewed datasets

    -

    Note: this data does not include API calls

    -
    -
    - + + + - -
    -
    + +
    + + +

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

    +
    + +

    Statistics for all months:

    +
    +
    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}
    +
    -

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

    - - - - - - - - - - - - - - -
    DatasetViewsVisits
    ${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.name))} - ${views}${visits}
    - +