Use the method below to log category pageviews
Just put the value of the relevant category in the categoryID variable. Do not use it as a category tree.
var data = { "OM.clist" : categoryID }; visilabsApi.customEvent("Category View", data);
You can review the sample usage in line 19. on this page.