we are implementing Adobe Analytics for our web shops, based on AEM and Adobe Commerce.
We already implemented successfully data pushes from the shops Data Layer, over Data Collection to Adobe Analytics.
We use the method "s.products in AppMeasurement and the Analytics extension custom code editor" desribed in the following documentation for "products":
Until now we skipped the category field because of one problem:
In Adobe Commerce it is possible to have a single product lying within multiple categories.
And we realy want to track all of that categories.
But it seems that the Category field under s.product just allows us to set only one category.
How can we manage to track multiple categories for the same product?
Thanks in advance!
I don't think you can technically modify the category portion of s.products string with multiple categories. Have you thought about using the merchandising evars instead?
So you are correct that the s.products notation only allows for a single category to be passed. Some people will create Merchandising eVars to fill this need, others will use Classifications, and use the product SKU to populate the categories later (this way also allows you to re-classify the products if needed).