Hubspot plugin for Angulartics.
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 install angulartics-hubspot
Then add angulartics.hubspot
as a dependency for your app:
require('angulartics')
angular.module('myApp', [
'angulartics',
require('angulartics-hubspot')
]);
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 is available on the Angulartics site.
This plugin supports the following analytics calls:
registerPageTrack
registerEventTrack
registerSetUserProperties
npm run build