Questions tagged [angulartics2]
25 questions
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
0
votes
1 answer
Angular environment files do not get swapped in time
I am using Angular 9, View Engine compiler.
I have 2 files where I store environment values:
environment.ts:
export const environment: any = {
production: false,
};
environment.prod.ts:
export const environment: any = {
production:…

mcvyty
- 13
- 4
0
votes
1 answer
Tracking events in Angulartics2
I'm trying to add some tracking to my project and the page tracking seem to be working fine but not the event trackning. I've tried with event trackning as following:
0
votes
1 answer
Is it possible to avoid page tracking root route to GA by angulartics2?
I'm using angulartics2 for tracking events and for tracking some other info to google analytics.
So, I'm just using
Angulartics2Module.forRoot({ pageTracking: { autoTrackVirtualPages: true } }) - in main app module
and…

Art Olshansky
- 3,032
- 1
- 19
- 25
0
votes
0 answers
How to use Angulartics2 with ApplicationInsights
We setup applicationinsights as explain official doc. We setup applicationInsights in app.component.ts constructor.
We want to user Angulartics2 to managed google analitycs and applicationinsights.
However, Angulartics2 needs appInsights to be…

Serafín
- 132
- 1
- 9
0
votes
1 answer
Angulartics2 With Multiple Providers?
Using Angulartics2 for Google Analytics and Piwik ( matomo ). If I use only one provider, they work great, but having syntax problem when trying to use both. In app.module.ts....
import {Angulartics2Module, Angulartics2GoogleAnalytics,…

Jolly
- 349
- 1
- 2
- 9
0
votes
2 answers
Angulartics2: startTracking() does not exist on type 'Angulartics2GoogleAnalytics'
I've followed the instructions on the readme of Angulartics2 for Google Analytics:
app.module.ts:
import { Angulartics2Module } from 'angulartics2';
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
...
imports:…

user3255061
- 1,757
- 1
- 30
- 50
0
votes
1 answer
Angulartics2 - Multiple Route Files + Google Analytics
When implementing Angulartics2 in my Angular application I get Google Tracking for the initial page view to work, and anytime I refresh the page (hard refresh) Google Analytics picks up the new page view to track as well.
The problem occurring is…

Brayden
- 1,795
- 14
- 20
0
votes
1 answer
angulartics2 and angular1.6 compatibility
Is angulartics2 compatible with angular1.6
OR
Is angulartics compatible with angular2
Because I'm currently working with angular 1.6 and I plan to migrate to angular2 in the future, and I'm searching for a solution that is compatible with both

Elhem
- 1
- 1
0
votes
1 answer
Using angulartics2 without a defined provider
I am using Angulartics2 as it seems a flexible solution to collect analytics from an Angular site.
As yet I do not know if we are going to use a specified provider, for now I just want to send the data to the server and store it locally.
Is this…

Richard Watts
- 954
- 2
- 8
- 21