vtex-apps/google-tag-manager

Subcategory information

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
A client is asking us to add to the CategoryView event the subCategoryId and the subCategoryName

Describe the solution you'd like
The current Pixel Message does not report the whole category branch where the user is, but only
department and category, while when you visit a product page, the product message reports it.

Describe alternatives you've considered
We can guess it from the URL but it may be imprecise and does not match categories found in the product message.

Additional context