mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-08 18:48:50 +01:00
feat(analytics): update analytics service, use google tag manager (#1932)
This commit is contained in:
parent
52e3126141
commit
b8726fc314
4 changed files with 9 additions and 23 deletions
|
|
@ -41,7 +41,7 @@ export class HeaderComponent implements OnInit , OnDestroy {
|
|||
}
|
||||
|
||||
if (selection && selection.toString() === 'contact@akveo.com') {
|
||||
this.analytics.trackEvent('contactEmail', 'select');
|
||||
this.analytics.trackEvent('clickContactEmail', 'select');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -69,7 +69,7 @@ export class HeaderComponent implements OnInit , OnDestroy {
|
|||
}
|
||||
|
||||
trackEmailClick() {
|
||||
this.analytics.trackEvent('contactEmail', 'click');
|
||||
this.analytics.trackEvent('clickContactEmail', 'click');
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue