{"repo":"angulartics/angulartics2","free":true,"listed":false,"github":"https://github.com/angulartics/angulartics2","clone":"git clone https://github.com/angulartics/angulartics2.git","description":"Vendor-agnostic analytics for Angular2 applications.","language":"TypeScript","stars":1009,"topics":["angular","angular2","google-analytics","angulartics2","analytics","piwik","baidu-analytics","google-tag-manager","mixpanel","kissmetrics"],"license":"MIT","category":"analytics","readme_excerpt":"angulartics2 Vendor-agnostic Analytics for Angular Applications. angulartics.github.io/angulartics2 - Installation - Include it in your application - Usage - Tracking events in templates/HTML - Tracking events in the code - Configuring the Module - Exclude routes from automatic pageview tracking - Remove IDs from url paths - Remove Query Params from url paths - Remove Hash from url paths - Using Without A Router - Using With UI-Router - SystemJS - Supported providers - For other providers - Minimal setup for Google Analytics - Contributing - License Dependencies Latest version available for each version of Angular Angulartics2 Angular ------------ --------- 8.3.0 8.x 9.1.0 9.x 10.1.0 10.x 11.0.0 12.x 12.0.0 13.x 13.0.0 14.x latest 15.x Installation Include it in your application 1. Add Angulartics2Module to your root NgModule passing any options desired Note the different imports when Using Without A Router or Using With UI-Router. 2. Required : Import your providers in the root component. Call startTracking() to start the tracking of route changes. Usage Tracking events in templates/HTML To track events you can inject the directive into any component and use the attributes , and : If you need event label, you can use Tracking events in the code If you need event label, you can use Configuring the Module Exclude routes from automatic pageview tracking Pass string literals or regular expressions to exclude routes from automatic pageview tracking. Remove IDs from url paths /pro","default_branch":null,"files":null,"tree":[],"storefront":"/r/angulartics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/angulartics/angulartics2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}