'<br/><small><a class="readmore" href="https://analytics.google.com/analytics/web/#report/content-pages/a21480202w75912813p91186979/%3Fexplorer-table.filter%3D'+encodeURIComponent(analyticsResults[i].url)+'" target="_blank">View GA for this URL</small>'+
'<a class="readmore" href="https://analytics.google.com/analytics/web/#report/content-pages/a21480202w75912813p91186979/%3Fexplorer-table.filter%3D'+encodeURIComponent(analyticsResults[row].url)+'" target="_blank">View GA for this URL'+
shared['dayRange']=8;// the number of days you wish to get results for. Make this value +1 (1 week = 8 days, 2 wks = 15 days)
shared['originDate']=moment(requestedOriginDate,"YYYYMMDD");// we allow user to specify an origin date
shared['viewID']=['ga:91186979'];//The GA property we want to view: www.ebi.ac.uk
shared['clientid']='1025857412047-p3jieogi7mgkhb0dre41rm2ge3r8jn0s.apps.googleusercontent.com';// get at https://console.developers.google.com/apis/credentials
$(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