mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 11:13:28 +01:00
Adds Patreon-related values to app analytics
This commit is contained in:
@@ -29,6 +29,9 @@ extension AnalyticsManager
|
|||||||
case tintColor
|
case tintColor
|
||||||
case sourceIdentifier
|
case sourceIdentifier
|
||||||
case sourceURL
|
case sourceURL
|
||||||
|
case patreonURL
|
||||||
|
case pledgeAmount
|
||||||
|
case pledgeCurrency
|
||||||
}
|
}
|
||||||
|
|
||||||
enum Event
|
enum Event
|
||||||
@@ -64,7 +67,10 @@ extension AnalyticsManager
|
|||||||
.size: appBundleSize?.description,
|
.size: appBundleSize?.description,
|
||||||
.tintColor: app.storeApp?.tintColor?.hexString,
|
.tintColor: app.storeApp?.tintColor?.hexString,
|
||||||
.sourceIdentifier: app.storeApp?.sourceIdentifier,
|
.sourceIdentifier: app.storeApp?.sourceIdentifier,
|
||||||
.sourceURL: app.storeApp?.source?.sourceURL.absoluteString
|
.sourceURL: app.storeApp?.source?.sourceURL.absoluteString,
|
||||||
|
.patreonURL: app.storeApp?.source?.patreonURL?.absoluteString,
|
||||||
|
.pledgeAmount: app.storeApp?.pledgeAmount?.description,
|
||||||
|
.pledgeCurrency: app.storeApp?.pledgeCurrency
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user