Please sign in to comment.
Only overwrite referrer if this is an unload call
We check the referrer many times for browsers that don't support navtiming. For this to work, we need the referrer to be correct until after we've read the start time correctly. To make sure this works, we set the referrer only in the unload handler.
- Loading branch information...