This will show how to change the category attached to products in Enhanced Ecommerce hits to use the native Shopify product type setting
Inside of the Admin > Themes > Your Live theme > snippets > navigate to elevar-body-end.liquid.
You will then need to find the instances where we have the collection page URL set as the category that looks like this:
In the theme.liquid there are:
- (2) productDetailView instances
- (1) addToCart instance
- (1) collectionImpression instance
And then in checkout.liquid there is (1) one instance.
It involves changing the are circled in red above to instead be:
This will then set your product type as the primary category shown in the product list reports so you can have the full CTR => purchase data for product & product type combinations.
Here are the 4 placements:
And then inside of the checkout.liquid you need to change this category setting to be: