Google Analytics Embedded Dashboard Filter -


i want filter data being displayed on google analytics dashboard. have dashboard embedded on wordpress page. of data coming through has dimension value of '(not set)' , want remove data view. here code , have labeled think statement go.

device = new gapi.analytics.googlecharts.datachart({       reporttype: 'ga',       query: {          'dimensions': 'ga:devicecategory',          'metrics': 'ga:sessions',          'start-date': startdate,          'end-date':enddate,          'max-results': 6,           sort: '-ga:sessions',          /* filter code here */       },       chart: {          type: 'table',          container: devicescont,          options: {width: '100%'}       }  }); 

does have idea how this?

your filter syntax following

filter: 'ga:devicecategory!=(not set)' 

you can test query out using query explorer. , future reference, check out filter syntax documentation on google analytics developer site.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -