mixpanel PageDoc using window.location.pathname for all doc pages