PlausibleSwift

0.3.0

an implementation of Plausible Analytics event tracking for Swift
nickoneill/PlausibleSwift

What's New

0.3.0: First public release

2023-07-04T01:11:50Z

Support for events, page views and custom properties for Plausible Analytics

PlausibleSwift

An implementation of Plausible Analytics pageview and event tracking for Swift. Originally created for the 5 Calls companion app.

Usage

Configure a site that is connected to Plausible, then track a pageview event:

let plausible = PlausibleSwift(domain: "example.site")
plausible.trackPageview(path: "/")

Or, track an arbitrary event:

plausible.trackEvent(event: "clicked-donate", path: "/donate")

Description

  • Swift Tools 5.4.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Nov 08 2024 16:13:30 GMT-1000 (Hawaii-Aleutian Standard Time)