Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

CustomVariables how to exclude labels from results (1 reply)

$
0
0
Hi,

we are using the customVariables to record our usergroups.

We would like to do two operations: exclude GROUP_ANON from the result and then get the sum of remaining visits. (sum=38)

Here is our raw results (json)
[
{
"label": "Test - GROUP_ADMIN",
"nb_visits": 35,
},
{
"label": "Test - GROUP_ANON",
"nb_visits": 5,
},
{
"label": "Test - GROUP_TEST",
"nb_visits": 3,
}
]


We tried multiples regex with "filter_pattern" but we were never able to hide only the GROUP_ANON node. Is there a way to do it easilly?

Thank you!

Viewing all articles
Browse latest Browse all 4243

Trending Articles