Questions tagged [angulartics]

Angulartics is an AngularJS module that enables web analytics for your application using the vendor of your choice.

Angulartics is an AngularJS module that enables web analytics for your application using the vendor of your choice.

Three three main areas coverd under the tracking are

  • Page Tracking
  • Event Tracking
  • Scroll Tracking

These events include tracking any action by catching any valid DOM event (click, hover, etc). In order to track pageviews and events from within the application logic, need to inject $analytics and invoke either the pageTrack() or eventTrack() methods.

Currently the supported vendors are Google Analytics, Kissmetrics, Mixpanel, Chartbeat, Segment.io.

If your question is related to the usage of the Angulartics module, you should use this tag.

51 questions
9
votes
4 answers

Angulartics GA events not getting tracked

I am using angulartics google analytics in my project. I have set it up as the docs say. Its tracking the page views and all in real time but the events is not getting tracked. Here is my code: view: // Not getting tracked
VishwaKumar
  • 3,433
  • 8
  • 44
  • 72
7
votes
2 answers

Injector error using Angulartics with AngularJS

I have problem with adding Angulartics. In my app.js I just added that two dependencies (Angulartics and the last one) you can see: var smsApp = angular.module('smsApp', [ 'ngRoute', 'smsControllers', 'smsFilters', 'google-maps', …
4
votes
2 answers

How to set Custom Dimension in Google Analytics using Angulartics

I am using Angulartics for track some information to Google Analytics from AngularJS. I need to set a Custom Dimension, I need to do something like this but using Angulartics third party. ga('set', 'dimension5', 'custom data'); In the…
3
votes
1 answer

Angulartics2 initial setup

can someone explain to me how to set-up angulartics2 in angular 5??? I have read so many different variations that I am not sure what is currently working anymore. I would like to hook it to Google analytics.
3
votes
2 answers

Angular2 : EXCEPTION: No provider for Angulartics2GoogleAnalytics

I am trying to use angulartics2 with my application. I have configured correctly as it mentioned in the document. Note: There is no place it is mentioned to add the provider as a dependency.. When i try to run the application, it shows the error…
Sajeetharan
  • 216,225
  • 63
  • 350
  • 396
3
votes
1 answer

Using Angulartics and Google Analytics for Dynamic and Unique URLs

I am attempting to use angulartics and Google Analytics in my AngularJS SPA such that I will be able to aggregate pageviews even though the URLs constructed are unique when the user is in the app. As a user is moving from page to page (and state to…
tracyak13
  • 302
  • 7
  • 19
3
votes
0 answers

Ignore parameters on page tracking using angulartics

I'm using Ui-router and in severals $states I have a parameter as a Guid like the example bellow (":numeroSolicitacao"): .state('solicitacoes/aprovacoes', { url: '/solicitacoes/aprovacoes/:numeroSolicitacao', views: { …
Lucas Roselli
  • 2,810
  • 1
  • 15
  • 18
3
votes
4 answers

Angularytics (Google Analytics for AngularJS directive) only in production environment

I´m using Angularytics in my AngularJS web app. It´s working fine, however, I have three environments (development, test and production) and it´s gathering statistics from both of them. I would like to show analytics only for production…
Rober
  • 5,868
  • 17
  • 58
  • 110
3
votes
1 answer

Unknown provider: $rootElementProvider <- $rootElement <- $location in angulartics.js

I'm using angulartics in my project, but when I add dependency to my module, I get the following error: Unknown provider: $rootElementProvider <- $rootElement <- $location. I plugged angulartics.js in html after angular.js It's generated in the…
Kochev
  • 35
  • 6
2
votes
1 answer

Using Angulartics, Google Tag Manager and Analytics, with dynamic codes

I'm working on an Angular (1.6.8) app in which we've implemented the Angulartics library in combination with Google Analytics and Google Tag Manager extensions. This is all working quite well when I follow the instructions that are provided. But we…
2
votes
0 answers

angularitics is not able to send uid in the request parameters after setting $analytics.setUsername( 'xxxx' )

I have implemented angularitics to get information about event and page visits on my google analytics panel. I am trying to create a user-id view in the analytics panel. I have followed all the instructions mentioned in the following link but it is…
2
votes
1 answer

Angulartics : GA events tracking not working

Summary : I implemented Angulartics and the angulartics-google-analytics Vendor Plugin in my angular application as per the angulartics official documentation. Real time page views tracked properly but Declarative event tracking is not getting…
Debug Diva
  • 26,058
  • 13
  • 70
  • 123
2
votes
0 answers

Angulartics not tracking at all

I'm using angulartics for my application to track virtual page views on Google Analytics. This should be enabled by default but no visit to the page is tracked at all. I should say that I wrapped the Google Analytics js code in a angular directive…
Flosky
  • 21
  • 2
2
votes
1 answer

Google Analytics in AngularJS

I have a AngularJS v1.0.7 web application. I have just integrate Google Analytics by adding the javascript tracking code. However, I don´t see anything interesting in Google Analytics reports and so on. I know, right now there is people visiting my…
Rober
  • 5,868
  • 17
  • 58
  • 110
2
votes
3 answers

Can I use two analytics plugins at the same time of angulartics module?

Only the last added plugin is working. Suppose I reverse the below angulartics plugin then only splunk works. Is there any way to capture data simultaneously for these two analytics providers? app = angular.module('MyApp', [ 'angulartics', …
PKS
  • 51
  • 1
  • 5
1
2 3 4