Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have urls like the following:




I want to set up a funnel in Google Analytics and I understand that I can use a regular expression.

What would i enter to match all the above URLs i.e /item/#{id}?

share|improve this question

migrated from Jul 4 '11 at 10:41

This question came from our site for professional and enthusiast programmers.

2 Answers 2


should do it. You can test it out by using the Find URL field at the bottom of the Top Content report (old analytics) or on the Site Content->Pages report on the new interface you can do an advanced filter and enter it as a regular expression.

share|improve this answer

Technically, assuming you want matches to only /item/#### and not allow /item/ (without a number), you should use:


share|improve this answer

Your Answer


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