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
1
vote
0 answers

Google analytics GA4 - Total Revenue shows 0,00€

In the Reports under events I can detect that the purchase event is being sent successfully, however the total revenue portion appears at 0.00. The project was developed in angular and I am using the angulartics2 library. All the other events are…
1
vote
1 answer

Dependency conflict between angulartics2 and rxjs

I have the following dependencies in my package.json : "dependencies": { "@angular/animations": "~12.1.0", "@angular/common": "~12.1.0", "@angular/compiler": "~12.1.0", "@angular/core": "~12.1.0", "angulartics2": "^11.0.0", "rxjs": "~6.6.0", …
iPPle
  • 126
  • 1
  • 10
1
vote
1 answer

How to change polar lines by different colors with respect to the interval with gnuplot

I'd like to change this polar plot by using Gnuplot as following: changing line color (radial lines and their semi circle edges) by different colors with respect to the range. For example, A to F interval as red, G to L as blue, and M to S keeping…
1
vote
1 answer

How to change default `Page View` name

Is it possible to change default name of page view event tracked after importing Angulartics2GoogleTagManager in app.component? Rigth now its Page View and I need to change the name.
1
vote
1 answer

Angular application analytics measuring using Angulartics2 custom provider

We want to track URL changes and different events in our Angular (v5.1) application. We need to receive the collected data to our own server, and not to one of the supported providers (like Google Analytics). It seems that Angulartics2 supports a…
Guy
  • 1,547
  • 1
  • 18
  • 29
1
vote
1 answer

Angulartics2 Basics

I tried following the Angulartics2 tutorial in the project's readme, but router events are not being tracked. First of all, I'm confused on where to drop the analytics provider script. Does that just get placed in index.html? In my app.module.ts, I…
Nate Gardner
  • 1,577
  • 1
  • 16
  • 37
1
vote
0 answers

Implement google analytics in angularJS1.5 app

I have an angularjs1.5 app and it is using ui-router for state change.Recently, I got the requirement to implement google analytics in our app. I never worked on google analytics before.So, I started doing some research.so far, I bottom down to two…
1
vote
3 answers

How to add Google Analytics event label to Angulartics2?

In Angulartics2, how do you pass the event label to Google Analytics? Currently I have this code: Click me When using…
infojolt
  • 5,244
  • 3
  • 40
  • 82
1
vote
2 answers

Jasmine unit tests fail after adding angulartics with the angulartics-piwik

PhantomJS 2.1.1 (Windows 7 0.0.0)e Service should get by id from Service FAILED Error: Unexpected request: GET /users/currentuser No more request expected in /static/third-party/angularjs/1.4.7/js/angular-mocks.js (line 1245) this is the…
1
vote
2 answers

Angular and Google tag manager (GTM) gtm.click

I am running into a problem, and I cannot seem to find a fix for it. The situation is as follows the marketing department wants to integrate GTM. Which is fine as they want to have full control over the different third party providers they wish to…
N.Schipper
  • 1,668
  • 3
  • 18
  • 25
1
vote
0 answers

using angulartics in my hybird app, but the real time report does not have data

I want to use GA, and in my application I use angulartics, my code as follows: