Remove base domain from instance name
This commit is contained in:
parent
d13ade6f89
commit
5294349dc3
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class Analytics {
|
|||
if (hostname === 'riot.im') {
|
||||
this._setVisitVariable('Instance', window.location.pathname);
|
||||
} else if (hostname.endsWith('.element.io')) {
|
||||
this._setVisitVariable('Instance', hostname);
|
||||
this._setVisitVariable('Instance', hostname.replace('.element.io', ''));
|
||||
}
|
||||
|
||||
let installedPWA = "unknown";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue