Skip to content

blue-cardinal/ngx-google-analytics

Repository files navigation

NgxGoogleAnalytics

This package provides a module that injects the Google Analytics tag manager script into your Angular project.

It provides some guard rails against including the tag manager script in a dev environment.

How to use

Include the ngx-google-analytics module in your AppModule:

@NgModule({
    imports: [
        NgxGoogleAnalyticsModule.forRoot({
            trackingCode: 'YOUR_TRACKING_CODE',
        }),
    ]
})
export class AppModule { }

About

Google Analytics library for Angular projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy