Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!

Admin Option to Combine Pages With and Without Trailing Slash In Reports

Avatar

Level 2

11/8/10

It would be really nice to be able to make

 

www.example.com/page/

and

www.example.com/page

 

be able to combine on one line since they're obviously the same page.

 

It's generally impossible to completely get rid of one or the other because some browsers report the URL differently, and users with no Javascript cannot have the URL changed before being submitted.

 

Thanks!

JD

2 Comments

Avatar

Level 1

11/8/10

Hi there,

 

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,

Vidya Subramanian

Avatar

Level 2

11/9/10

Thanks Vidya,

 

Actually I believe what is happening is that the GetPageName function in s_code.js returns without the trailing slash in some browsers.

 

I might override this by always populating the pageName variable from server-side code and never allowing Javascript to determine it.