From fa2c46edb9e8c4d9b4921231407202d50961e2aa Mon Sep 17 00:00:00 2001 From: Roland Dunn Date: Mon, 19 Nov 2018 18:21:37 +0000 Subject: [PATCH] Revert "Update google analytics code to submit full URL not just path" --- public/app/core/services/analytics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/services/analytics.ts b/public/app/core/services/analytics.ts index 40e20b16a29..be4371adb26 100644 --- a/public/app/core/services/analytics.ts +++ b/public/app/core/services/analytics.ts @@ -26,7 +26,7 @@ export class Analytics { init() { this.$rootScope.$on('$viewContentLoaded', () => { - const track = { location: this.$location.url() }; + const track = { page: this.$location.url() }; const ga = (window as any).ga || this.gaInit(); ga('set', track); ga('send', 'pageview');