Go to file
2017-02-25 01:32:49 +01:00
dist Enable https 2017-02-24 03:06:29 +01:00
test added readme and first working version 2017-02-24 03:00:54 +01:00
ts fix indention 2017-02-24 03:06:51 +01:00
.gitignore added readme and first working version 2017-02-24 03:00:54 +01:00
.gitlab-ci.yml added readme and first working version 2017-02-24 03:00:54 +01:00
npmextra.json add npmextra.json 2017-02-24 03:03:46 +01:00
package.json 1.0.2 2017-02-25 00:36:16 +01: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 added readme and first working version 2017-02-24 03:00:54 +01: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