Skip to content

Super simple analytics tool for iOS. No drama guaranteed 🤌

License

Notifications You must be signed in to change notification settings

Analyticious/analytico

Repository files navigation

PROJECT IS IN VERY EARLY STAGES. CHECK PROJECTS FOR CURRENT PROGRESS
Coworking enabled and opened. Drop a message if you're interested !!

Analytico

Analytico is super-simple analytics library 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

About

Super simple analytics tool for iOS. No drama guaranteed 🤌

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages