Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Fill product dimension with multiple categories


Level 1


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!

2 Replies


Level 2



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? 



Ritesh Gupta


Community Advisor

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).