Help With Setting Up Goals REGEX

Discussion in 'Google Analytics' started by adzeds, Jan 22, 2011.

  1. #1
    Basically I am trying to set up goal tracking on one of my accounts.

    I am having problems setting up my funnel

    I basically have pages like:
    /ex/exam/example/123/

    Where the '123' part is an id, which is always numerical.

    I am trying to set-up a regex that will notice know that the page id is different, but they are all the same page.

    so
    /ex/exam/example/123/
    and
    /ex/exam/example/124/

    are the same page.

    I tried doing this:
    /ex/exam/example/.*/

    think that is would act as a wildcard for the numbers but it does not seem to work..

    Any ideas?
     
    adzeds, Jan 22, 2011 IP
  2. Atco_Maart

    Atco_Maart Peon

    Messages:
    338
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    quiet complex.. you should try the google help for that.. cuz that only will help you better way !!
     
    Atco_Maart, Feb 3, 2011 IP
  3. mandark7

    mandark7 Peon

    Messages:
    65
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You are using:
    .*
    It means 'zero or more characters of any kind' (as in, can include letters too, or even a blank string).

    What you want in its place is:
    [0-9]+
    This means one or more numbers.

    Also this is assuming you are using something which knows how to parse RegEx.
     
    mandark7, Feb 7, 2011 IP