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.6K members online now
2.6K 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

Goal and regular expressions

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi Guys,


I have facing the problem to set up goal for dynamic 6 digit id , can any one help me to fix it



58637 is dynamic number it keep on changing for each offer


i have set the goal to count all the offewr viewd using regular expression


but it is not working , it is showing 0  ,but there are more than 100 view . 

is the regular expression correct?



2 Expert replyverified_user

Goal and regular expressions

Top Contributor
# 2
Top Contributor



Please try: ^/offer_details/[0-9]{6}/credit_card$


Let me know if it works. You can test regexes here:


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Goal and regular expressions

Top Contributor
# 3
Top Contributor

Hi Harish, 


try this:

/offer_details/[0-9]{6}/credit_card or even a more simplified /offer_details/[0-9]+/credit_card - try this initially inside behavior > all pages report. 


Kind regards,



Web analyst @