--- a/ckanext/ga_report/templates/ga_report/publisher/read.html
+++ b/ckanext/ga_report/templates/ga_report/publisher/read.html
@@ -5,61 +5,71 @@
- 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 Usage
+
Site Usage ${usage_nav('Datasets')}
- ${usage_nav(c.publisher.title, c.publisher)}
+
+
-
+
+
+
+ Dataset
+ Views
+ Downloads
+
+
+
+
+ ${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.name))}
+
+ ${views}
+ ${downloads}
+
+
+
+
-
-
- Dataset
- Views
- Visits
-
-
-
- ${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.name))}
-
- ${views}
- ${visits}
-
-
-
-
+