Commit cf259742 by Peter Holmberg Committed by GitHub

Analytics: Respect appsuburl in tracking url (#27442)

* add suburl if it exists

* remove log

* remove another log
parent 823911b1
......@@ -27,7 +27,7 @@ export class Analytics {
init() {
this.$rootScope.$on('$viewContentLoaded', () => {
const track = { page: this.$location.url() };
const track = { page: `${config.appSubUrl ?? ''}${this.$location.url()}` };
const ga = (window as any).ga || this.gaInit();
ga('set', track);
ga('send', 'pageview');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment