Analytics: Respect appsuburl in tracking url (#27442)
* add suburl if it exists * remove log * remove another log
This commit is contained in:
1 parent
823911b173
commit
cf2597421b
1 file changed
+1
-1
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user