Analytics
4.1K members online now
4.1K members online now
Ask questions about filter set-up and issues with using filters in Google Analytics reports
 
Guide Me
star_border
Reply

Please help in case of filters

Explorer ✭ ✭ ✭
# 1
Explorer ✭ ✭ ✭

Hello All,

Suppose I have many urls like below:

/myaacount.html?mode=vieworder
/myaacount.html?mode=orderactivity
/myaacount.html?mode=vieworderdetails
/myaacount.html?mode=viewordersummary


Like this in my website.

Now i want to create a filter which only capture the value after my main url

like

?mode=vieworder
?mode=orderactivity

Can u please help me out to write this filter with regular expression in the way that i can see both the original url /myaacount.html seesions and the rest of its variations sessions?

1 Expert replyverified_user

Please help in case of filters

Follower ✭ ✭ ☆
# 2
Follower ✭ ✭ ☆

Hey,

RegEx:

matching only /myaacount.html :

(\/myaacount.html)$

 

-> Url ends with /myaacount.html

 

matching only the others
(\/myaacount.html\?mode=)

 

-> containing /myaacount.html?mode=

 

best regards

Please help in case of filters

Top Contributor
# 3
Top Contributor

It sounds like you're asking for both the base file AND the query parameters.

 

Are you looking to get a URL schema such as:

/account/vieworderdetails 

 

?

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

Please help in case of filters

Explorer ✭ ✭ ✭
# 4
Explorer ✭ ✭ ✭

If i want to do this,what should be the approach?