I'm using Google Tag Manager to track purchases on a Magento website. I've set up GTM through the Magento admin and every product related event is triggering fine (productDetails, addToCart, purchase etc...).
I'm however having an issue with the checkout process. The only product data included in the dataLayer is the product id, name, price and quantity. I would however like to have the category of the product be included as well, so that I can see directly in Analytics the products sold by category.
Is there a way to update the variables in the dataLayer for the checkout and purchase steps, and if so how? I've been scouring the web for hours but can't seem to find an answer...