I’m the developer of the Opencart Extension to tie into Matomo , and I’m doing a new version to support the latest Opencart & Matomo. There’s one last thing that I’m not sure what to do - more from a principle point of view, rather than anything technical.
I’m thinking about the special case of a Product View on an eCommerce product page, as per;
But when someone arrives at that Product Page solely doing a Site Search. In this case, there is no “Category” they have navigated through.
What do you think I should track as the category in this situation? I see a few options, but none seem ideal;
- Leave as ‘false’, with no specific category. This means the eCommerce ‘Product Categories’ report has this (and any resulting sales!) marked against “Product Category not defined”.
- Pick a category the product is in, say a primary one. This seems problematic and is my least favourite. This seems biased, and what do I pick the category based on?
- Report the array of all the categories the product is in. Again, slightly problematic, but not nearly as much. This means the statistics for the categories may be skewed. It will show as a view/sale against this category where this category itself was never viewed and arguably shouldn’t get the sale? e.g. if using the conversion rates of Categories to improve landing pages, the figures won’t only reflect the effect of the category page.
- Report a separate ‘special’ category e.g. “Site Search Result”. This is similar to 1) but superior as it doesn’t have a nasty undefined. It also keeps the statistics for the category pages more accurate if using for the landing pages, but maybe less accurate if you want to see how many items sold which exist in a specific category.
It all depends what the intent is and what users usually use the “Product Categories” report for, which I don’t know as much about. Any opinions based on your experience?