{"repo":"brightdigit/AviaryInsights","free":true,"listed":false,"github":"https://github.com/brightdigit/AviaryInsights","clone":"git clone https://github.com/brightdigit/AviaryInsights.git","description":"Easy to use Swift Package for recording pageviews and custom events for Plausible.","language":"Swift","stars":21,"topics":["analytics","plausible","plausible-analytics","swift","swift-package-manager"],"license":"MIT","category":"analytics","readme_excerpt":"AviaryInsights Easy to use Swift Package for recording pageviews and custom events for Plausible. Table of Contents ================= Features Requirements Installation Usage Plausible Client Sending an Event Asynchronous Throwing Method Synchronous Method Optional Request Headers Diagnostics License Features Plausible provides simple and meaningful insights into your website's traffic without invading the privacy of your visitors. However, integrating Plausible into a Swift application can be complex and time-consuming. AviaryInsights simplifies this process, allowing you to focus on building your application while still gaining the valuable insights that Plausible provides. - Event tracking Define and track custom events in your application. - Revenue tracking Track revenue data associated with events. - Plausible API integration Send your events to the Plausible API for further analysis. - Discard diagnostics Observe HTTP status and x-plausible-dropped so you can tell when Plausible accepted vs discarded an event. - Error handling Route fire-and-forget delivery failures through an onError handler (defaults to printing). - Attribution overrides Supply the visitor's IPAddress and ask Plausible to echo back the address it counted. Requirements Apple Platforms - Xcode 15 or later - Swift 5.9 or later - iOS 13 / watchOS 6 / tvOS 13 / visionOS 1 / macCatalyst 13 / macOS 10.15 or later deployment targets Linux / Windows / Android - Swift 5.9 or later - Default URLSessionTransport","default_branch":null,"files":null,"tree":[],"storefront":"/r/brightdigit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/brightdigit/AviaryInsights/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."}