Api - CustomVariables.getCustomVariables - get OTHER data

Hi,

i set some custom variables on my piwik trackpage.

those custom variables are stored inside my piwik server.

i want to obtain all the other data stored with the same pagetrack, not only the custom data . How to do this?

this is the code.


_paq.push(['setCustomVariable',1,"canPlayWebm",1,"visit"]);
_paq.push(['setCustomVariable',2,"canPlayAppleHls",0,"visit"]);
_paq.push(['trackPageView']);

so, i can obtain those data with this api calls :


http://myserver.it/index.php?module=API&method=CustomVariables.getCustomVariables&idSite=4&period=month&date=today&format=JSON&token_auth=xxx

but how to obtain other data collected?

i want to query piwik asking what devices has customVariables number 1 ( canPlayWebm ) true and what not.

any suggestions?

thanks.

i want to query piwik asking what devices has customVariables number 1 ( canPlayWebm ) true and what not.

for this you must call Devices API report, and pass a custom segments for your custom variable. See: http://piwik.org/docs/segmentation/ and http://developer.piwik.org/api-reference/segmentation