Skip to content

Latest commit

 

History

History
85 lines (57 loc) · 2.67 KB

README.md

File metadata and controls

85 lines (57 loc) · 2.67 KB

angulartics-adobe-analytics

NPM version NPM downloads Bower version Dependencies status MIT license Gitter Chat

Adobe Analytics plugin for Angulartics.

Install

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

Note: This plugin requires the adobe analytics site catalyst script. Ensure that you have installed your site catalyst script properly into your site as well.

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

npm

npm install angulartics-adobe-analytics

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

require('angulartics')

angular.module('myApp', [
  'angulartics',
  require('angulartics-adobe-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-adobe-analytics

Add the <script> to your index.html:

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

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

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

Documentation

Documentation is available on the Angulartics site.

Contributing

If you use Adobe Analytics and want to contribute with code/documentation/examples, please submit a pull request or open an issue.

Development

npm run build

License

MIT