angulartics / angulartics2

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

Angulartics send double events with a registered service worker #294

Open Flood opened 6 years ago

Flood commented 6 years ago

I'm submitting a ...

Add a service worker to your application. Angulartics2 will send double events for all tracking that you have, including page views and other events.

Angulartics2 should only send one event.

rsmachir commented 6 years ago

I'm seeing a similar behavior.

scttcper commented 5 years ago

Should be fixed in v7 which has a startTracking method instead of the constructor.

Flood commented 5 years ago

@scttcper It does not work with v7 either

scttcper commented 5 years ago

I probably need an example

Flood commented 5 years ago

I am using this repo and have added Angulartics to it.

https://github.com/MarkPieszak/aspnetcore-angular2-universal