import { OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { StacheWindowRef, StacheConfigService } from '../shared'; export declare class StacheGoogleAnalyticsDirective implements OnInit { private windowRef; private configService; private router; private tagManagerContainerId; private analyticsClientId; private isEnabled; private appName; constructor(windowRef: StacheWindowRef, configService: StacheConfigService, router: Router); ngOnInit(): void; addGoogleTagManagerScript(): void; /** * Because GTM adds the Google Analytics script to the page outside of our control, * instead of loading the GA script twice, we extract the 'ga' window method out so we can * subscribe to our router events and track SPA page views. */ initGoogleAnalytics(): void; bindPageViewsToRouter(): void; private updateDefaultConfigs(); }