From 59eb80e7be034ae2049d2a5f6b85d2656534bb70 Mon Sep 17 00:00:00 2001 From: Paul Dempsey <76729591+paul-daniel-dempsey@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:17:21 +0100 Subject: [PATCH] feat: final amount paid (incl promoCode) passed to Google Tag Manager --- .../assets/pages/[countryGroupId]/components/thankyou.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support-frontend/assets/pages/[countryGroupId]/components/thankyou.tsx b/support-frontend/assets/pages/[countryGroupId]/components/thankyou.tsx index 51c444ef6e..74ead4d06f 100644 --- a/support-frontend/assets/pages/[countryGroupId]/components/thankyou.tsx +++ b/support-frontend/assets/pages/[countryGroupId]/components/thankyou.tsx @@ -150,7 +150,7 @@ export function ThankYouComponent({ : order.paymentMethod; successfulContributionConversion( - payment.originalAmount, + payment.finalAmount, // This is the final amount after discounts contributionType, currencyKey, paymentMethod, @@ -158,7 +158,7 @@ export function ThankYouComponent({ ); // track conversion with QM sendEventContributionCheckoutConversion( - payment.originalAmount, + payment.originalAmount, // This is the amount before discounts contributionType, currencyKey, );