Commit 1c67f391 authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Merge remote-tracking branch 'refs/remotes/origin/gh-pages'

Conflicts:
	embl-news/news-stories.html
parents 8dbdfc24 1d865eb6
......@@ -4,33 +4,27 @@
<script src="//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.1/js/injectEBIFramework.js"></script>
<script type="text/javascript">injectEBIFramework();</script>
<meta charset="utf-8">
<title> Analytics dashboards &lt; EBI Pattern library &lt; EMBL-EBI</title>
<title> Analytics dashboards &lt; Analytics dashboards &lt; EMBL-EBI</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.1/libraries/tablesorter/dist/js/jquery.tablesorter.min.js"></script>
</head>
<body>
<body>
<div id="content" role="main" class="row">
<h2><a href="//ebiwd.github.io/EBI-Pattern-library" title="Back to EBI Pattern library homepage">EMBL Weekly news dashbaord</a></h2>
<h2>EMBL News weekly dashbaord</h2>
<section>
<!-- Your menu structure should make a breadcrumb redundant, but if a breadcrump is needed uncomment the below -->
<!--
<nav aria-label="You are here:" role="navigation">
<ul class="breadcrumbs">
<li><a href="#">Home</a></li>
<li><a href="#">Parent</a></li>
<li class="disabled">Disabled</li>
<li><a href="//github.com/ebiwd/analytics-dashboards">EMBL-EBI Analytics dashboards</a></li>
<!-- <li class="disabled">Disabled</li> -->
<li>
<span class="show-for-sr">Current: </span> This page
</li>
</ul>
</nav>
-->
<div class="row" id="main-content-area">
<ul class="accordion" data-accordion data-multi-expand="true">
<li class="accordion-item" data-accordion-item>
......@@ -40,10 +34,10 @@
<ul>
<li>JS link/event tracking</li>
<ul>
<li> Need to add list of outbound link clicks/next link clicks with link tracking</li>
<li>Add ratio of clicks on content to overall page views</li>
<li>Additional metrics and info might come in handy, such as pages (on the EMBL websites) visited from this page, searches performed, other actions taken (e.g. share button clicked, newsletter subscription etc.).</li>
</ul>
<li> Perhaps we should add desktop vs mobile stats per article?</li>
<li>Perhaps we should add desktop vs mobile stats per article?</li>
</ul>
</div>
</li> <li class="accordion-item" data-accordion-item>
......@@ -51,17 +45,11 @@
<div class="accordion-content" data-tab-content>
<ul>
<li>Referers</li>
<ul>
<li>Aggregates stats for groups (social, newsletters, other)?</li>
<li>polish display of URls</li>
<li>merge mobile and desktop into one (i.e. Facebook vs m.facebook)</li>
</ul>
<li>Referers: Aggregate stats</li>
<li>And I’m wondering whether we should have a line in the chart pointing to an average traffic..or the green/orange/red indicator showing how the number of views relate to the average article... Like the idea of various “averages”. Instinct suggest that metric should come from a human — if you will: targets for news stories for # of visits, bounce rate, time on page, etc.</li>
<li>Lock date selector to weeks</li>
<li>Dev tasks</li>
<ul>
<li>Move to version control (github is most colab)</li>
<li>Optimise code structure</li>
<li>Expose somewhere for others to access. gh-pages? (users will still need to login to GA)</li>
</ul>
......@@ -95,7 +83,7 @@
td.tr-referals {
max-width: 400px;
overflow: hidden;
display: block;
display: block;
}
</style>
......@@ -176,7 +164,7 @@
<script>
$(document).ready(function() {
$(document).ready(function() {
// Initialise all the queries.
// This gets invoke when google is ready and when the user calls a refresh by selecting a date
// requestedOriginDate = YYYYMMDD format, ie: 20170122
......@@ -201,7 +189,7 @@ $(document).ready(function() {
shared['filters']+'',shared);
// $("#table-report").tablesorter();
// $("#table-report").tablesorter();
}
// allow the user to change the query
......@@ -221,7 +209,7 @@ $(document).ready(function() {
var userChangedDateTimeoutID;
$('#originDate').change( function () {
window.clearTimeout(userChangedDateTimeoutID); // delete any pending change that occured before the timeout cleared
userChangedDateTimeoutID = window.setTimeout(userChangedDate, 750);
userChangedDateTimeoutID = window.setTimeout(userChangedDate, 750);
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment