angulartics / angulartics2

Vendor-agnostic analytics for Angular2 applications.
MIT License
1.01k stars 193 forks source link

PageViews not working with GA #342

Open ganySA opened 5 years ago

ganySA commented 5 years ago

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(),
irux commented 5 years ago

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

JohannesHoppe commented 4 years ago

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