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

  }

  private func getEmbedderProperties() -> String? {
    let capabilities = [
      "omsdk": OMIDDailymotionSDK.versionString(),
      "ompartner": DMPlayerViewController.omidPartnerName,
      "omversion": DMPlayerViewController.omidPartnerVersion
    ]
    let embedderProperties = EmbedderProperties(version: DMPlayerViewController.version, capabilities: capabilities)
    guard let encodedData = try? JSONEncoder().encode(embedderProperties) else { return nil }
    return String(data: encodedData, encoding: .utf8)


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 {
