mirror of
https://github.com/jwetzell/itsfiveoclockwhere.git
synced 2026-08-08 08:43:42 +00:00
remove google analytics stuff
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { interval, startWith } from 'rxjs';
|
||||
import { GoogleAnalyticsService } from './services/google-analytics.service';
|
||||
import { GetClosestTimezoneFrom, Timezone } from './timezone/models/timezone.model';
|
||||
import { TimezoneService } from './timezone/services/timezone.service';
|
||||
|
||||
@@ -21,7 +20,6 @@ export class AppComponent {
|
||||
|
||||
constructor(
|
||||
private timezoneService: TimezoneService,
|
||||
private googleAnalyticsService: GoogleAnalyticsService
|
||||
) {
|
||||
const currentTimezone = this.timezoneService.getCurrentTimezone();
|
||||
if (currentTimezone) {
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
declare let gtag: Function;
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class GoogleAnalyticsService {
|
||||
constructor() {}
|
||||
|
||||
public emitEvent(name: string, event: any) {
|
||||
gtag('event', name, event);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user