Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 1.82 KB

README.md

File metadata and controls

75 lines (55 loc) · 1.82 KB

angulartics-hubspot

NPM version NPM downloads Bower version MIT license

Hubspot 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-hubspot

Then add angulartics.hubspot as a dependency for your app:

require('angulartics')

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

bower

bower install angulartics-hubspot

Add the <script> to your index.html:

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

Then add angulartics.hubspot as a dependency for your app:

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

Documentation

Documentation is available on the Angulartics site.

This plugin supports the following analytics calls:

registerPageTrack
registerEventTrack
registerSetUserProperties

Development

npm run build

License

MIT