Merge pull request #14132 from cloudshapes/revert-14092-record-full-url-in-google-analytics

Revert "Update google analytics code to submit full URL not just path"
pull/14139/head
Marcus Efraimsson 7 years ago committed by GitHub
commit 49bf003df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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');

Loading…
Cancel
Save