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

Adding multiple regex filters? (limit 255 char problem)

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi, 

I need to include several different urls into one string but I'm reaching the 255 char. limit. Is there any way around this? If I split it into several filters won't it first filter out the first urls and then not continue?

 

Thanks / Niklas

1 Expert replyverified_user

Re: Adding multiple regex filters? (limit 255 char problem)

Top Contributor
# 2
Top Contributor
Hi Niklas :-)
Are they exclude or include filters?
Filters are applied in the order they are assigned. Multiple exclude filters is not unusual, however multiple include filters do not usually work unless each one is for a different filter field.
If you post your regex, then someone here may be able to help you optimize/whittle it down further
Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: Adding multiple regex filters? (limit 255 char problem)

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi,
It's an include filter since I'm selecting multiple urls across several sites. Here is the regex

/(water\-waste\-treatment|su\-ve\-atik\-artima|ciscenje\-vode\-in\-obdelava\-odpadkov|water\-and\-waste\-treatment|vann\--og\-avfallsbehandling|abwasserbehandlung|tratamiento\-de\-agua\-y\-residuos|jateveden\-kasittely|vand\-og\-affaldsbehandling|tratamiento\-de\-aguas\-y\-residuos)(/|$)

Don't get why they have a 255 char limit or not an option to do a "and".

/ Niklas