diff --git a/frontend/src/screens/App/screens/CreditPurchaseModal/SuccessMessage.tsx b/frontend/src/screens/App/screens/CreditPurchaseModal/SuccessMessage.tsx index f8e2ccd0..87f2b28c 100644 --- a/frontend/src/screens/App/screens/CreditPurchaseModal/SuccessMessage.tsx +++ b/frontend/src/screens/App/screens/CreditPurchaseModal/SuccessMessage.tsx @@ -28,9 +28,11 @@ export default function ThankYou({ recordEvent({ action: 'Completes Credit Purchase', category: 'Colorization', - value: + value: Math.round( parseInt(queryParams.get('quantity'), 10) * - parseInt(queryParams.get('unitPrice'), 10), + parseInt(queryParams.get('unitPrice'), 10) * + 0.01 + ), nonInteraction: true, }); }, [isOpen, queryParams]); diff --git a/frontend/src/screens/App/screens/TipJar/ThankYou.tsx b/frontend/src/screens/App/screens/TipJar/ThankYou.tsx index 43b0428e..9cb0184e 100644 --- a/frontend/src/screens/App/screens/TipJar/ThankYou.tsx +++ b/frontend/src/screens/App/screens/TipJar/ThankYou.tsx @@ -17,7 +17,7 @@ export default function ThankYou({ recordEvent({ action: 'Completes Tip', category: 'Tip Jar', - value: Number(tipAmount), + value: Math.round(Number(tipAmount) * 0.01), nonInteraction: true, }); window.localStorage.setItem('hasTipped', 'true');