Using Google Analytics, I'm trying to create a "supported browsers" segment using the Conditions section, but the boolean order of operations isn't occurring as expected. A simple example is below.
AND usually takes precendence over
OR, so I'd expect my segment above to be interpreted as
(Safari AND v10) OR (Chrome AND v57), which would allow me to include a number of Browser/Version combinations.
However, it seems like that's not the case, here. I believe this because:
- My results zero out with the segment configured as pictured, but if I remove either the first or fourth clause, I'll get results. This is consistent with my filters being interpreted as
Safari AND (v10 OR Chrome) AND v57, such that
Safari AND (v10 OR Chrome)and
(v10 OR Chrome) AND v57both return results.
- The horizontal line by each
ANDoperator seems to divide the clauses as described above.
OR-precedence doesn't make any sense to me, since the "Add Filter" button already allows the user to add additional clauses which would be equivalent to an
AND, allowing the user to choose
OR-precedence if they needed to. As it is, there seems to be no way to construct an