angulartics2 icon indicating copy to clipboard operation
angulartics2 copied to clipboard

PageViews not working with GA

Open ganySA opened this issue 5 years ago • 2 comments

Hi

I am using Angular 8 RC. I have installed and configured as per the instructions but i do not see any events or pageviews coming through to GA. I see only '/' as the page.

I must admit i dont fully understand the instructions. I am using @angular/router the default. What should i be using Angulartics2RouterlessModule?

    Angulartics2Module.forRoot({
      pageTracking: {
        clearHash: true,
        clearQueryParams: true,
      }
    }),
    Angulartics2RouterlessModule.forRoot(),

ganySA avatar Apr 27 '19 10:04 ganySA

Yes, the documentation is really weird sometimes. It could be really useful if someone can help with it. @ganySA did you solve it ? I am having only / on GA too, but I am using Google tag manager and Angular7

irux avatar Jul 23 '19 13:07 irux

Please ignore my last post. It was an error on my side.

JohannesHoppe avatar Dec 10 '19 13:12 JohannesHoppe