Expand my Community achievements bar.

SOLVED

Fill product dimension with multiple categories

Avatar

Level 1

Hello,

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":

 

https://experienceleague.adobe.com/docs/analytics/implementation/vars/page-vars/products.html?lang=e...

 

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!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

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

View solution in original post

2 Replies

Avatar

Level 2

Hi DS-DFA,

 

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? 

 

Regards,

Ritesh Gupta

www.thelearningproject.in

Avatar

Correct answer by
Community Advisor and Adobe Champion

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