Analytics for AngularJS applications.
e22e70dbda013f34d9d6e76fed1be9094bd24582 removed invalid char at the begging of the package.json (#523)
694f453dd76c69eb2e2dcdc80d06d469798de946 configurable page tracking (turn on and off routers)
* Introduces new config variables to disable tracking on $routeChangeSuccess and $stateChangeSuccess.
* Fixes naming of provider functions.
* This will make angulartics (with the right config) work with the angular 1.5 component router.
a5d0978f4bf00d2c135f289cff59e4dba51f3eab feat(handlers) add clearCookies handler (#513) Registers handler needed to clear cookies a la https://github.com/angulartics/angulartics-mixpanel/pull/17
0265b7ec1e077975998a720518fd277f8d748fe7 feat(opt-out) add global opt out feature (#476)
- $analytics.setOptOut(boolean Optout);
- $analytics.getOptOut(); // true false
registerSetUsername
method$exceptionHandler
with $analytics.exceptionTrack()
#461
hotfix to fix ES6 modules
includes exceptionTrack in knownHandlers
hotfix to include 1.0.1 changes in minified angulartics.min.js
Moved main package to org
hashbang
mode 8543ef8d8cf6a933af78d9a5737c327042913a34bower cache clean
) e68531de81526101aedca91e9721c9f0d2de322f
event, properties, options, callback
developerMode: true
in $analyticsProvider
to stop sending data (https://github.com/tomasescobar) a0cce769f569dfb46f765eda1a97eccc2748c3f9$analyticsProvider.settings.ga
object for configuration, which after initing multiple analytics accounts like this: ga('create', 'UA-XXXXXX-XX');
ga('create', 'UA-XXXXXX-XY', 'auto', {'name': 'additionalTracker1'});
ga('create', 'UA-XXXXXX-XZ', 'auto', {'name': 'additionalTracker2'});
allows to configure the additional providers on startup:
config(function ($analyticsProvider) {
$analyticsProvider.settings.ga.additionalAccountNames = ['additionalTracker1', 'additionalTracker2'];
});
You can also change the configuration while running the app which, while not the most elegant solution, allows sending only some events to multiple accounts by:
$analyticsProvider.settings.ga.additionalAccountNames = ['additionalTracker1'];
$analytics.eventTrack('eventName');
$analyticsProvider.settings.ga.additionalAccountNames = [];