npm ngx-google-analytics 8.1.0
Bump Angular Version and other small fixes

latest releases: 14.0.1, 14.0.0, 13.0.1...
3 years ago

I finally get some time this weekend and decide to work on some unfinished issues. there it go:

  • Created and Updated unit tests on library project;
  • Created an automated workflow to run unit tests on each PR;
  • Created TypeDocs on all Services, Modules and Directives to help you guys to use this lib;
  • Removed bad practices on access Window and Document objects directily by Angular Services. I decided to create Injection Tokens to resolve does Broser Objects.;
  • Added some validations to ensure it is a Browser Environment;
  • Added cleanup code on NgxGoogleAnalyticsRouterModule. In short, we now unsubscribe Router events when bootstrap app is destroied;
  • Added a new Settings property ennableTracing to log on console Errors and Warnings about gtag() calls;
  • Now we have InjectionToken for everything. You can replace all our default settings;

Don't miss a new ngx-google-analytics release

NewReleases is sending notifications on new releases.