Quick and easy hotjar integration. With absolutely no warranty.
npm install --save-dev ember-hotjar
- add
config.hotjar.id
to config/environment.js - optionally add
hotjar.forceSSL=true
to config/environment.js to force loading scripts via SSL. - optionally add
hotjar.snippetVersion=5
to config/environment.js to change the version. 5 is the default. - in routes and controller you will have _hj.push available
git clone <repository-url>
this repositorycd ember-hotjar
npm install
bower install
ember serve
- Visit your app at http://localhost:4200.
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.