diff --git a/unstoppable-ios-app/domains-manager-ios/Modules/PurchaseDomains/Checkout/PurchaseDomainsCheckoutView.swift b/unstoppable-ios-app/domains-manager-ios/Modules/PurchaseDomains/Checkout/PurchaseDomainsCheckoutView.swift index 6711a914b..c7a0d3566 100644 --- a/unstoppable-ios-app/domains-manager-ios/Modules/PurchaseDomains/Checkout/PurchaseDomainsCheckoutView.swift +++ b/unstoppable-ios-app/domains-manager-ios/Modules/PurchaseDomains/Checkout/PurchaseDomainsCheckoutView.swift @@ -500,6 +500,7 @@ private extension PurchaseDomainsCheckoutView { Task { setLoading(true) do { + let totalPrice = cartStatus.totalPrice let walletsToMint = try await purchaseDomainsService.getSupportedWalletsToMint() guard let walletToMint = walletsToMint.first(where: { $0.address == selectedWallet.address }) else { throw PurchaseError.failedToGetWalletToMint @@ -507,7 +508,7 @@ private extension PurchaseDomainsCheckoutView { try await purchaseDomainsService.purchaseDomainsInTheCartAndMintTo(wallet: walletToMint) purchaseDomainsPreferencesStorage.checkoutData.discountCode = "" - logAnalytic(event: .didPurchaseDomains, parameters: [.value : String(cartStatus.totalPrice), + logAnalytic(event: .didPurchaseDomains, parameters: [.value : String(totalPrice), .count: String(1)]) let pendingPurchasedDomain = PendingPurchasedDomain(name: domain.name, walletAddress: walletToMint.address)