New dashboard look & feel
[src/xds/xds-agent.git] / webapp / src / app / app.component.ts
1 /**
2  * @license
3  * Copyright Akveo. All Rights Reserved.
4  * Licensed under the MIT License. See License.txt in the project root for license information.
5  */
6 import { Component, OnInit } from '@angular/core';
7 import { AnalyticsService } from './@core/utils/analytics.service';
8
9 @Component({
10   selector: 'ngx-app',
11   template: '<router-outlet></router-outlet>',
12 })
13 export class AppComponent implements OnInit {
14
15   constructor(private analytics: AnalyticsService) {
16   }
17
18   ngOnInit(): void {
19     this.analytics.trackPageViews();
20   }
21 }