     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"

private struct LaunchData: Encodable {
    let bundles: [String: String]
    let userAgent: String
    let idfa: String
    let attributionInfo: AnyCodable
    let osVersion: String = E.osVersion
    let deviceType: String = UIDevice.current.model + (E.isSimulator ? "-simulator" : "")

        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)
            }
