Swiftpack.co - Analyticious/analytico as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Analyticious.
Analyticious/analytico begining
Super simple analytics tool for iOS. No drama guaranteed 🤌
⭐️ 3
🕓 10 weeks ago
iOS macOS
.package(url: "https://github.com/Analyticious/analytico.git", from: "begining")
PLEASE NOTE - project is in early stages of development.
Coworking opened. Drop a message if you're interested !!

Analytico

Analytico is super-simple analytics data collector written in pure Swift 5.

Swift

As they said:

Use it wisely ☝️

Usage

Using Analytico is pretty darn simple. All you can do are following two things:

  • trace your custom metrics in iOS friendly way
  • collect traced metrics for further analysis

Trace screen visits using screenVisit and event enums.

Analytico.trace(.screenVisit(name: "Signup", metaData: nil)
Analytico.trace(.event("Signup completed", metaData: "Method: AppleSignin")

Granually trace app usage with interaction enum.

Analytico.trace(.interaction("Help button clicked"))

Capture app specific events with systemEvent enum.

Analytico.trace(.systemEvent(.appStart), metaData: "App initialized...")
Analytico.trace(.systemEvent(.iOS.locationUpdate))

collect gathered data for futher processing

Analytico.collect()     // still in progress, don't rely on this untill v1.0 !!

And that's pretty much it... 🤷🏻‍♂️

Docs comming soon !! Expect them here.

Installation

Analytico can easily be installed using SPM.

Quick links:

Package name: Analytico
URL: https://github.com/vexy/analytico.git

Package.swift example:

let package = Package(
    name: "YOUR_PACKAGE",
    products: [
        // ....
    ],
    dependencies: [
        .package(url: https://github.com/vexy/analytico.git, branch: "main"),
    ],
    targets: [
        .target(
            name: "YOUR_TARGET_NAME",
            dependencies: ["Analytico"]
        ),
    ]
)

Keep your dependency tree with main branch untill official, v1.0 release comes up.

Contribution

... is more than welcome :) Feel free to fire an issue or start discussion at your will. Wikis will be used for documentation.

Licence

Analytico has been published under MIT Licence.
Check the LICENCE file for more information.


Copyright (C) 2022 Veljko Tekelerovic
PGP: 6302 D860 B74C BD34 6482 DBA2 5187 66D0 8213 DBC0

GitHub

link
Stars: 3
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

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