--- a/ckanext/ga_report/templates/ga_report/publisher/read.html +++ b/ckanext/ga_report/templates/ga_report/publisher/read.html @@ -5,61 +5,89 @@ - Analytics for ${g.site_title} + Usage by Dataset - -
  • -

    Publishers

    -

    - Dataset views records the number of times a specific dataset page has been viewed. Visits records the number of unique site visits. -

    -

    - Note: this data does not include API calls. -

    -
  • + + + + + + + + + + + -
  • -

    Download

    -

    - Download as CSV
    -

    -
  • + + ${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}
  • +
    -

    Site Usage

    +

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

    - ${usage_nav(c.publisher.title, c.publisher)} -
    -
    - + + + - -
    -
    + +
    + + +

    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}
    +
    - - - - - - - - - - - - - -
    DatasetViewsVisits
    ${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.name))} - ${views}${visits}
    - +