From 3fa90adb18bf45d85a52cb63cb201ed7900702db Mon Sep 17 00:00:00 2001 From: Mateusz Fraczek Date: Thu, 12 Oct 2023 08:36:53 +0200 Subject: [PATCH] Update parameters --- Sources/SegmentFirebase/FirebaseDestination.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/SegmentFirebase/FirebaseDestination.swift b/Sources/SegmentFirebase/FirebaseDestination.swift index 1a5dc44..8690508 100644 --- a/Sources/SegmentFirebase/FirebaseDestination.swift +++ b/Sources/SegmentFirebase/FirebaseDestination.swift @@ -238,11 +238,11 @@ private extension FirebaseDestination { "order_id": FirebaseAnalytics.AnalyticsParameterTransactionID, "currency": FirebaseAnalytics.AnalyticsParameterCurrency] - static let campaignMappedKeys = ["source": "utm_source", - "medium": "utm_medium", - "name": "utm_campaign", - "term": "utm_term", - "content": "utm_content"] + static let campaignMappedKeys = ["source": FirebaseAnalytics.AnalyticsParameterSource, + "medium": FirebaseAnalytics.AnalyticsParameterMedium, + "name": FirebaseAnalytics.AnalyticsParameterCampaign, + "term": FirebaseAnalytics.AnalyticsParameterTerm, + "content": FirebaseAnalytics.AnalyticsParameterContent] }