Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have urls like the following:

  • http://example.com/item/1

  • http://example.com/item/1341

  • http://example.com/item/33324

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 stackoverflow.com Jul 4 '11 at 10:41

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

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


share|improve this answer

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

Your Answer


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