title: Tracking by device type Google Analytics
body: <p>Hi how can i get the metrics by device type like this list? i'm using Javascript api 
  <a href="https://i.stack.imgur.com/mQKT4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mQKT4.png" alt="enter image description here"></a></p>
  
  <p>I searched the query in 
  <a href="https://developers.google.com/analytics/devguides/reporting/core/dimsmets#q=de&amp;mode=api&amp;cats=user,session,traffic_sources,adwords,goal_conversions,platform_or_device,geo_network,system,social_activities,page_tracking,content_grouping,internal_search,site_speed,app_tracking,event_tracking,ecommerce,social_interactions,user_timings,exceptions,content_experiments,custom_variables_or_columns,time,doubleclick_campaign_manager,audience,adsense,channel_grouping,related_products" rel="nofollow noreferrer">https://developers.google.com/analytics/devguides/reporting/core/dimsmets#q=de&amp;mode=api&amp;cats=user,session,traffic_sources,adwords,goal_conversions,platform_or_device,geo_network,system,social_activities,page_tracking,content_grouping,internal_search,site_speed,app_tracking,event_tracking,ecommerce,social_interactions,user_timings,exceptions,content_experiments,custom_variables_or_columns,time,doubleclick_campaign_manager,audience,adsense,channel_grouping,related_products</a></p>
  
  <p>but i have not found also look at there
  <a href="https://ga-dev-tools.appspot.com/query-explorer/" rel="nofollow noreferrer">https://ga-dev-tools.appspot.com/query-explorer/</a></p>
  
  <p>this is my simple query:</p>
  
  <pre><code>    gapi.client.analytics.data.ga.get({
          'ids': 'ga:' + profileId,
          'start-date': '2015-09-06',
          'end-date': '2015-09-08',
          //'metrics': 'ga:sessions'
          'metrics':'ga:visits,ga:sessions,ga:pageviews,ga:browser'
        }).
  
  then(function(response) {
  </code></pre>