Analytics
2.1K members online now
2.1K 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
star_border
Reply

How to write regular expression URL that matches with all the dynamic URL's?

[ Edited ]
Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆

Hello,

 

We are working on setting up funnels for my company website. But we are facing more trouble on setting up because it is very difficult to write regular expression URL that matches with all the dynamic URL's. 

 

So, if I write partial match regular expression URL does analytics provide me accurate funnel visualization data?

 

 

1 Expert replyverified_user

How to regular expression URL that matches with all the dynamic URL's?

Top Contributor
# 2
Top Contributor

Why would it not be accurate?

You can test your regular expression before you set it up in your goal settings, try the following: 

http://tools.netshiftmedia.com/regexlibrary/

VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan

How to write regular expression URL that matches with all the dynamic URL's?

[ Edited ]
Follower ✭ ☆ ☆
# 3
Follower ✭ ☆ ☆

Hi Julien,

 

Thanks for your prompt response. Yes, after writing regular expressions for each and every scenario, I am testing it with https://regex101.com/ and regexpal.com.

 

But there are some Arabic terms coming in my dynamic URL. So, how can I write regular expression for those?

How to write regular expression URL that matches with all the dynamic URL's?

Top Contributor
# 4
Top Contributor

regexps do not play well with non-latin characters and you'll have to use UTF8 character codes.

Take a look here: http://stackoverflow.com/questions/29729391/regular-expression-arabic-characters-and-numbers-only

 

VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan

How to write regular expression URL that matches with all the dynamic URL's?

Follower ✭ ☆ ☆
# 5
Follower ✭ ☆ ☆

Thanks a lot Julien, I tested 2-3 Arabic text it seems to be working with UTF8 character codes.