We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52b073 commit 8e73b9aCopy full SHA for 8e73b9a
Sources/SegmentAppsFlyer/AppsFlyerDestination.swift
@@ -213,12 +213,10 @@ extension AppsFlyerDestination: AppsFlyerLibDelegate {
213
"name": campaign,
214
"ad_group": adgroup
215
]
216
- let campaignStr = (campaign.compactMap({ (key, value) -> String in
217
- return "\(key)=\(value)"
218
- }) as Array).joined(separator: ";")
+
219
let properties: [String: Codable] = [
220
"provider": "AppsFlyer",
221
- "campaign": campaignStr
+ "campaign": try? JSON(campaign)
222
223
analytics?.track(name: "Install Attributed", properties: properties)
224
0 commit comments