The issue is that carts and view items are collected properly, but orders not. Debugging, the order seems to be collected, but there is no information about the order in analytics, despite ecommerce reports are enabled.
Ok, got it. I have to change the data type for item_id. Are there any ways to transform the data into string? The dataLayer variable is generated through the plugin GTM4WP, so I have activated an option to add it a preffix to convert into string, but it only works for “id”. “item_id” remains unchanged.
Regarding your question about the container, I am launching the Piwik PRO container inside a GTM container, after given the consent for “analytics” cookies. I am using CookieYes as a cookie manager, so I disabled all the consent options in my tags to get all of them centralized in CookieYes consent. Is this an issue for Piwik PRO?
In this case I presume you can store the item_id in a DL variable and create a custom js variable which would change the item_id to a string. I don’t think you can then use the variable it in the product mapping since its looking for the name of the keys (I might be wrong though so might be worth to try) but you can use our solution template and add it there. (you’ll have more flexibility with the code etc.)