All Projects → florent37 → AndroidAnalytics

florent37 / AndroidAnalytics

Licence: Apache-2.0 license
Analytics dispatcher for Android Applications

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to AndroidAnalytics

Generator Chisel
Chisel is a development framework for creating easy to maintain and fast WordPress websites
Stars: ✭ 233 (+529.73%)
Mutual labels:  timber
Instant-Weather
An Android weather application implemented using the MVVM pattern, Retrofit2, Dagger Hilt, LiveData, ViewModel, Coroutines, Room, Navigation Components, Data Binding and some other libraries from the Android Jetpack.
Stars: ✭ 677 (+1729.73%)
Mutual labels:  timber
Multiplatform-Log
Kotlin Multi Platform Logger, for android an ios : Logcat & print
Stars: ✭ 49 (+32.43%)
Mutual labels:  timber
slf4j-timber
SLF4J binding for Timber - a logger with a small, extensible API which provides utility on top of Android's normal Log class.
Stars: ✭ 20 (-45.95%)
Mutual labels:  timber
slf4j-timber
SLF4J binding for Jake Wharton's Timber Android logging library
Stars: ✭ 44 (+18.92%)
Mutual labels:  timber
19h47.fr
🔥
Stars: ✭ 25 (-32.43%)
Mutual labels:  timber
Timber Elixir
🌲 Great Elixir logging made easy
Stars: ✭ 226 (+510.81%)
Mutual labels:  timber
timber-js
🌲 Great Node/JS logging made easy
Stars: ✭ 43 (+16.22%)
Mutual labels:  timber
next-go
Production ready blog + boilerplate for Next.js 3.X
Stars: ✭ 255 (+589.19%)
Mutual labels:  timber
BakingApp
Udacity Android Developer Nanodegree, project 2.
Stars: ✭ 54 (+45.95%)
Mutual labels:  timber
Android-Starter-Kit
This is up-to-date android studio project for native android application, that is using modern tools and libraries.
Stars: ✭ 16 (-56.76%)
Mutual labels:  timber
pine
pine - A CLI installer for timber
Stars: ✭ 29 (-21.62%)
Mutual labels:  timber
InstantAppStarter
Starter Project Structure for Android Instant app. https://blog.mindorks.com/android-mvp-architecture-with-instant-app-support-11ba48241a82
Stars: ✭ 44 (+18.92%)
Mutual labels:  timber
Next Go
Production ready blog + boilerplate for Next.js 3.X
Stars: ✭ 254 (+586.49%)
Mutual labels:  timber
Lumberjack
Lumberjack - a customisable and extensible file/console logger for Timber
Stars: ✭ 32 (-13.51%)
Mutual labels:  timber
Marvel
Marvel Characters Android Application Assigned by smava GmbH
Stars: ✭ 227 (+513.51%)
Mutual labels:  timber
ResDelivery-Hilt-Coroutines-Mvvm-Single-Activity
This is a Sample Single Activity App (Multi Fragments) that uses Dagger-Hilt, Coroutines Flows, Paging 3 & Mvvm Clean Architecture
Stars: ✭ 28 (-24.32%)
Mutual labels:  timber
papertrail-timber
Pluggable timber tree for Papertrail logging
Stars: ✭ 20 (-45.95%)
Mutual labels:  timber
wordpress-starter
Timber (Twig) + Parceljs Bundler
Stars: ✭ 19 (-48.65%)
Mutual labels:  timber
timber-junit-rule
A highly configurable JUnit Rule that outputs Timber logs to standard output
Stars: ✭ 42 (+13.51%)
Mutual labels:  timber

AndroidAnalytics

Download

Android app on Google Play

Buy Me a Coffee at ko-fi.com

In your module Download

//not available yet
compile 'com.github.florent37:androidanalytics:1.0.0'
compile 'com.github.florent37:androidanalytics-google:1.0.0'

Register analytics providers

MainApplication.java

Analytics.registerProvider(
      new GoogleAnalyticsProvider(this, R.xml.app_tracker)
);

example of app_tracker.xml :

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="ga_trackingId" translatable="false">UA-XXXXXXX-X</string>
</resources>

Send events

MainActivity.java

Analytics.screen("MainActivity");

button.setOnClickListener(v -> {
         Analytics.event(new AnalyticsEvent()
                 .category("main")
                 .action("click")
                 .label("button")
         );
});

MainActivity.java

Analytics.screen("MainActivity");

button.setOnClickListener(v -> {
         Analytics.event("main", "click", "button");
});

Another analytics provider

Analytics
          .registerProvider(
                  new AnalyticsProvider() {
                      @Override
                      public void event(AnalyticsEvent analyticsEvent) {
                            //send it to your analytics
                      }

                      @Override
                      public void screen(String screenName) {
                            //send it to your analytics
                      }
                  }
          );

Loggin analytics provider

Analytics.registerProvider(
       new AnalyticsLogginProvider("analytics")
);

Credits

Author: Florent Champigny

Fiches Plateau Moto : https://www.fiches-plateau-moto.fr/

Android app on Google Play Follow me on Google+ Follow me on Twitter Follow me on LinkedIn

License

Copyright 2016 florent37, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].