Fill product dimension with multiple categories | Community
Skip to main content
DS-DFA
New Participant
Oct 13, 2022 11:18 AM UTC
Solved

Fill product dimension with multiple categories

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=en

 

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jennifer_Dungan
Jennifer_DunganAccepted solution
Level 2
Oct 13, 2022 2:59 PM UTC

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

2 replies

Jennifer_Dungan
Jennifer_DunganAccepted solution
Level 2
Oct 13, 2022 2:59 PM UTC

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

Translate
thelearningproject
Level 2
Oct 13, 2022 2:55 PM UTC

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

Translate