New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hakimio/ngx-google-analytics

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hakimio/ngx-google-analytics - npm Package Versions

15.0.0

Diff

Changelog

Source

15.0.0

  • GA4 support
  • Updated Angular to v16 and dropped support for older versions
  • Dropped rxjs v6 support. Now only rxjs v7 is supported.
  • NgxGoogleAnalyticsModule.forRoot() and NgxGoogleAnalyticsRouterModule.forRoot() are now replaced by provideGoogleAnalytics() and provideGoogleAnalyticsRouter() to set up library's providers
  • All directives are now standalone and can be imported separately or used as hostDirectives in other directives
  • GoogleAnalyticsService methods now use options objects to specify additional arguments instead of a long list of arguments with some of the arguments undefined.

Thanks, @Spejik, for the implementation.

Before:

this.gaService.pageView('/test', 'Test the Title', undefined, {
  user_id: 'my-user-id'
});

After:

this.gaService.pageView('/test', {
    title: 'Test the Title',
    options: {
        user_id: 'my-user-id'
    }
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc