Keen JavaScript SDK
This is v5 of the Keen JS SDK. Previous versions and their documentation are available as branches of this repo.
Get Project ID & API Keys
If you haven’t done so already, login to Keen to create a project. The Project ID and API Keys are available on the Access page of the Project Console. You will need these for the next steps.
Installation
npm install keen-js --save
Under the hood, this is simply a bundled release of the following packages:
Install standalone packages for better performance
Stream Events - Keen Tracking JS
What is an event? An event is a record of something important happening in the life of your app or service: like a click, a purchase, or a device activation.
Installation
npm install keen-tracking --save
Full documentation is available in the keen-tracking.js repo.
Compute - Keen Analysis JS
Keen's powerful Compute API gives you fast answers to the questions that matter.
Installation
npm install keen-analysis --save
Full documentation is available in the keen-analysis.js repo.
Visualize - Keen Dataviz JS
Create amazing charts with powerful tools like D3/C3.
Installation
npm install keen-dataviz --save
Documentation: Full documentation is available in the keen-dataviz.js repo.
Contributing
This is an open source project and we love involvement from the community! Hit us up with pull requests and issues.
Learn more about contributing to this project.
Support
Need a hand with something? Shoot us an email at team@keen.io. We're always happy to help, or just hear what you're building! Here are a few other resources worth checking out: