jquery - Multiple Metrics from Google Analytics API -


i trying query , display multiple metrics google analytics embed api simple table. have adapted code from demo far, i'm struggling display table in addition these charts. here came far

viewselector.on('viewchange', function(data) {   var title = document.getelementbyid('view-name');   title.textcontent = data.property.name + ' (' + data.view.name + ')';    // start tracking active users view.   activeusers.set(data).execute();    // render of charts view.   rendermonthovermonthchart(data.ids);   renderyearoveryearchart(data.ids);   rendertopsourcechart(data.ids);   renderdevicechart(data.ids);   basicdata(data.ids); });  function basicdata(ids) {   query({     'ids': ids,     'metrics': 'ga:newusers', 'ga:bouncerate', 'ga:pageviewspersession',      'ga:avgsessionduration'     'start-date': '30daysago'     'end-date': 'yesterday'   }) 

... there embed code before , animation code after (see document above reference). basically, don't know how display these results in table. appreciated. thank you!


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -