0

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?

Kim Kern
  • 54,283
  • 17
  • 197
  • 195
Richard Watts
  • 954
  • 2
  • 8
  • 21

1 Answers1

0

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

Andrew Lewis
  • 5,176
  • 1
  • 26
  • 31
  • Thanks Andrew. I ask as I'd be surprised if someone hadn't needed to do what Im doing and Im not sure how to write a provider. Any ideas? – Richard Watts Nov 11 '17 at 14:11