Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Allow "OR" when building a segment using the "matches" operator

Avatar

Avatar
Boost 50
Level 5
dreisch-wiley
Level 5

Likes

101 likes

Total Posts

61 posts

Correct Reply

1 solution
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Level 5
dreisch-wiley
Level 5

Likes

101 likes

Total Posts

61 posts

Correct Reply

1 solution
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
dreisch-wiley
Level 5

23-02-2015

At least once a week, I'll get a request from a client or colleague asking for metrics on a specific set of product IDs/page IDs/object keys. Or, we'll release a feature on our platform that impacts a subset of products (by ID) and I'll want to make a segment.

 

Currently, my two options are:

  • Drag a container into the segment builder for every.single.object and use "exact" matches (this is a grand waste of time and makes report performance sluggish)
  • Use the "contains any of", list every ID out delimited by a space, and hope that my IDs don't partially match other IDs (like "123" matching "12345")

 

What I would prefer:

Use the "matches" operator and list every criteria out, pipe-delimited: "123|124|150|180"

 

Right now, the "matches" operator allows for wildcards:

https://marketing.adobe.com/resources/help/en_US/analytics/segment/seg_operators.html

Why not show regex a little love and support "or" operators, too? Or go whole hog and allow for regular expressions? This has been a feature of GA since the day they allowed you to filter a report. 

9 Comments

Avatar

Avatar
Boost 50
Level 4
larry_he5
Level 4

Likes

90 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 4
larry_he5
Level 4

Likes

90 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
larry_he5
Level 4

19-04-2015

I can't agree witch you more. The regular expressions should be allowd in "match" operator.

Avatar

Avatar
Boost 50
Level 8
benjamingaines2
Level 8

Likes

271 likes

Total Posts

874 posts

Correct Reply

0 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
Level 8
benjamingaines2
Level 8

Likes

271 likes

Total Posts

874 posts

Correct Reply

0 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
benjamingaines2
Level 8

20-04-2015

Thanks for the idea and comments. This isn't something we're currently planning to do in the near term, but we'll keep an eye on this for votes and comments, and reevaluate if necessary.

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

02-06-2016

In the current segment builder, dragging two containers next to each other has three operators: 'AND', 'OR', and 'THEN'. The 'OR' operator allows the exact segment above to be created.

Avatar

Avatar
Contributor
Level 3
GaMeur1
Level 3

Likes

22 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back
Ignite 1
Validate 1
View profile

Avatar
Contributor
Level 3
GaMeur1
Level 3

Likes

22 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back
Ignite 1
Validate 1
View profile
GaMeur1
Level 3

23-10-2017

I wonder what you recommend in case the number of different values is larger... Let's say we want to filter on 100 IDs or 1000 IDs... Would you recommend to make 100 or 1000  "OR" statements? It's not possible to manage it manually each time! So the response to this idea is not properly delivered.

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

25-10-2017

Create a classification, and create a segment based on the classification. If the ID's have a pattern, you can use the rule builder; if there is no pattern, you can use the classification uploader.

Once you have the classification in place to identify the ID's in question, create a segment where the only criteria is to match the classification value, and you're done.

Avatar

Avatar
Establish
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile

Avatar
Establish
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile
hyderziaee
Employee

25-10-2017

You can also use "contains any of" as the condition.

This takes space as a delimiter for the different values. So if used, will act as an OR condition between all 100 or 100 IDs inserted.

Avatar

Avatar
Contributor
Level 3
GaMeur1
Level 3

Likes

22 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back
Ignite 1
Validate 1
View profile

Avatar
Contributor
Level 3
GaMeur1
Level 3

Likes

22 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back
Ignite 1
Validate 1
View profile
GaMeur1
Level 3

25-10-2017

Ok, I see. Classification should do it. BUT allow "OR" inside the matches operator, or have some kind of "equals any of" operator would really be better. That's the point of this submitted idea!

Because classification is not perfect in this case:

- if you have a lot of different segments you want to build (based on different IDs), you'll need a LOT of different classifications...

- if you have new IDs that are created, they won't be in your current classification (in case that you don't have pattern and have to use classification uploader), so it implies that you must update the classification, which is not as easy and quick than copy and paste list of IDs in a segment...

For me, classification is just a workaround here.

Avatar

Avatar
Contributor
Level 3
GaMeur1
Level 3

Likes

22 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back
Ignite 1
Validate 1
View profile

Avatar
Contributor
Level 3
GaMeur1
Level 3

Likes

22 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back
Ignite 1
Validate 1
View profile
GaMeur1
Level 3

25-10-2017

No, you can't if an ID is included in another one... For exemple, if you say " ID contains any of  23 45 67" it will match 23, 45 and 67 but also 12345, 678 1067, etc... so it's not what we want.

Avatar

Avatar
Establish
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile

Avatar
Establish
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile
hyderziaee
Employee

25-10-2017

Yes, you are correct about that GaMeur1​. There are limitations to it.