It would be really nice to be able to make
be able to combine on one line since they're obviously the same page.
I use the s.pageName variable to track the relative URL but for dashboards i use a sprop with a user-friendly page name. That way, you can have a work around for your issue.
Hope that helps,
Actually I believe what is happening is that the GetPageName function in s_code.js returns without the trailing slash in some browsers.