|
@@ -26,7 +26,7 @@ export class Analytics {
|
|
|
|
|
|
|
|
init() {
|
|
init() {
|
|
|
this.$rootScope.$on('$viewContentLoaded', () => {
|
|
this.$rootScope.$on('$viewContentLoaded', () => {
|
|
|
- const track = { location: this.$location.url() };
|
|
|
|
|
|
|
+ const track = { page: this.$location.url() };
|
|
|
const ga = (window as any).ga || this.gaInit();
|
|
const ga = (window as any).ga || this.gaInit();
|
|
|
ga('set', track);
|
|
ga('set', track);
|
|
|
ga('send', 'pageview');
|
|
ga('send', 'pageview');
|