How to show vendor name in addition to product/SKU i.e. "vendor - product1"

Hi together,
we have woocommerce and the matomo ecommerce-module activated - product-tracking works.

But: We have a multivendor-site and these vendors have products with the same name.

How can we add the vendor name to the product so that we can analyze the vendor/product combination in matomo?

Or: can we else filter products by vendor in an easy way in matomo?

Thanks for your help!

I’m looking the same answer, I tried put the client how a category in ecommerce, but i was not can filter sku item by client, because is not a segment

Hi @elbrick.salazar @phil3

I did eCommerce order tracking, and for the products tracking inside the order, I used following code snippet.

_paq.push(['addEcommerceItem',
  "123456789", // (required) SKU: Product unique identifier
  product_name // (optional) Product name
  [" "], // list of categories
  product_price, // (Recommended) Product Price
  1 // (Optional - Defaults to 1 quantity)
]);

So in the above code, I can concatenate the vendor name with product name and on reporting side I can use the contains operator to filter the specific vendors’ products.

Hope, this will help you! Thanks!

1 Like

Hi @phil3 ,

You could try the solution suggested by @Naser_Aslam or you could use a custom dimension and pass the name of the vendor along with the visit, so that it is possible to filter the data based on vendor.

Please review https://matomo.org/docs/custom-dimensions/