diff --git a/package.json b/package.json index b5b642b6..2fe0aef2 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "angular-oauth2-oidc": "^15.0.1", "hls.js": "^1.4.12", "jwt-decode": "^3.1.2", + "ngx-google-analytics": "^14.0.1", "postcss-cli": "^10.1.0", "postcss-import": "^15.1.0", "postcss-loader": "^7.3.3", diff --git a/src/app/app.module.ts b/src/app/app.module.ts index dbaeee36..4dd1beb2 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -39,6 +39,7 @@ import { ParticipateComponent } from './pages/participate/participate.component' import { GridComponent } from './pages/grid/grid.component'; import { GridDaysComponent } from './pages/grid-days/grid-days.component'; import { ProgressSpinnerModule } from 'primeng/progressspinner'; +import { NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule } from 'ngx-google-analytics'; @NgModule({ imports: [ @@ -56,7 +57,9 @@ import { ProgressSpinnerModule } from 'primeng/progressspinner'; MenuModule, FormsModule, BrowserAnimationsModule, - MatPaginatorModule + MatPaginatorModule, + NgxGoogleAnalyticsModule.forRoot('G-XL7Z0L7VM8'), + NgxGoogleAnalyticsRouterModule ], declarations: [