Skip to content

Commit 18fda73

Browse files
committed
ga fix
1 parent c40e524 commit 18fda73

4 files changed

Lines changed: 14 additions & 16 deletions

File tree

dist/inline.bundle.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.bundle.js

Lines changed: 3 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.bundle.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/app.component.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import { Component } from '@angular/core';
2-
import {Router, NavigationEnd} from "@angular/router";
1+
import { Component } from "@angular/core";
2+
import { Router, NavigationEnd } from "@angular/router";
33

44
@Component({
5-
selector: 'app-root',
6-
templateUrl: './app.component.html',
7-
styleUrls: ['./app.component.css']
5+
selector: "app-root",
6+
templateUrl: "./app.component.html",
7+
styleUrls: ["./app.component.css"],
88
})
99
export class AppComponent {
10-
title = '365DayDraw works!';
10+
title = "365DayDraw works!";
1111
constructor(public router: Router) {
12-
this.router.events.subscribe(event => {
12+
this.router.events.subscribe((event) => {
1313
if (event instanceof NavigationEnd) {
14-
ga('set', 'page', event.urlAfterRedirects);
15-
ga('send', 'pageview');
14+
// ga("set", "page", event.urlAfterRedirects);
15+
// ga("send", "pageview");
1616
}
1717
});
1818
}

0 commit comments

Comments
 (0)