Merge pull request #3927 from kellec/update-analytics-url
Add Discourse.getURL to the url passed into page view events
This commit is contained in:
commit
f48419526d
|
@ -21,7 +21,7 @@ const PageTracker = Ember.Object.extend(Ember.Evented, {
|
|||
|
||||
router.on('didTransition', function() {
|
||||
this.send('refreshTitle');
|
||||
var url = this.get('url');
|
||||
var url = Discourse.getURL(this.get('url'));
|
||||
|
||||
// Refreshing the title is debounced, so we need to trigger this in the
|
||||
// next runloop to have the correct title.
|
||||
|
|
Loading…
Reference in New Issue