import { BehaviorSubject , Observable } from 'rxjs' ; import { Angulartics2Settings } from './angulartics2-config' ; export interface TrackNavigationEnd { url : string ; } export class RouterlessTracking { trackLocation ( settings ) { return new BehaviorSubject < TrackNavigationEnd > ( { url : '/' } ) ; } prepareExternalUrl ( url ) { return url ; } }