--- a/ckanext/ga_report/templates/ga_report/site/index.html
+++ b/ckanext/ga_report/templates/ga_report/site/index.html
@@ -8,12 +8,43 @@
Site usage
+
+
+
+
@@ -96,16 +127,20 @@
+ ${rickshaw_graph(c.browser_versions_graph,'browser-versions')}
Note: Where a browser has a large number of versions, these have been grouped together.
${stat_table(c.browser_versions)}
+ ${rickshaw_graph(c.browsers_graph,'browsers')}
${stat_table(c.browsers)}
+ ${rickshaw_graph(c.os_graph,'os')}
${stat_table(c.os)}
+ ${rickshaw_graph(c.os_versions_graph,'os_versions')}
${stat_table(c.os_versions)}
@@ -113,14 +148,16 @@
${social_table(c.social_referrer_totals)}
+ ${rickshaw_graph(c.social_networks_graph, 'social_networks')}
Percentage of visits that were referred from these social networks
-
${stat_table(c.social_networks, 'Visits')}
+ ${rickshaw_graph(c.languages_graph,'languages')}
${stat_table(c.languages)}
+ ${rickshaw_graph(c.country_graph,'country')}
${stat_table(c.country)}
@@ -150,7 +187,7 @@
fillColor: 'B7E66B'
};
$('.sparkline').sparkline('html',sparkOptions);
- });
+ });