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:
parent
eb6136b957
commit
7cebfc1ff1
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ class Analytics {
|
|||
|
||||
async trackPageChange() {
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue