This package has been deprecated

Author message:

smartanalytics has been deprecated in favour of @pushrocks/smartanalytics - please upgrade asap!!!

smartanalytics
TypeScript icon, indicating that this package has built-in type declarations

2.0.9 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i smartanalytics

Weekly Downloads

2

Version

2.0.9

License

MIT

Last publish

Collaborators

  • lossless