Using angulartics2 without a defined provider

134 Views Asked by At

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 possible with Angulartics2, or would I have to write my own provider just to do that?

1

There are 1 best solutions below

1
On

The recommended way to do it is to write your own provider and do a pull-request to get it included.

https://github.com/angulartics/angulartics2#for-other-providers