You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
change analytics to set custom url rather than custom title
this way exit/entry/page transition will work better Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -34,7 +34,8 @@ class Analytics {
|
|||||||
|
|
||||||
async trackPageChange() {
|
async trackPageChange() {
|
||||||
if (!this.tracker) return;
|
if (!this.tracker) return;
|
||||||
this.tracker.trackPageView(redact(window.location.hash));
|
this.tracker.setCustomUrl(redact(window.location.href));
|
||||||
|
this.tracker.trackPageView();
|
||||||
}
|
}
|
||||||
|
|
||||||
async trackEvent(category, action, name) {
|
async trackEvent(category, action, name) {
|
||||||
|
|||||||
Reference in New Issue
Block a user