ngx-google-analytics | easy way to use and configure Google Analytics | Analytics library
kandi X-RAY | ngx-google-analytics Summary
kandi X-RAY | ngx-google-analytics Summary
ngx-google-analytics is a TypeScript library typically used in Analytics, Angular, Nodejs applications. ngx-google-analytics has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
An easy implementation to track ga on angular8+ apps.
An easy implementation to track ga on angular8+ apps.
Support
Quality
Security
License
Reuse
Support
ngx-google-analytics has a low active ecosystem.
It has 108 star(s) with 39 fork(s). There are 4 watchers for this library.
It had no major release in the last 12 months.
There are 17 open issues and 33 have been closed. On average issues are closed in 39 days. There are 8 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of ngx-google-analytics is 14.0.1
Quality
ngx-google-analytics has 0 bugs and 0 code smells.
Security
ngx-google-analytics has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
ngx-google-analytics code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
ngx-google-analytics is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
ngx-google-analytics releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
It has 48 lines of code, 0 functions and 54 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ngx-google-analytics
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ngx-google-analytics
ngx-google-analytics Key Features
No Key Features are available at this moment for ngx-google-analytics.
ngx-google-analytics Examples and Code Snippets
No Code Snippets are available at this moment for ngx-google-analytics.
Community Discussions
Trending Discussions on ngx-google-analytics
QUESTION
Access Service variable in AppModule in Angular
Asked 2021-Feb-23 at 19:35
I am implementing ngx-google-analytics in my Angular 10 app, but this module requires GA tracking code to be implemented this way:
...ANSWER
Answered 2021-Feb-23 at 19:35You could use a manual approach. Your angular app is bootstrapped from main.ts
using this code
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ngx-google-analytics
On your Angular Project, you shall include the NgxGoogleAnalyticsModule on your highest level application module. ie AddModule. The easiest install mode call the forRoot() method and pass the GA tracking code.
We provide a second Module Dependency to configure Router Event Bindings and perform automatic page view every time your application navigates to another page. Add NgxGoogleAnalyticsRouterModule on AppModule enable auto track Router events. IMPORTANT: This Module just subscribe to Router events when the bootstrap component is created, and then cleans up any subscriptions related to previous component when it is destroyed. You may get some issues if using this module on a server side rendering or multiple bootstrap components. If it is your case, I suggest you subscribe to events by yourself. You can use git repository as reference.
You can customize some rules to include/exclude routes on NgxGoogleAnalyticsRouterModule. The include/exclude settings allow:.
Simple route match: { include: [ '/full-uri-match' ] };
Wildcard route match: { include: [ '*/public/*' ] };
Regular Expression route match: { include: [ /^\/public\/.*/ ] };
We provide a second Module Dependency to configure Router Event Bindings and perform automatic page view every time your application navigates to another page. Add NgxGoogleAnalyticsRouterModule on AppModule enable auto track Router events. IMPORTANT: This Module just subscribe to Router events when the bootstrap component is created, and then cleans up any subscriptions related to previous component when it is destroyed. You may get some issues if using this module on a server side rendering or multiple bootstrap components. If it is your case, I suggest you subscribe to events by yourself. You can use git repository as reference.
You can customize some rules to include/exclude routes on NgxGoogleAnalyticsRouterModule. The include/exclude settings allow:.
Simple route match: { include: [ '/full-uri-match' ] };
Wildcard route match: { include: [ '*/public/*' ] };
Regular Expression route match: { include: [ /^\/public\/.*/ ] };
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page