Skip to content

Repository files navigation

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")

About

an implementation of Plausible Analytics event tracking for Swift

Resources

Stars

18 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages