google analytics - ga:productCategoryHierarchy vs ga:productCategoryLevelXX -
i'm having trouble understanding difference between ga:productcategoryhierarchy , ga:productcategorylevelxx. unfortunately the documentation doesn't tell either, imho.
i'm trying represent product in category taxonomy, e.g.:
product a: category 1 -> category 1.1 -> category 1.1.2 product b: category 1 -> category 1.2 -> category 1.2.1
i tried separating categories /
in ga:productcategoryhierarchy field, didn't work (i.e. showed whole string in ga reports, no possibility drill down individually).
i've somewhere read can use ga:productcategorylevelxx (and substitute xx number between 1 , 5) , pass category names that.
is there best practice? variant using?
when using enhanced ecommerce send in full product category delimited /
, example: apparel/men/t-shirts
.
when using core reporting api can query both category hierachy ga:productcategoryhierarchy
return full string apperel/men/t-shirts
or can query ga:productcategorylevelxx
, example querying ga:productcategorylevel2
return men
.
Comments
Post a Comment