Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cibernox/ember-metrics-chameleon-adapter
Ember-metrics adapter that wraps the Chameleon tracking library
https://github.com/cibernox/ember-metrics-chameleon-adapter
Last synced: 17 days ago
JSON representation
Ember-metrics adapter that wraps the Chameleon tracking library
- Host: GitHub
- URL: https://github.com/cibernox/ember-metrics-chameleon-adapter
- Owner: cibernox
- License: mit
- Created: 2017-01-02T14:03:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-02T14:23:28.000Z (about 8 years ago)
- Last Synced: 2024-10-29T20:12:41.156Z (2 months ago)
- Language: JavaScript
- Size: 57.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-metrics-chameleon-adapter
This addon provides a simple adapter for [ember-metrics](https://github.com/poteto/ember-metrics/)
that wraps the [chameleon](https://www.trychameleon.com/) onboarding library.The chameleon library is not **exactly** a metrics platform, but the functionality it does
track user activity to decide when to help the user, and implement it as adapter for ember-metrics
ended up being quite nice.### Features
- **Lazy intialization**: The chameleon library is big enough to not want to load it for
every user. With `ember-metrics` lazy initialization, you can load it only when you have to.- **Fastboot aware**: The library simply won't load if your app is running in fastboot.
### Usage:
Configure it in the `config/environment.js` as any other adapter for ember-metrics:
```js
metricsAdapters: { // or `lazyMetricsAdapters`
chameleon: {
name: 'chameleon',
environments: ['all'], // No need of avoid development/test. Methods are noops.
config: {
token: 'your-token-here'
}
}
}
```