         allowOMSDK = false
       }
     }
-
-    if allowIDFA {
-      deviceIdentifier = advertisingIdentifier()
-    }
+    self.allowIDFA = allowIDFA
     if parameters.contains(where: { $0.key == DMPlayerViewController.loggerParameterKey }) {
       loggerEnabled = true
     }

  
  private var webView: WKWebView!
  private var baseUrl: URL!
  private var deviceIdentifier: String?
  private var loggerEnabled: Bool = false
  fileprivate var isInitialized = false
  fileprivate var videoIdToLoad: String?


private struct EmbedderProperties: Codable {
  let version: String
  let capabilities: Capabilities
}

private struct Capabilities: Codable {
  let omsdk: String
  let ompartner: String
  let omversion: String
  let tracking: Tracking
}

private struct Tracking: Codable {
  let atts: UInt?
  let deviceID: String?
  let trackingAllowed: Bool?
  let limitAdTracking: Bool?
}

private enum OMSDKError: Error {
