DEPRECATED: Instant Analytics brings full Google Analytics support to your Twig templates and automatic Craft Commerce integration with Google Enhanced Ecommerce.
nystudio107\instantanalytics\services\addCommerceProductDetailView()
Expects a product or variant element, but here we only pass a string or null, which breaks the whole logic.
I fixed the types for the argument.
In the 3rd version there is was no strict type for the argument
Description
nystudio107\instantanalytics\services\addCommerceProductDetailView()
Expects a product or variant element, but here we only pass a string or null, which breaks the whole logic. I fixed the types for the argument.In the 3rd version there is was no strict type for the argument
Related issues
https://github.com/nystudio107/craft-instantanalytics/issues/75