AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

2.3K members online now
2.3K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
Guide Me

Help with regular expression for a goal

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I need help with a Regular expression. Currently it is set as  /CreateAccount/*


It verifies, but includes too much, so my count is too high. I want it to include just the bottom 2. How do I change the regular expression so that it always includes a string after /CreateAccount/ but never counts "index" as one of the options? In other words, the count should be 2, just the bottom 2. Thanks!







1 Expert replyverified_user

Re: Help with regular expression for a goal

[ Edited ]
Rising Star
# 2
Rising Star

Hi Joe,


If all the URLs you want to track start with a number you can use this simple expression, it won't include the first 2:



You can see it in real time here


Hope it helps,

Google Analytics Rising Star | Was my response helpful? If yes, please mark it as the 'Best Answer.' Learn how here!
Analytics Consultant at - Find me on Twitter | Email me

Re: Help with regular expression for a goal

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thank you so much! Looks like it will do the trick!