From 41c9d93510dfaa7750e532b4454a027c7443ef9d Mon Sep 17 00:00:00 2001 From: CleverUnderDog <37074703+CleverUnderDog@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:28:47 +0000 Subject: [PATCH] Add grandTotal/revenue to trackCartUpdate --- lib/src/matomo.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/matomo.dart b/lib/src/matomo.dart index 6c05fab..807fc17 100644 --- a/lib/src/matomo.dart +++ b/lib/src/matomo.dart @@ -706,6 +706,7 @@ class MatomoTracker { num? taxAmount, num? shippingCost, num? discountAmount, + num? grandTotal, String? pvId, String? path, Campaign? campaign, @@ -724,6 +725,7 @@ class MatomoTracker { taxAmount: taxAmount, shippingCost: shippingCost, discountAmount: discountAmount, + revenue: grandTotal pvId: _inferPvId(pvId), path: _inferPath(path), campaign: campaign,