Go to file
2017-08-29 15:20:18 +02:00
dist update to support latest pubapi 2017-08-29 15:18:10 +02:00
test update to support latest pubapi 2017-08-29 15:18:10 +02:00
ts update to support latest pubapi 2017-08-29 15:18:10 +02:00
.gitignore added readme and first working version 2017-02-24 03:00:54 +01:00
.gitlab-ci.yml update ci 2017-08-29 15:20:18 +02:00
npmextra.json now sending app name 2017-04-17 17:20:56 +02:00
package.json 2.0.6 2017-08-29 15:18:15 +02:00
README.md update README 2017-02-25 01:32:49 +01:00
tslint.json added readme and first working version 2017-02-24 03:00:54 +01:00
yarn.lock update 2017-08-24 11:34:41 +02:00

smartanalytics

Google Analytics everywhere

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

Why does this package exist?

Tracking users in webapps is common. We use Google Analytics to gain insight in who is using what and where to spend resources for best efficiency.

Doing the same stuff in apps can be a bit of a hassle. Unnecessary dependencies used by many existing analytics tools make the whole app slow just to gain a little usage info. Say hello to smartanalytics. It features a very slim dependency tree using the native node request module to send posts to Google Analytics.

How do I use this package?

import {AnalyticsAccount} from 'smartanalytics'
let myAnalyticsAccount = new AnalyticsAccount('My App Name', 'UA-XXXXXX-Y')
myAnalyticsAccount.sendEvent('npmtool', 'install', 'somelabel')

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH

repo-footer