Skip to content

Commit 18eddd9

Browse files
MillenniumFalconMechanicNoopDog
authored andcommitted
Removed debug code. Resolves #1067.
1 parent 4cd2ea8 commit 18eddd9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

spa/src/app/shared/gtm/gtm.service.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export class GTMService {
5252
*/
5353
private isTracking(): boolean {
5454

55-
// return !!this.getDataLayer();
56-
return true;
55+
return !!this.getDataLayer();
5756
}
5857

5958
/**
@@ -71,7 +70,6 @@ export class GTMService {
7170
eventAction: action,
7271
eventLabel: label
7372
}, dimensions);
74-
// this.getDataLayer().push(eventConfig);
75-
console.log(eventConfig);
73+
this.getDataLayer().push(eventConfig);
7674
}
7775
}

0 commit comments

Comments
 (0)