Closed simonschaufi closed 5 months ago
Float values not allowed for addMatomoMethodCall. See https://matomo.org/faq/reports/advanced-manually-tracking-ecommerce-actions-in-matomo/#example-of-tracking-the-ecommerce-order
addMatomoMethodCall
Allow float values
$event->addMatomoMethodCall( 'trackEcommerceOrder', "000123", // (Required) orderId 10.99, // (Required) grandTotal (revenue) 9.99, // (Optional) subTotal 1.5, // (optional) tax 1, // (optional) shipping false // (optional) discount );
@simonschaufi Thanks for the report. Floats are now possible with the 2.1.1 release.
Current behavior
Float values not allowed for
addMatomoMethodCall
. See https://matomo.org/faq/reports/advanced-manually-tracking-ecommerce-actions-in-matomo/#example-of-tracking-the-ecommerce-orderExpected behavior/output
Allow float values
Steps to reproduce
Environment
Possible Solution
Allow float values