Skip to main content
A conditional block is one group of filters in the audience builder, labelled A, B, C and so on down the screen. Each block draws its conditions from a single attribute type — profile attributes, events, calculated attributes, identifiers, consent, marketing preferences and more — and the operator you set between two blocks decides how their results combine into the final audience. This page walks through a worked example of three blocks joined by AND, so you can predict who qualifies before you save. Two neighbouring topics are covered elsewhere: for what each operator does to each data type, see Work with operators, and for how a NOT block differs from the Does Not Exist condition, see NOT logic vs. Does Not Exist.

What this is

A block is self-contained. It is evaluated on its own, and only then is its result combined with the blocks around it. So an operator means something slightly different depending on where it sits.
Where a definition mixes AND and OR, make the grouping explicit rather than relying on the order the blocks sit in. Keep the conditions that belong together inside one block — you can add up to five nested blocks — so that “the customer’s city is Bangalore, and they are either over 21 or male” is one block holding a nested pair rather than three blocks in a row. See Create an audience.

Before you begin

  • You are creating or editing an audience in the audience builder. For the end-to-end flow, see Create an audience.
  • The attributes you want to filter on — Gender, pageView and checkout in the example below — are mapped in your catalogue. For what each attribute type holds, see Apply attributes to your audience.
  • You have decided which operator connects each pair of blocks. For the full operator reference, see Work with operators.

Build the blocks

Suppose you want to reach male customers who performed both the pageView and the checkout event in the last 10 days. Build it as three blocks joined by AND — one for the gender filter and one for each event:

Block A — gender is Male

In block A, set Customers who to have profile attributes, then add the condition Gender Equal Male.
Conditional block A in the audience builder, set to Customers who have profile attributes, holding a single condition that reads Gender Equal Male, with the AND/OR toggle set to AND beside it and links to add an attribute or a nested block below.

Block B — pageView in the last 10 days

In block B, set Customers who to have performed an event, set Event Name to Equal pageView, then set the time window to Within the last 10 Days.
Conditional block B, set to Customers who have performed an event, with Event Name Equal to pageView and the row beneath it reading has performed pageView Within the last 10 Days.

Block C — checkout in the last 10 days

In block C, set Customers who to have performed an event again, set Event Name to Equal checkout, then set the same Within the last 10 Days window.
Conditional block C, set to Customers who have performed an event, with Event Name Equal to checkout and the row beneath it reading has performed checkout Within the last 10 Days.
Set the operator between A and B to AND, and the operator joining that pair to C to AND. The definition now reads ((A AND B) AND C): a customer qualifies only when all three blocks match.

Work out who qualifies

Walk a small sample through the definition before you save it. Take four users with the following data: Only User 1 and User 3 qualify: they match block A, block B and block C. User 2 fails both block A and block C. User 4 fails block A alone, and one failed block is enough to disqualify a customer when the blocks are joined by AND.
A three-circle Venn diagram labelled Gender: Male, Event 1: pageView and Event 2: Checkout. The pageView circle holds Users 1 to 4, the Checkout circle holds Users 1, 3 and 4, the Male circle holds Users 1 and 3, and the overlap at the centre is labelled Result: User 1 and User 3.
Changing one operator changes the answer for the same four users. Set the operator between A and B to OR and the definition becomes ((A OR B) AND C), which qualifies User 1, User 3 and User 4 — User 4 now only has to match one of the first two blocks, and the pageView event in block B is enough.

Verify the count in the builder

Once the blocks are in place, click Refresh to recalculate the estimated audience size, then click Check Estimates to see the unique customer count your definition reaches against your total customer base. Both options are available for batch audiences only: a real-time audience applies its criteria to future events rather than to past ones, so there is no historical set to size. For the estimate panel and what the identifier breakdown means, see Create an audience. The estimate covers the whole definition rather than one block at a time, so to see what a single block contributes, remove it, run Check Estimates again, and compare the two counts. The block whose removal moves the count the most is the one driving the result.

Troubleshoot unexpected counts

Match what you see to a row below before you rebuild the definition. If the estimate does not return or fails outright, contact Zeotap Support with the audience name, the blocks you have configured and the operators between them.

Next steps

Last modified on November 12, 2026