     enum CodingKeys: String, CodingKey {
         case bundles
         case userAgent = "user_agent"
-        case idfa
+        case vendorId = "vendor_id"
         case osVersion = "os_version"
         case deviceType = "device_type"
         case attributionInfo = "apple_search_ads"

import Foundation
import UIKit
import iAd
import AdSupport

// swiftlint:disable function_parameter_count


        DispatchQueue.global(qos: .background).async { [weak self] in
            guard let `self` = self else { return }
            self.getAttributionDetails { attributionInfo in
                let vendorId = UIDevice.current.identifierForVendor!.uuidString
                let payload = MetricsPayload(data: MetricsPayloadData.launch(LaunchData(bundles: self.bundles,
                                                                                        userAgent: userAgent,
                                                                                        vendorId: vendorId,
                                                                                        attributionInfo: attributionInfo)))
                self.sendMetrics(payload: payload)
            }
