Swiftpack.co -  GroupeMINASTE/DigiAnalytics as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Realtime web analytics with privacy and simplicity at its core.
.package(url: "https://github.com/GroupeMINASTE/DigiAnalytics.git", from: "1.0.2")


License Issues Pull Requests Code Size

Realtime web analytics with privacy and simplicity at its core.


Add https://github.com/GroupeMINASTE/DigiAnalytics.git to your Swift Package configuration (or using the Xcode menu: File > Swift Packages > Add Package Dependency)

Register your app

Go to https://digianalytics.fr/websites/new to register your app.

You need to choose a domain name or subdomain to associate your app with. In this example, we will use https://app.example.com/ as website URL.


Setup a shared instance of your analytics object:

import DigiAnalytics

extension DigiAnalytics {

    static let shared = DigiAnalytics(baseURL: "https://app.example.com/")


Then, send requests where you want to get analytics (e.g. in a view controller viewDidAppear(_:))

// Will appear on dashbord as `https://app.example.com/home`
DigiAnalytics.shared.send(path: "home")


Stars: 0
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

DigiAnalytics Package v1.0.2
4 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API