Skip to content

Commit

Permalink
fix(analytics): adding in a way to get mac analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock committed Jan 22, 2024
1 parent 4df7c1f commit 33a30aa
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ public class PocketSnowplowTracker: SnowplowTracker {
.scale
]

if ProcessInfo.processInfo.isiOSAppOnMac {
trackerConfiguration.devicePlatform = .desktop
trackerConfiguration.appId = "pocket-mac-next"
}

let optionalTracker = Snowplow.createTracker(
namespace: appID,
network: networkConfiguration,
Expand Down

0 comments on commit 33a30aa

Please sign in to comment.