Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 2.26 KB

README.md

File metadata and controls

76 lines (52 loc) · 2.26 KB

angulartics-coremetrics

NPM version NPM downloads Bower version Dependencies status MIT license

IBM Digital Analytics (formerly Coremetrics Web Analytics) plugin for Angulartics.

Install

First make sure you've read installation and setup instructions for Angulartics.

Then you can install this package either with npm or with bower.

npm

npm install angulartics-coremetrics

Then add angulartics.coremetrics.analytics as a dependency for your app:

require('angulartics')

angular.module('myApp', [
  'angulartics', 
  require('angulartics-coremetrics-analytics')
]);

Please note that core Angulartics doesn't export the name yet, but it will once we move it into the new organization.

bower

bower install angulartics-coremetrics

Add the <script> to your index.html:

<script src="/bower_components/angulartics-coremetrics/dist/angulartics-coremetrics.min.js"></script>

Then add angulartics.coremetrics.analytics as a dependency for your app:

angular.module('myApp', [
  'angulartics', 
  'angulartics.coremetrics.analytics'
]);

Documentation

Documentation is available on the Angulartics site.

Development

npm run build

License

Apache v2