Expand my Community achievements bar.

SOLVED

Creating a Segment for a Group of domains

Avatar

Level 1

I would like create a custom segment that includes only traffic from a group of specific domains.

What is the best way to do that. It does not appear there is an option RegEx option as there is in the advance filters.

Thanks,

ml

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Mike,

You can build a segment that captures all traffic from a group of any domains using multiple condition containers separated by OR statements within your segment build. RegEx logic is not supported in the segment builder at this time and all logic conditions have to be selected via the drop down options. For example:

All Visits where :

Referring Domain equals X

OR

Referring Domain equals Y

Best,

Brian

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi Mike,

You can build a segment that captures all traffic from a group of any domains using multiple condition containers separated by OR statements within your segment build. RegEx logic is not supported in the segment builder at this time and all logic conditions have to be selected via the drop down options. For example:

All Visits where :

Referring Domain equals X

OR

Referring Domain equals Y

Best,

Brian

Avatar

Level 3

Hi,

I wonder what you recommend in case the number of different values is bigger... Let's say we want to filter on 100 referring domains... Would you recommend to make 100 "OR statements"? It's not possible to do that each time we need it!

I would recommend to use "contains any of" and make a list. The only limitation here is that it's not exact matches, so we may have trouble in case of ids for example (as "123" will match "123" and "1234"), but it could be OK for referring domains.