Api ecommerce and segment


#1

I use this pattern.

?module=API&method=Goals.getItemsName
&idSite=1
&period=day
&date=today
&format=JSON
&token_auth=xxxxxx
&segment=ProductCategory==electronic

See the bold text, I try to use the segment to filter ProductCategory in ecomerce but fail.

Thanks a lot.


#2

Google Analytic use

filters=ga:productCategory=~electronic

but how about Piwik ?


(Matthieu Aubry) #3

This feature is not available yet in Piwik to segment by ecommerce product category. Please create a ticket in trac for the feature request


#4

Thanks a lot.