Skip to content

Module to track opt-in usage metrics for famous NodeJS-based tools.

Notifications You must be signed in to change notification settings

FamousArchives/famous-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

famous-metrics

Build Status Dependency Status devDependency Status

This module tracks metrics data related to usage of Famo.us tools. This module exposes three interfaces:

  • getTracking: Returns true if the user has opted into tracking and false if they have opted out.

  • setTracking: Accepts an email address and a callback. The email will be hashed and included with tracking information. If you pass in false instead of an email or no email string, then tracking is disabled.

  • track: Accepts a string with the name of the event and any additional data to be tracked. Will return an error in the callback if user has not opted into tracking

License

Copyright (c) 2014 Famous Industries, Inc. MPL-2.0

Author

Andrew de Andrade [email protected]

About

Module to track opt-in usage metrics for famous NodeJS-based tools.

Resources

Stars

Watchers

Forks

Packages

No packages published