{"repo":"aptabase/aptabase-swift","free":true,"listed":false,"github":"https://github.com/aptabase/aptabase-swift","clone":"git clone https://github.com/aptabase/aptabase-swift.git","description":"Swift SDK for Aptabase: Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps","language":"Swift","stars":45,"topics":["analytics","ios","privacy","privacy-first","swift"],"license":"MIT","category":"analytics","readme_excerpt":"Swift SDK for Aptabase Instrument your apps with Aptabase, an Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps. Install Option 1: Swift Package Manager Add the following lines to your Package.swift file: Option 2: Adding package dependencies with Xcode Use this guide to add aptabase-swift to your project. Use https://github.com/aptabase/aptabase-swift for the URL when Xcode asks. Option 3: CocoaPods Aptabase is also available through CocoaPods. To install it, simply add the following line to your Podfile: Usage If you're targeting macOS, you must first enable the Outgoing Connections (Client) checkbox under the App Sandbox section. First, you need to get your App Key from Aptabase, you can find it in the Instructions menu on the left side menu. Initialized the SDK as early as possible in your app, for example: Afterward, you can start tracking events with trackEvent : A few important notes: 1. The SDK will automatically enhance the event with some useful information, like the OS, the app version, and other things. 2. You're in control of what gets sent to Aptabase. This SDK does not automatically track any events, you need to call trackEvent manually. - Because of this, it's generally recommended to at least track an event at startup 3. The trackEvent function is a non-blocking operation as it runs in the background. 4. Only strings and numbers values are allowed on custom properties Preparing for Submission to Apple App Store When submitting y","default_branch":null,"files":null,"tree":[],"storefront":"/r/aptabase","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aptabase/aptabase-swift/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}