Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have a rails web app where many of the url pathss are of the form:

/people/12345678/category

...where the 12345678 is the user's id. What I would like to do is not match the second level, or use a wildcard or something so I can easily look at the stats for where everybody in the third level (the category bit).

Is this possible?

share|improve this question
add comment

1 Answer 1

You can do a filter for /people/\d+/category using the Regex Match and get the totals for that.

Another idea is to setup a filter to standardize these urls removing the user id so you get cleaner reports. You can create a new profile and setup and advanced filter to transform the url removing the id. That will give you a cleaner report.

Make sure to keep an unfiltered profile around in case you screw up data using filters. This way you make sure you don't lose any data.

share|improve this answer
    
This seems the sort of thing. I already use filters to check internal or external (to the company) visits separately but this is a bit more complex. So would I have to set up a filter for each category? Or is there a way of writing the filter in such a way that in removes the id whilst keeping all the categories? –  kevtufc Jan 22 '13 at 9:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.