The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
DigiAnalytics Package v1.0.3
2 years ago
Adding support for watchOS
DigiAnalytics Package v1.0.2
2 years ago
DigiAnalytics Package v1.0.1
2 years ago
DigiAnalytics Package for iOS v1.0.0
2 years ago
# DigiAnalytics
Realtime web analytics with privacy and simplicity at its core.
## Installation
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](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.
## Usage
Before sending any request, set your app website URL:
```swift
DigiAnalytics.shared.baseURL = "https://app.example.com/"
```
Then, send requests where you want to get analytics (e.g. in a view controller `viewDidAppear(_:)`)
```swift
DigiAnalytics.shared.send(path: "home") // Will appear on dashbord as `https://app.example.com/home`
```